aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/xfce4-media
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2006-06-12 15:10:37 +0800
committeritetcu <itetcu@FreeBSD.org>2006-06-12 15:10:37 +0800
commitf1e6483c080f37a796b88a0f41908c3da99cdd4c (patch)
treefc852c8409d74eca58f858d2a3825fa3141d5619 /multimedia/xfce4-media
parent9724e884111abc6e025da62f6ca68f20b9033b69 (diff)
downloadfreebsd-ports-gnome-f1e6483c080f37a796b88a0f41908c3da99cdd4c.tar.gz
freebsd-ports-gnome-f1e6483c080f37a796b88a0f41908c3da99cdd4c.tar.zst
freebsd-ports-gnome-f1e6483c080f37a796b88a0f41908c3da99cdd4c.zip
- add possibility for metadata editing using taglib
- fix plist PR: ports/98791 Submitted by: maintainer
Diffstat (limited to 'multimedia/xfce4-media')
-rw-r--r--multimedia/xfce4-media/Makefile13
-rw-r--r--multimedia/xfce4-media/pkg-plist2
2 files changed, 14 insertions, 1 deletions
diff --git a/multimedia/xfce4-media/Makefile b/multimedia/xfce4-media/Makefile
index 7eeda600fa37..8aaacf8e024d 100644
--- a/multimedia/xfce4-media/Makefile
+++ b/multimedia/xfce4-media/Makefile
@@ -20,6 +20,8 @@ LIB_DEPENDS= xfcegui4.3:${PORTSDIR}/x11-toolkits/libxfce4gui \
xine.15:${PORTSDIR}/multimedia/libxine \
exo-0.3.0:${PORTSDIR}/x11/libexo
+OPTIONS= TAGLIB "Enable metadata editing" off
+
USE_BZIP2= yes
USE_GETOPT_LONG=yes
USE_GETTEXT= yes
@@ -33,8 +35,17 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
INSTALLS_SHLIB= yes
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_TAGLIB)
+LIB_DEPENDS+= tag.5:${PORTSDIR}/audio/taglib
+CONFIGURE_ARGS= --with-taglib
+.else
+CONFIGURE_ARGS= --without-taglib
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g" \
${WRKSRC}/xfmedia/Makefile.in
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/multimedia/xfce4-media/pkg-plist b/multimedia/xfce4-media/pkg-plist
index 972638b63b7b..b4507553a223 100644
--- a/multimedia/xfce4-media/pkg-plist
+++ b/multimedia/xfce4-media/pkg-plist
@@ -8,6 +8,8 @@ include/xfmedia/xfmedia-plugin.h
include/xfmedia/xfmedia-remote-client.h
include/xfmedia/xfmedia-remote-common.h
include/xfmedia/xfmedia-settings.h
+lib/xfmedia/plugins/xfmedia-infopipe.a
+lib/xfmedia/plugins/xfmedia-infopipe.la
lib/xfmedia/plugins/xfmedia-infopipe.so
libdata/pkgconfig/xfmedia-plugin.pc
share/applications/xfmedia.desktop