ports/106570: [PATCH] Let Amarok work with MTP (libmtp)

pesho.petrov at gmail.com pesho.petrov at gmail.com
Sun Dec 10 18:50:15 UTC 2006

>Number:         106570
>Category:       ports
>Synopsis:       [PATCH] Let Amarok work with MTP (libmtp)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 10 18:50:03 GMT 2006
>Originator:     Petar Zhivkov Petrov
>Release:        FreeBSD 6.1-STABLE i386
Toilet Inc.
System: FreeBSD znode8219921148 6.1-STABLE FreeBSD 6.1-STABLE #7: Sun Aug 20 09:01:50 EEST 2006 root@:/usr/obj/usr/src/sys/MOBI i386

This change will let FreeBSD's port of Amarok work with MTP devices. Amarok works with MTP devices using libmtp. The library was recently ported for FreeBSD.


diff -Naur amarok/Makefile amarok_new/Makefile
--- amarok/Makefile	Thu Dec  7 19:17:42 2006
+++ amarok_new/Makefile	Sun Dec 10 20:09:21 2006
@@ -31,6 +31,7 @@
 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 \
@@ -63,6 +64,14 @@
 LIB_DEPENDS+=	njb.6:${PORTSDIR}/audio/libnjb
+.if !defined(WITH_MTP)
+PLIST_SUB+=	MTP="@comment "
+LIB_DEPENDS+=	mtp.3:${PORTSDIR}/audio/libmtp
 .if !defined(WITH_XMMS)
diff -Naur amarok/pkg-plist amarok_new/pkg-plist
--- amarok/pkg-plist	Wed Nov  8 16:25:40 2006
+++ amarok_new/pkg-plist	Sun Dec 10 19:15:20 2006
@@ -29,6 +29,9 @@


More information about the freebsd-ports-bugs mailing list