- Chase libplist shlib version bump.

- Disable unsupported Mono bindings.
This commit is contained in:
Alberto Villa 2015-06-11 15:09:27 +00:00
parent 1fd64ca33a
commit 00b5ccc5af
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=389225
2 changed files with 14 additions and 7 deletions

View File

@ -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>

View File

@ -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