diff options
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/gstreamer-plugins-core/Makefile | 56 | ||||
-rw-r--r-- | multimedia/gstreamer-plugins-core/pkg-descr | 3 | ||||
-rw-r--r-- | multimedia/gstreamer-plugins/Makefile | 2 | ||||
-rw-r--r-- | multimedia/gstreamer-plugins/Makefile.common | 23 |
4 files changed, 75 insertions, 9 deletions
diff --git a/multimedia/gstreamer-plugins-core/Makefile b/multimedia/gstreamer-plugins-core/Makefile new file mode 100644 index 000000000..da9823b6b --- /dev/null +++ b/multimedia/gstreamer-plugins-core/Makefile @@ -0,0 +1,56 @@ +# 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.10 +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 ogg + +# Graphics plugins +USE_GSTREAMER+= libpng + +# Misc plugins +USE_GSTREAMER+= pango + +# Multimedia plugins +USE_GSTREAMER+= ffmpeg + +.if !defined(WITHOUT_DVD) +# Audio plugins +USE_GSTREAMER+= a52dec +.endif + +pre-everything:: + @${ECHO_MSG} "" + @${ECHO_MSG} " Disable DVD plugins by defining WITHOUT_DVD" + @${ECHO_MSG} "" + +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 diff --git a/multimedia/gstreamer-plugins/Makefile b/multimedia/gstreamer-plugins/Makefile index 42d4507ea..89a0eb7c9 100644 --- a/multimedia/gstreamer-plugins/Makefile +++ b/multimedia/gstreamer-plugins/Makefile @@ -73,6 +73,8 @@ WITHOUT_CPU_CFLAGS= yes .if ${GST_PLUGIN} == "base" INSTALLS_SHLIB= yes MAN1= gst-visualise-0.10.1 +WRKSRC=${WRKDIR}/${BASE_DISTNAME} +EXTRACT_ONLY=${BASE_DISTFILE} PLIST_SUB+= VERSION="${VERSION}" \ SHLIB_VERSION="${SHLIB_VERSION}" .endif diff --git a/multimedia/gstreamer-plugins/Makefile.common b/multimedia/gstreamer-plugins/Makefile.common index 8af35853d..f08d10dc4 100644 --- a/multimedia/gstreamer-plugins/Makefile.common +++ b/multimedia/gstreamer-plugins/Makefile.common @@ -129,7 +129,7 @@ DIST?= good # a52dec .if ${GST_PLUGIN}=="a52dec" LIB_DEPENDS+= a52.0:${PORTSDIR}/audio/liba52 -DIST= bad +DIST= ugly .endif # aalib @@ -149,7 +149,7 @@ LIB_DEPENDS+= cdda_interface.0:${PORTSDIR}/audio/cdparanoia GST_PLUGIN_DIR= gst-libs/gst/cdda \ ext/cdparanoia PLIST_FILES= include/gstreamer-0.10/gst/cdda/gstcddabasesrc.h \ - lib/gstreamer-0.10/libgstcdparanoia.so \ + ${GST_LIB_DIR}/libgstcdparanoia.so \ lib/libgstcdda-0.10.a \ lib/libgstcdda-0.10.so \ lib/libgstcdda-0.10.so.1 @@ -192,7 +192,7 @@ USE_GNOME+= gconf2 GST_PLUGIN_DIR= ext/gconf \ gconf GCONF_SCHEMAS= gstreamer-0.10.schemas -PLIST_FILES= lib/gstreamer-0.10/libgstgconfelements.so +PLIST_FILES= ${GST_LIB_DIR}/libgstgconfelements.so .endif # gnomevfs @@ -246,10 +246,8 @@ DIST= bad # libpng and the snapshot plugin .if ${GST_PLUGIN}=="libpng" LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png -GST_PLUGIN_DIR= ext/libpng \ - ext/snapshot -PLIST_FILES= ${GST_LIB_DIR}/libgstpng.so \ - ${GST_LIB_DIR}/libgstsnapshot.so +GST_PLUGIN_DIR= ext/libpng +PLIST_FILES= ${GST_LIB_DIR}/libgstpng.so .endif # libvisual @@ -280,14 +278,14 @@ DIST= bad # ogg .if ${GST_PLUGIN}=="ogg" LIB_DEPENDS+= ogg.5:${PORTSDIR}/audio/libogg +GST_PLUGIN_DIR= gst-libs/gst/riff \ + ext/ogg DIST= base .endif # pango .if ${GST_PLUGIN}=="pango" USE_GNOME+= pango -PLIST_FILES= ${GST_LIB_DIR}/libgsttextoverlay.so \ - ${GST_LIB_DIR}/libgsttimeoverlay.so DIST= base .endif @@ -318,6 +316,13 @@ LIB_DEPENDS+= speex.3:${PORTSDIR}/audio/speex # theora .if ${GST_PLUGIN}=="theora" LIB_DEPENDS+= theora.1:${PORTSDIR}/multimedia/libtheora +GST_PLUGIN_DIR= gst-libs/gst/tag \ + ext/theora +PLIST_FILES= include/gstreamer-0.10/gst/tag/tag.h \ + ${GST_LIB_DIR}/libgsttheora.so \ + lib/libgsttag-0.10.a \ + lib/libgsttag-0.10.so \ + lib/libgsttag-0.10.so.1 DIST= base .endif |