aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libgpod
diff options
context:
space:
mode:
authoravilla <avilla@FreeBSD.org>2015-06-11 23:09:27 +0800
committeravilla <avilla@FreeBSD.org>2015-06-11 23:09:27 +0800
commita5c40880da561e97c99aefa4992dbdf58587be99 (patch)
tree0eb36b2b61fc32a92ce20b776a5c66dae143398d /audio/libgpod
parentc7bda05c1036697de0c196175d18a693d4fe4c69 (diff)
downloadfreebsd-ports-gnome-a5c40880da561e97c99aefa4992dbdf58587be99.tar.gz
freebsd-ports-gnome-a5c40880da561e97c99aefa4992dbdf58587be99.tar.zst
freebsd-ports-gnome-a5c40880da561e97c99aefa4992dbdf58587be99.zip
- Chase libplist shlib version bump.
- Disable unsupported Mono bindings.
Diffstat (limited to 'audio/libgpod')
-rw-r--r--audio/libgpod/Makefile19
-rw-r--r--audio/libgpod/pkg-descr2
2 files changed, 14 insertions, 7 deletions
diff --git a/audio/libgpod/Makefile b/audio/libgpod/Makefile
index 2bb189b1fe64..b4591a8d9517 100644
--- a/audio/libgpod/Makefile
+++ b/audio/libgpod/Makefile
@@ -3,7 +3,7 @@
PORTNAME= libgpod
PORTVERSION= 0.8.3
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= audio
MASTER_SITES= SF/gtkpod/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}
@@ -25,16 +25,24 @@ CONFIGURE_ARGS= --disable-udev --without-hal \
USE_CSTD= gnu89
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
-OPTIONS_DEFINE= DOCS IMOBILE MONO PYTHON
+OPTIONS_DEFINE= DOCS IMOBILE PYTHON # MONO
OPTIONS_DEFAULT=IMOBILE
OPTIONS_SUB= yes
IMOBILE_DESC= Apple iPhone/iPod Touch support
+IMOBILE_LIB_DEPENDS= libimobiledevice.so:${PORTSDIR}/comms/libimobiledevice
+IMOBILE_CONFIGURE_ENV= LIBUSB_CFLAGS=" " LIBUSB_LIBS="-lusb"
+IMOBILE_CONFIGURE_WITH= libimobiledevice
+
+# Mono 4+ doesn't seem to be supported.
MONO_USE= GNOME=gtksharp20
MONO_CONFIGURE_WITH= mono
+CONFIGURE_ARGS+= --without-mono
+PLIST_SUB+= MONO="@comment "
PYTHON_BUILD_DEPENDS= swig2.0:${PORTSDIR}/devel/swig20 \
${PYTHON_SITELIBDIR}/mutagen/__init__.py:${PORTSDIR}/audio/py-mutagen
@@ -50,10 +58,6 @@ PORTDOCS= ChangeLog NEWS README*
.if ${PORT_OPTIONS:MIMOBILE}
COMMENT:= ${COMMENT:S,iPod,&/iPhone,}
-LIB_DEPENDS+= libimobiledevice.so:${PORTSDIR}/comms/libimobiledevice
-CONFIGURE_ENV+= LIBUSB_CFLAGS=" " LIBUSB_LIBS="-lusb"
-.else
-CONFIGURE_ARGS+=--without-libimobiledevice
.endif
post-patch:
@@ -62,6 +66,9 @@ post-patch:
${WRKSRC}/tools/Makefile.in
post-install:
+.if ! ${PORT_OPTIONS:MMONO}
+ @${RM} ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libgpod-sharp.pc
+.endif
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/audio/libgpod/pkg-descr b/audio/libgpod/pkg-descr
index e9ea7d301510..0f81bd1ffee3 100644
--- a/audio/libgpod/pkg-descr
+++ b/audio/libgpod/pkg-descr
@@ -11,4 +11,4 @@ libgpod supports playlists, smart playlists, playcounts, ratings,
podcasts, cover art, audio and video. Photo support is implemented as
well. Python and Mono bindings are optionally available too.
-WWW: http://www.gtkpod.org/libgpod.html
+WWW: http://www.gtkpod.org/wiki/Libgpod