aboutsummaryrefslogtreecommitdiff
path: root/deskutils/xneur
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2020-11-08 19:50:08 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2020-11-08 19:50:08 +0000
commit7a594deb6b4bb5e88b09818932303d4dd2daba5d (patch)
tree5f19193d3b9cbde3a2e77acc9d2e0bec8feb34fb /deskutils/xneur
parent50965e7909710d5b06ba3dbecac149a6e08c983c (diff)
downloadports-7a594deb6b4bb5e88b09818932303d4dd2daba5d.tar.gz
ports-7a594deb6b4bb5e88b09818932303d4dd2daba5d.zip
In preparation for the removal of gstreamer 0.10
remove the gstreamer sound option in favor of openal.
Notes
Notes: svn path=/head/; revision=554648
Diffstat (limited to 'deskutils/xneur')
-rw-r--r--deskutils/xneur/Makefile22
1 files changed, 6 insertions, 16 deletions
diff --git a/deskutils/xneur/Makefile b/deskutils/xneur/Makefile
index fd27dc10b925..8caafe2ca26e 100644
--- a/deskutils/xneur/Makefile
+++ b/deskutils/xneur/Makefile
@@ -3,6 +3,7 @@
PORTNAME= xneur
PORTVERSION= 0.20.0
+PORTREVISION= 1
DISTVERSIONSUFFIX=.orig
CATEGORIES= deskutils
MASTER_SITES= https://launchpad.net/~andrew-crew-kuznetsov/+archive/xneur-stable/+files/
@@ -37,10 +38,8 @@ USE_LDCONFIG= ${PREFIX}/lib/xneur ${PREFIX}/lib/xneur/xneur
INSTALLS_ICONS= yes
INSTALL_TARGET= install-strip
-OPTIONS_DEFINE= ASPELL XOSD NLS X11
-OPTIONS_DEFAULT= GSTREAMER ASPELL
-OPTIONS_RADIO= SOUND
-OPTIONS_RADIO_SOUND= GSTREAMER OPENAL
+OPTIONS_DEFINE= ASPELL XOSD NLS X11 SOUND
+OPTIONS_DEFAULT= GSTREAMER ASPELL SOUND
XOSD_DESC= Xosd support
OPTIONS_SUB= yes
@@ -58,18 +57,9 @@ ASPELL_CONFIGURE_OFF= --with-spell=no --without-aspell
XOSD_LIB_DEPENDS= libxosd.so:misc/xosd
XOSD_CONFIGURE_WITH= xosd
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MGSTREAMER}
-USE_GSTREAMER= yes
-CONFIGURE_ARGS+= --with-sound=gstreamer
-.elif ${PORT_OPTIONS:MOPENAL}
-USES+= openal:al,alut
-CONFIGURE_ARGS+= --with-sound=openal
-.else
-CONFIGURE_ARGS+= --with-sound=no
-.endif
+SOUND_USES= openal:al,alut
+SOUND_CONFIGURE_ON= --with-sound=openal
+SOUND_CONFIGURE_OFF= --with-sound=no
post-patch:
@${REINPLACE_CMD} -e 's,-Werror,,g; s,-ldl,,g' ${WRKSRC}/configure