aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer-plugins80/Makefile
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2003-06-12 06:43:51 +0800
committerlioux <lioux@FreeBSD.org>2003-06-12 06:43:51 +0800
commit99530da37098d17d4bfed577431c22dd21fc4b73 (patch)
treec1e0e4ba2b26d7acfeac2f15073ea3665f6f3013 /multimedia/gstreamer-plugins80/Makefile
parent09021989b2c78945768e8c3222f6b781c0ca3669 (diff)
downloadfreebsd-ports-gnome-99530da37098d17d4bfed577431c22dd21fc4b73.tar.gz
freebsd-ports-gnome-99530da37098d17d4bfed577431c22dd21fc4b73.tar.zst
freebsd-ports-gnome-99530da37098d17d4bfed577431c22dd21fc4b73.zip
Update to 0.6.2
Diffstat (limited to 'multimedia/gstreamer-plugins80/Makefile')
-rw-r--r--multimedia/gstreamer-plugins80/Makefile31
1 files changed, 25 insertions, 6 deletions
diff --git a/multimedia/gstreamer-plugins80/Makefile b/multimedia/gstreamer-plugins80/Makefile
index 0f90ef27f608..fbbeb75ca403 100644
--- a/multimedia/gstreamer-plugins80/Makefile
+++ b/multimedia/gstreamer-plugins80/Makefile
@@ -6,11 +6,11 @@
#
PORTNAME= gstreamer
-PORTVERSION= 0.6.1
-PORTREVISION= 1
+PORTVERSION= 0.6.2
CATEGORIES= multimedia audio
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+#MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+#MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= http://gstreamer.net/releases/${PORTVERSION}/src/
PKGNAMESUFFIX= -plugins
DISTNAME= gst-plugins-${PORTVERSION}
@@ -18,7 +18,7 @@ MAINTAINER= lioux@FreeBSD.org
COMMENT= GStreamer written collection of plugins handling several media types
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
-LIB_DEPENDS= gstreamer-0.6.0:${PORTSDIR}/multimedia/gstreamer \
+LIB_DEPENDS= gstreamer-0.6.1:${PORTSDIR}/multimedia/gstreamer \
popt.0:${PORTSDIR}/devel/popt \
USE_X_PREFIX= yes
@@ -57,7 +57,7 @@ SDL_CONFIG?="${LOCALBASE}/bin/sdl11-config"
XMMS_CONFIG?="${LOCALBASE}/bin/xmms-config"
# library minor number
-SHLIB_VERSION= 0
+SHLIB_VERSION= 1
post-patch:
# as of this writing, FreeBSD does not support lrint* C99 math functions
@@ -138,6 +138,11 @@ WITH_ARTS=yes
WITH_AVIFILE=yes
.endif
+# cdparanoia
+.if exists(${LOCALBASE}/lib/libcdda_paranoia.a)
+WITH_CDPARANOIA=yes
+.endif
+
# esound
.if (${HAVE_GNOME:Mesound}!="")
WITH_ESOUND=yes
@@ -304,6 +309,16 @@ LIB_DEPENDS+= aviplay.0:${PORTSDIR}/multimedia/avifile
PLIST_SUB+= AVIFILE=""
.endif
+# cdparanoia
+.ifndef(WITH_CDPARANOIA)
+CONFIGURE_ARGS+= --disable-cdparanoia
+PLIST_SUB+= CDPARANOIA="@comment "
+.else
+LIB_DEPENDS+= cdda_interface.0:${PORTSDIR}/audio/cdparanoia
+
+PLIST_SUB+= CDPARANOIA=""
+.endif
+
# esound
.ifndef(WITH_ESOUND)
CONFIGURE_ARGS+= --disable-esd \
@@ -605,6 +620,10 @@ pre-everything::
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_AVIFILE to enable avifile Video plugin'
.endif
+.ifndef(WITH_CDPARANOIA)
+ @${ECHO_MSG} '===>'
+ @${ECHO_MSG} '===> Define WITH_CDPARANOIA to enable cdparanoia Audio plugin'
+.endif
.ifndef(WITH_ESOUND)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_ESOUND to enable esound Audio plugin'