- enable MTP support ; from brad@

- move license marker toward beginning of Makefile while here and add
PORTHOME=${WRKDIR} to reduce spam output
This commit is contained in:
ajacoutot 2008-05-27 14:39:00 +00:00
parent 87ec5be0f7
commit 6e163b3cbd
2 changed files with 26 additions and 16 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.27 2008/04/28 00:39:10 sthen Exp $
# $OpenBSD: Makefile,v 1.28 2008/05/27 14:39:00 ajacoutot Exp $
CATEGORIES= audio x11 x11/kde
COMMENT= music player for KDE
@ -7,8 +7,15 @@ HOMEPAGE= http://amarok.kde.org/
V= 1.4.9.1
MASTER_SITES= ${MASTER_SITE_KDE:=stable/amarok/$V/src/}
DISTNAME= amarok-$V
PKGNAME= ${DISTNAME}p0
EXTRACT_SUFX= .tar.bz2
# GPLv2/LGPLv2/GFDL
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
FLAVORS= debug
RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils
@ -20,7 +27,8 @@ LIB_DEPENDS+= lib/qt3/qt-mt.>=3.33::x11/qt3 \
sqlite3::databases/sqlite3 \
gpod::audio/libgpod \
njb::audio/libnjb \
ruby::lang/ruby
ruby::lang/ruby \
mtp::devel/libmtp
WANTLIB= stdc++ Xext Xrender z X11 Xau Xdmcp util m SM c \
pthread ICE idn expat fontconfig freetype \
@ -32,7 +40,7 @@ WANTLIB= stdc++ Xext Xrender z X11 Xau Xdmcp util m SM c \
SHARED_LIBS += amarok 0.0 # .0.0
SHARED_LIBS += http11 0.0 # .0.0
MODULES= x11/kde
MODULES= x11/kde
MODKDE_VERSION= 3.5.7
CONFIGURE_STYLE= autoconf
AUTOCONF_VERSION= 2.61
@ -41,18 +49,14 @@ USE_GMAKE= Yes
CONFIGURE_ENV+= ${MODKDE_CONFIGURE_ENV}
MAKE_ENV= ${CONFIGURE_ENV}
MAKE_FLAGS+= ${MODKDE_MAKE_FLAGS}
PORTHOME= ${WRKDIR}
CONFIGURE_ARGS+= --without-arts \
--without-opengl --without-gstreamer \
--with-xine --without-included-sqlite \
--without-xmms \
--without-libmtp \
--without-musicbrainz
# GPLv2/LGPL v2/GFDL
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
CONFIGURE_ARGS+= --with-xine \
--without-arts \
--without-gstreamer \
--without-included-sqlite \
--without-musicbrainz \
--without-opengl \
--without-xmms
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.10 2007/12/16 00:04:27 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.11 2008/05/27 14:39:00 ajacoutot Exp $
bin/amarok
bin/amarok_daapserver.rb
bin/amarok_proxy.rb
@ -14,6 +14,8 @@ ${KDE}/libamarok_ipod-mediadevice.la
${KDE}/libamarok_ipod-mediadevice.so
${KDE}/libamarok_massstorage-device.la
${KDE}/libamarok_massstorage-device.so
${KDE}/libamarok_mtp-mediadevice.la
${KDE}/libamarok_mtp-mediadevice.so
${KDE}/libamarok_nfs-device.la
${KDE}/libamarok_nfs-device.so
${KDE}/libamarok_njb-mediadevice.la
@ -699,6 +701,7 @@ share/doc/HTML/es/amarok/analyzer.png
share/doc/HTML/es/amarok/browser_choice.png
share/doc/HTML/es/amarok/buttons.png
share/doc/HTML/es/amarok/collection.png
share/doc/HTML/es/amarok/common
share/doc/HTML/es/amarok/config.docbook
share/doc/HTML/es/amarok/config_appearance.png
share/doc/HTML/es/amarok/config_collection.png
@ -716,6 +719,8 @@ share/doc/HTML/es/amarok/dynamic_settings.png
share/doc/HTML/es/amarok/equalizer.png
share/doc/HTML/es/amarok/faq.docbook
share/doc/HTML/es/amarok/file_browser.png
share/doc/HTML/es/amarok/index.cache.bz2
share/doc/HTML/es/amarok/index.docbook
share/doc/HTML/es/amarok/logo.png
share/doc/HTML/es/amarok/media_device.png
share/doc/HTML/es/amarok/menubar.png
@ -1110,6 +1115,7 @@ share/services/amarok_daap-mediadevice.desktop
share/services/amarok_generic-mediadevice.desktop
share/services/amarok_ipod-mediadevice.desktop
share/services/amarok_massstorage-device.desktop
share/services/amarok_mtp-mediadevice.desktop
share/services/amarok_nfs-device.desktop
share/services/amarok_njb-mediadevice.desktop
share/services/amarok_smb-device.desktop