aboutsummaryrefslogtreecommitdiff
path: root/multimedia/xfce4-parole
diff options
context:
space:
mode:
authorBen Woods <woodsb02@FreeBSD.org>2018-03-01 23:05:40 +0000
committerBen Woods <woodsb02@FreeBSD.org>2018-03-01 23:05:40 +0000
commit04246574f6fa06b4627e0a16134ad56ec092e030 (patch)
tree6a39b324be6b2aa06f3b29347a314fe5deae3f46 /multimedia/xfce4-parole
parentaecb03691381fc2538552c248d1fd3ef01229da6 (diff)
downloadports-04246574f6fa06b4627e0a16134ad56ec092e030.tar.gz
ports-04246574f6fa06b4627e0a16134ad56ec092e030.zip
multimedia/xfce4-parole: Remove GST01 and CLUTTER options
- GStreamer 0.10 API has been removed since the 0.9.2 release. - Clutter backend is blacklisted (it induces crash) with Gtk >= 3.22. Inform users that they need to switch to 'xvimagesink' or 'ximagesink' - Add RUN_DEPENDS=devel/xdg-utils, as xdg-screensaver is used to inhibit the screensaver Reported by: Olivier Duchateau <duchateau.olivier@gmail.com>
Notes
Notes: svn path=/head/; revision=463357
Diffstat (limited to 'multimedia/xfce4-parole')
-rw-r--r--multimedia/xfce4-parole/Makefile64
-rw-r--r--multimedia/xfce4-parole/pkg-message13
2 files changed, 28 insertions, 49 deletions
diff --git a/multimedia/xfce4-parole/Makefile b/multimedia/xfce4-parole/Makefile
index a446c372beff..166d793ea5a2 100644
--- a/multimedia/xfce4-parole/Makefile
+++ b/multimedia/xfce4-parole/Makefile
@@ -3,6 +3,7 @@
PORTNAME= parole
PORTVERSION= 1.0.0
+PORTREVISION= 1
CATEGORIES= multimedia xfce
MASTER_SITES= XFCE/src/apps/${PORTNAME}/${PORTVERSION:R}/
DIST_SUBDIR= xfce4
@@ -17,6 +18,7 @@ LIB_DEPENDS= libdbus-1.so:devel/dbus \
libdbus-glib-1.so:devel/dbus-glib \
libnotify.so:devel/libnotify \
libtag.so:audio/taglib
+RUN_DEPENDS= xdg-screensaver:devel/xdg-utils
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
@@ -24,8 +26,10 @@ CONFIGURE_ARGS= --enable-notify-plugin \
--enable-tray-plugin \
--enable-taglib \
--disable-mpris2-plugin \
- --without-html-dir
+ --without-html-dir \
+ --with-gstreamer=1.0
USE_GNOME= cairo gtk30 glib20 intltool intlhack
+USE_GSTREAMER1= core faad flac wavpack rtmp x
USE_XFCE= panel
USE_XORG= ice sm x11
USE_LDCONFIG= yes
@@ -33,56 +37,18 @@ USES= desktop-file-utils gettext-tools gmake libtool pkgconfig \
tar:bzip2 xfce:gtk3
INSTALL_TARGET= install-strip
-OPTIONS_DEFINE= CLUTTER NLS
-OPTIONS_SINGLE= GSTREAMER
-# GST01 (GStreamer 0.10), GST10 (GStreamer 1.0)
-OPTIONS_SINGLE_GSTREAMER= GST01 GST10
-OPTIONS_GROUP= GST_PLUG
+OPTIONS_DEFINE= NLS
+OPTIONS_GROUP= GST_PLUG
OPTIONS_GROUP_GST_PLUG= CDDA HTTP
-# Since 0.5.91 release, GStreamer 1.0 is enabled by default
-OPTIONS_DEFAULT= GST10 HTTP
-CLUTTER_LIB_DEPENDS= libclutter-gst-2.0.so:multimedia/clutter-gst \
- libclutter-gtk-1.0.so:graphics/clutter-gtk3
-CLUTTER_IMPLIES= GST10
-CLUTTER_CONFIGURE_ENABLE= clutter
-NLS_USES= gettext-runtime
-NLS_CONFIGURE_ENABLE= nls
-HTTP_DESC= HTTP streaming (libsoup)
-GST01_DESC= GStreamer 0.10
-GST10_DESC= GStreamer 1.0
-GST_PLUG_DESC= Additional GStreamer plugins
-CLUTTER_DESC= Clutter (OpenGL) backend
-OPTIONS_SUB= yes
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MGST01}
-USE_GSTREAMER= core faad flac wavpack
-CONFIGURE_ARGS+=--with-gstreamer=0.10
-.endif
+OPTIONS_DEFAULT= HTTP
+OPTIONS_SUB= yes
-.if ${PORT_OPTIONS:MGST10}
-USE_GSTREAMER1= core faad flac wavpack rtmp x
-CONFIGURE_ARGS+=--with-gstreamer=1.0
-.endif
-
-.if ${PORT_OPTIONS:MCDDA}
-.if ${PORT_OPTIONS:MGST01}
-USE_GSTREAMER+= cdparanoia
-.endif
-.if ${PORT_OPTIONS:MGST10}
-USE_GSTREAMER1+= cdparanoia
-.endif
-.endif
-
-.if ${PORT_OPTIONS:MHTTP}
-.if ${PORT_OPTIONS:MGST01}
-USE_GSTREAMER+= soup
-.endif
-.if ${PORT_OPTIONS:MGST10}
-USE_GSTREAMER1+= soup
-.endif
-.endif
+CDDA_USE= gstreamer1=cdparanoia
+GST_PLUG_DESC= Additional GStreamer plugins
+HTTP_DESC= HTTP streaming (libsoup)
+HTTP_USE= gstreamer1=soup
+NLS_CONFIGURE_ENABLE= nls
+NLS_USES= gettext-runtime
post-patch:
# Fix .rc files path
diff --git a/multimedia/xfce4-parole/pkg-message b/multimedia/xfce4-parole/pkg-message
new file mode 100644
index 000000000000..b25639fe0023
--- /dev/null
+++ b/multimedia/xfce4-parole/pkg-message
@@ -0,0 +1,13 @@
+------------------------------------------------------------------------
+The Clutter backend has been removed from the multimedia/xfce4-parole
+port, as it induces a crash with Gtk >= 3.22.
+
+If you had manually configured parole to use the Clutter backend, you
+must switch to 'xvimagesink' or 'ximagesink'.
+
+You can use the 'xfconf-query' command in order to change the backend:
+$ xfconf-query -c parole -p /video/videosink -s "xvimagesink"
+You can choose 'xvimagesink' or 'ximagesink'.
+Alternatively you can remove previously specified backend:
+$ xfconf-query -c parole -p /video/videosink -r
+------------------------------------------------------------------------