# Created by: Martin Wilke # $FreeBSD: head/multimedia/xfce4-parole/Makefile 412348 2016-04-01 14:17:44Z mat $ PORTNAME= parole PORTVERSION= 0.8.1 CATEGORIES= multimedia xfce MASTER_SITES= XFCE/src/apps/${PORTNAME}/${PORTVERSION:R}/ DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Lightweight media player for Xfce4 based on GStreamer LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libtag.so:audio/taglib \ libnotify.so:devel/libnotify \ libdbus-glib-1.so:devel/dbus-glib GNU_CONFIGURE= yes INSTALLS_ICONS= yes CONFIGURE_ARGS= --enable-notify-plugin \ --enable-tray-plugin \ --enable-taglib \ --disable-mpris2-plugin \ --without-html-dir USE_GNOME= gtk30 glib20 intltool intlhack USE_XFCE= panel USE_XORG= x11 sm USE_LDCONFIG= yes 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_GROUP_GST_PLUG= CDDA HTTP # Since 0.5.91 release, GStreamer 1.0 is enabled by default OPTIONS_DEFAULT= GST10 HTTP NLS 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 .if ${PORT_OPTIONS:MGST01} USE_GSTREAMER= core faad flac wavpack CONFIGURE_ARGS+=--with-gstreamer=0.10 .endif .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 post-patch: # Fix .rc files path @${REINPLACE_CMD} -e 's|xfce4/src/misc|${PORTNAME}|g' \ ${WRKSRC}/src/common/parole-rc-utils.h .include