summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/rhythmbox3/Makefile14
-rw-r--r--audio/rhythmbox3/pkg-plist24
2 files changed, 25 insertions, 13 deletions
diff --git a/audio/rhythmbox3/Makefile b/audio/rhythmbox3/Makefile
index 9931e776c..4f98ab59f 100644
--- a/audio/rhythmbox3/Makefile
+++ b/audio/rhythmbox3/Makefile
@@ -3,7 +3,7 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/audio/rhythmbox3/Makefile,v 1.2 2011/06/10 22:59:02 mezz Exp $
+# $MCom: ports/audio/rhythmbox3/Makefile,v 1.3 2011/10/18 13:21:05 kwm Exp $
#
PORTNAME= rhythmbox
@@ -58,6 +58,7 @@ OPTIONS= IPOD "Enable iPod support" off \
MTP "Enable MS Media Transfer Protocol support" off \
WEBKIT "Enable HTML view" off \
ITMS_PLUGIN "Enable iTunes browser plugin" off
+# VISUAL "Enable clutter visualizer plugin" on \
MAN1= rhythmbox-client.1 rhythmbox.1
@@ -149,4 +150,15 @@ CONFIGURE_ARGS+=--without-webkit
PLIST_SUB+= WEBKIT="@comment "
.endif
+#.if defined(WITH_VISUAL)
+#LIB_DEPENDS+= mx-1.0.2:${PORTSDIR}/x11-toolkits/mx \
+# clutter-gtk-1.0.0:${PORTSDIR}/graphics/clutter-gtk3 \
+# clutter-gst-1.0.0:${PORTSDIR}/multimedia/clutter-gst
+#CONFIGURE_ARGS+=--enable-visualizer
+#PLIST_SUB+= VISUAL=""
+#.else
+CONFIGURE_ARGS+=--enable-visualizer=no
+PLIST_SUB+= VISUAL="@comment "
+#.endif
+
.include <bsd.port.mk>
diff --git a/audio/rhythmbox3/pkg-plist b/audio/rhythmbox3/pkg-plist
index f94a9bdc0..c2d4ba177 100644
--- a/audio/rhythmbox3/pkg-plist
+++ b/audio/rhythmbox3/pkg-plist
@@ -232,9 +232,9 @@ lib/rhythmbox/plugins/power-manager/power-manager.plugin
%%PYTHON%%lib/rhythmbox/plugins/sendto/sendto.py
%%PYTHON%%lib/rhythmbox/plugins/sendto/sendto.pyc
%%PYTHON%%lib/rhythmbox/plugins/sendto/sendto.pyo
-lib/rhythmbox/plugins/visualizer/libvisualizer.la
-lib/rhythmbox/plugins/visualizer/libvisualizer.so
-lib/rhythmbox/plugins/visualizer/visualizer.plugin
+%%VISUAL%%lib/rhythmbox/plugins/visualizer/libvisualizer.la
+%%VISUAL%%lib/rhythmbox/plugins/visualizer/libvisualizer.so
+%%VISUAL%%lib/rhythmbox/plugins/visualizer/visualizer.plugin
libdata/pkgconfig/rhythmbox.pc
libexec/rhythmbox-metadata
share/applications/rhythmbox-device.desktop
@@ -702,13 +702,13 @@ share/omf/rhythmbox/rhythmbox-zh_CN.omf
%%MTP%%%%DATADIR%%/plugins/mtpdevice/mtp-info.ui
%%MTP%%%%DATADIR%%/plugins/mtpdevice/mtp-ui.xml
%%PYTHON%%%%DATADIR%%/plugins/replaygain/replaygain-prefs.ui
-%%DATADIR%%/plugins/visualizer/button-active.png
-%%DATADIR%%/plugins/visualizer/button-disabled.png
-%%DATADIR%%/plugins/visualizer/button-focus.png
-%%DATADIR%%/plugins/visualizer/button-hover.png
-%%DATADIR%%/plugins/visualizer/button.png
-%%DATADIR%%/plugins/visualizer/visualizer-box.png
-%%DATADIR%%/plugins/visualizer/visualizer.css
+%%VISUAL%%%%DATADIR%%/plugins/visualizer/button-active.png
+%%VISUAL%%%%DATADIR%%/plugins/visualizer/button-disabled.png
+%%VISUAL%%%%DATADIR%%/plugins/visualizer/button-focus.png
+%%VISUAL%%%%DATADIR%%/plugins/visualizer/button-hover.png
+%%VISUAL%%%%DATADIR%%/plugins/visualizer/button.png
+%%VISUAL%%%%DATADIR%%/plugins/visualizer/visualizer-box.png
+%%VISUAL%%%%DATADIR%%/plugins/visualizer/visualizer.css
%%DATADIR%%/podcast-feed-properties.ui
%%DATADIR%%/podcast-prefs.ui
%%DATADIR%%/podcast-properties.ui
@@ -720,7 +720,7 @@ share/omf/rhythmbox/rhythmbox-zh_CN.omf
%%DATADIR%%/sync-state.ui
%%DATADIR%%/uri-new.ui
%%LIRC%%%%DATADIR%%/plugins/rblirc
-@dirrm %%DATADIR%%/plugins/visualizer
+%%VISUAL%%@dirrm %%DATADIR%%/plugins/visualizer
%%PYTHON%%@dirrm %%DATADIR%%/plugins/replaygain
%%MTP%%@dirrm %%DATADIR%%/plugins/mtpdevice
%%PYTHON%%@dirrm %%DATADIR%%/plugins/lyrics
@@ -792,7 +792,7 @@ share/omf/rhythmbox/rhythmbox-zh_CN.omf
@dirrm share/gnome/help/rhythmbox/C
@dirrm share/gnome/help/rhythmbox
@dirrmtry share/applications
-@dirrm lib/rhythmbox/plugins/visualizer
+%%VISUAL%%@dirrm lib/rhythmbox/plugins/visualizer
%%PYTHON%%@dirrm lib/rhythmbox/plugins/sendto
%%PYTHON%%@dirrm lib/rhythmbox/plugins/replaygain
%%PYTHON%%@dirrm lib/rhythmbox/plugins/rbzeitgeist