aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer-plugins80
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-09-03 10:46:49 +0800
committerlioux <lioux@FreeBSD.org>2002-09-03 10:46:49 +0800
commitb9ff5234b278e2c336a3e477f772c38288f4fe79 (patch)
treec975fe5cb1e1002a57c6395b81bc96b4864a93bf /multimedia/gstreamer-plugins80
parentbbbbae8b914fbb665c2f9f4e8504c497abe8ebee (diff)
downloadfreebsd-ports-gnome-b9ff5234b278e2c336a3e477f772c38288f4fe79.tar.gz
freebsd-ports-gnome-b9ff5234b278e2c336a3e477f772c38288f4fe79.tar.zst
freebsd-ports-gnome-b9ff5234b278e2c336a3e477f772c38288f4fe79.zip
Deploy USE_GNOMENG infrastructure
PR: 42349 Submitted by: Edwin Groothuis <edwin@mavetju.org>
Diffstat (limited to 'multimedia/gstreamer-plugins80')
-rw-r--r--multimedia/gstreamer-plugins80/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/multimedia/gstreamer-plugins80/Makefile b/multimedia/gstreamer-plugins80/Makefile
index 2e0b1d950ef9..b11bb2c3d377 100644
--- a/multimedia/gstreamer-plugins80/Makefile
+++ b/multimedia/gstreamer-plugins80/Makefile
@@ -41,7 +41,8 @@ INSTALLS_SHLIB= yes
PLIST_SUB= LOCALBASE="${LOCALBASE}"
# for esound detection
-WANT_ESOUND= yes
+USE_GNOMENG= yes
+WANT_GNOME= yes
MAN1= gst-launch-ext.1 gst-visualise.1
@@ -138,7 +139,8 @@ WITH_AVIFILE=yes
# esound
.if exists(${LOCALBASE}/lib/libesd.a)
-WITH_ESOUND=yes
+USE_GNOME+= esound
+PKGNAMESUFFIX= -esound
.endif
# flac
@@ -263,12 +265,13 @@ PLIST_SUB+= AVIFILE=""
.endif
# esound
-.if !(defined(HAVE_ESOUND) || defined(WITH_ESOUND))
+.if !(${HAVE_GNOME:Mesound}!="" || defined(WITH_ESOUND))
CONFIGURE_ARGS+= --disable-esd \
--disable-esdtest
PLIST_SUB+= ESOUND="@comment "
.else
-USE_ESOUND= yes
+USE_GNOME+= esound
+PKGNAMESUFFIX= -esound
CONFIGURE_ARGS+= --with-esd-prefix=${LOCALBASE} \
--with-esd-exec-prefix=${LOCALBASE}
PLIST_SUB+= ESOUND=""
@@ -465,7 +468,7 @@ pre-everything::
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_AVIFILE to enable avifile Video plugin'
.endif
-.if !(defined(HAVE_ESOUND) || defined(WITH_ESOUND))
+.if !(${HAVE_GNOME:Mesound}!="" || defined(WITH_ESOUND))
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_ESOUND to enable esound Audio plugin'
.endif