summaryrefslogtreecommitdiff
path: root/audio/amarok
diff options
context:
space:
mode:
authorMichael Landin <mich@FreeBSD.org>2006-12-12 10:42:46 +0000
committerMichael Landin <mich@FreeBSD.org>2006-12-12 10:42:46 +0000
commit2f6ec0ecb5f5be412cd66595495d24d8b0a17e42 (patch)
treee166591df4674759ead85705f6aba89b2eddfd83 /audio/amarok
parent- switch depedency from imake-6 to dgs (diff)
- add MTP support [1]
- bump PORTREVISION (forgot in previous commit) PR: ports/106570 [1] Submitted by: Petar Zhivkov Petrov <pesho.petrov@gmail.com> [1]
Notes
Notes: svn path=/head/; revision=179547
Diffstat (limited to 'audio/amarok')
-rw-r--r--audio/amarok/Makefile11
-rw-r--r--audio/amarok/pkg-plist3
2 files changed, 13 insertions, 1 deletions
diff --git a/audio/amarok/Makefile b/audio/amarok/Makefile
index 998108432a29..bee7a57b4b06 100644
--- a/audio/amarok/Makefile
+++ b/audio/amarok/Makefile
@@ -6,7 +6,7 @@
PORTNAME= amarok
PORTVERSION= 1.4.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTNAME}/${PORTVERSION}/src
@@ -31,6 +31,7 @@ USE_LDCONFIG= yes
OPTIONS= GPOD "iPod support" on \
NJB "Creative Nomad and Dell support" on \
+ MTP "MTP device support" on \
XMMS "XMMS visualizations" off \
OPENGL "OpenGL support" on \
AMAZON "Amazon cover fetching support" on \
@@ -65,6 +66,14 @@ CONFIGURE_ARGS+=--with-libnjb
PLIST_SUB+= NJB=""
.endif
+.if !defined(WITH_MTP)
+PLIST_SUB+= MTP="@comment "
+.else
+LIB_DEPENDS+= mtp.3:${PORTSDIR}/audio/libmtp
+CONFIGURE_ARGS+=--with-libmtp
+PLIST_SUB+= MTP=""
+.endif
+
.if !defined(WITH_XMMS)
PLIST_SUB+= XMMS="@comment "
CONFIGURE_ARGS+=--without-xmms
diff --git a/audio/amarok/pkg-plist b/audio/amarok/pkg-plist
index 0120b2d5eae2..a1096c92e3a2 100644
--- a/audio/amarok/pkg-plist
+++ b/audio/amarok/pkg-plist
@@ -29,6 +29,9 @@ lib/kde3/libamarok_smb-device.a
%%NJB%%lib/kde3/libamarok_njb-mediadevice.so
%%NJB%%lib/kde3/libamarok_njb-mediadevice.la
%%NJB%%lib/kde3/libamarok_njb-mediadevice.a
+%%MTP%%lib/kde3/libamarok_mtp-mediadevice.so
+%%MTP%%lib/kde3/libamarok_mtp-mediadevice.la
+%%MTP%%lib/kde3/libamarok_mtp-mediadevice.a
lib/kde3/libamarok_generic-mediadevice.so
lib/kde3/libamarok_generic-mediadevice.la
lib/kde3/libamarok_generic-mediadevice.a