From 2f6ec0ecb5f5be412cd66595495d24d8b0a17e42 Mon Sep 17 00:00:00 2001 From: Michael Landin Date: Tue, 12 Dec 2006 10:42:46 +0000 Subject: - add MTP support [1] - bump PORTREVISION (forgot in previous commit) PR: ports/106570 [1] Submitted by: Petar Zhivkov Petrov [1] --- audio/amarok-kde4/Makefile | 11 ++++++++++- audio/amarok-kde4/pkg-plist | 3 +++ 2 files changed, 13 insertions(+), 1 deletion(-) (limited to 'audio/amarok-kde4') diff --git a/audio/amarok-kde4/Makefile b/audio/amarok-kde4/Makefile index 998108432a29..bee7a57b4b06 100644 --- a/audio/amarok-kde4/Makefile +++ b/audio/amarok-kde4/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-kde4/pkg-plist b/audio/amarok-kde4/pkg-plist index 0120b2d5eae2..a1096c92e3a2 100644 --- a/audio/amarok-kde4/pkg-plist +++ b/audio/amarok-kde4/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 -- cgit v1.2.3