aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/gst123/Makefile22
-rw-r--r--multimedia/gst123/distinfo4
2 files changed, 16 insertions, 10 deletions
diff --git a/multimedia/gst123/Makefile b/multimedia/gst123/Makefile
index 25d81820251b..9fe13bc39216 100644
--- a/multimedia/gst123/Makefile
+++ b/multimedia/gst123/Makefile
@@ -1,13 +1,8 @@
-# New ports collection makefile for: gst123
-# Date created: Wed December 8, 2010
-# Whom: Herbert J. Skuhra <h.skuhra@gmail.com>
-#
+# Created by: Herbert J. Skuhra <h.skuhra@gmail.com>
# $FreeBSD$
-#
PORTNAME= gst123
-PORTVERSION= 0.2.1
-PORTREVISION= 1
+PORTVERSION= 0.3.2
CATEGORIES= multimedia
MASTER_SITES= http://space.twc.de/~stefan/gst123/
@@ -20,13 +15,24 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_BZIP2= yes
USE_GNOME= gtk20
-USE_GSTREAMER= good
CONFIGURE_ENV= NCURSES5_CONFIG=/usr/bin/true
LDFLAGS+= -lncurses
PLIST_FILES= bin/${PORTNAME}
MAN1= ${PORTNAME}.1
+OPTIONS_DEFINE= GSTREAMER1
+
+GSTREAMER1_DESC= Multimedia support via GStreamer 1.0 (instead of 0.10)
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MGSTREAMER1} || exists(${LOCALBASE}/libdata/pkgconfig/gstreamer-1.0.pc)
+USE_GSTREAMER1= good
+.else
+USE_GSTREAMER= good
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/docs/${MAN1} ${MANPREFIX}/man/man1
diff --git a/multimedia/gst123/distinfo b/multimedia/gst123/distinfo
index a0ee5f84271c..0ca582730633 100644
--- a/multimedia/gst123/distinfo
+++ b/multimedia/gst123/distinfo
@@ -1,2 +1,2 @@
-SHA256 (gst123-0.2.1.tar.bz2) = 5eb0c63bb75d8f1614cf4a4311a8b4a3a5069833cb0fcca0858ed2936926371a
-SIZE (gst123-0.2.1.tar.bz2) = 106502
+SHA256 (gst123-0.3.2.tar.bz2) = 51033261967da4cf1beb512e156e9f647572689202a1c2aceb8cd2beb427f53d
+SIZE (gst123-0.3.2.tar.bz2) = 112709