aboutsummaryrefslogtreecommitdiff
path: root/multimedia/xfce4-media/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/xfce4-media/Makefile')
-rw-r--r--multimedia/xfce4-media/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/multimedia/xfce4-media/Makefile b/multimedia/xfce4-media/Makefile
index 8a549088c9bb..ed555efa0dc5 100644
--- a/multimedia/xfce4-media/Makefile
+++ b/multimedia/xfce4-media/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= xfce4-media
-PORTVERSION= 0.9.1
-PORTREVISION= 3
+PORTVERSION= 0.9.2
CATEGORIES= multimedia xfce
MASTER_SITES= http://spuriousinterrupt.org/files/xfmedia/
DISTNAME= xfmedia-${PORTVERSION}
@@ -21,7 +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
+OPTIONS= TAGLIB "Enable metadata editing" off \
+ DBUS "Enable remote control support" off
USE_BZIP2= yes
USE_GETOPT_LONG=yes
@@ -45,6 +45,13 @@ CONFIGURE_ARGS= --with-taglib
CONFIGURE_ARGS= --without-taglib
.endif
+.if defined(WITH_DBUS)
+LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
+CONFIGURE_ARGS+= --enable-dbus
+.else
+CONFIGURE_ARGS+= --disable-dbus
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g" \
${WRKSRC}/xfmedia/Makefile.in