summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--multimedia/gstreamer-plugins-core/Makefile69
-rw-r--r--multimedia/gstreamer-plugins-core/pkg-descr3
2 files changed, 72 insertions, 0 deletions
diff --git a/multimedia/gstreamer-plugins-core/Makefile b/multimedia/gstreamer-plugins-core/Makefile
new file mode 100644
index 000000000..e19c56a20
--- /dev/null
+++ b/multimedia/gstreamer-plugins-core/Makefile
@@ -0,0 +1,69 @@
+# New ports collection makefile for: gstreamer-plugins-core
+# Date created: 2004-11-15
+# Whom: Michael Johnson <ahze@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+#
+
+PORTNAME= gstreamer-plugins-core
+PORTVERSION= 0.8
+PORTREVISION= 4
+CATEGORIES= multimedia audio
+MASTER_SITES= # empty
+DISTFILES= # empty
+EXTRACT_ONLY= # empty
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Core set of typical audio and video gstreamer-plugins
+
+USE_X_PREFIX= yes
+NO_BUILD= yes
+
+GST_DIR= lib/gstreamer-${PORTVERSION}
+PLIST_FILES= ${GST_DIR}/.gstreamer-plugins-core.keep
+
+WANT_GSTREAMER= yes
+
+.include <bsd.port.pre.mk>
+
+# Audio plugins
+USE_GSTREAMER+= mad vorbis
+
+# Graphics plugins
+USE_GSTREAMER+= libpng
+
+# Misc plugins
+USE_GSTREAMER+= pango
+
+# Multimedia plugins
+USE_GSTREAMER+= ffmpeg
+
+.if ${OSVERSION} > 500035 || defined(WITH_XVID)
+USE_GSTREAMER+= xvid
+.endif
+
+.if !defined(WITHOUT_DVD)
+# Audio plugins
+USE_GSTREAMER+= a52dec
+
+# Multimedia plugins
+USE_GSTREAMER+= dts dvd
+.endif
+
+pre-everything::
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} " Disable DVD plugins by defining WITHOUT_DVD"
+ @${ECHO_MSG} ""
+.if ${OSVERSION} < 500035 && !defined(WITH_XVID)
+ @${ECHO_MSG} " Enable XVID plugins by defining WITH_XVID"
+ @${ECHO_MSG} ""
+.endif
+
+do-install:
+ if [ ! -d ${PREFIX}/${GST_DIR} ]; then \
+ ${MKDIR} ${PREFIX}/${GST_DIR} ; \
+ fi
+ ${TOUCH} -f ${PREFIX}/${GST_DIR}/.gstreamer-plugins-core.keep
+
+.include <bsd.port.post.mk>
diff --git a/multimedia/gstreamer-plugins-core/pkg-descr b/multimedia/gstreamer-plugins-core/pkg-descr
new file mode 100644
index 000000000..90895a218
--- /dev/null
+++ b/multimedia/gstreamer-plugins-core/pkg-descr
@@ -0,0 +1,3 @@
+Meta-port to core "typical" gstreamer-plugins
+
+WWW: http://gstreamer.net