diff options
author | jmmv <jmmv@pkgsrc.org> | 2006-01-18 12:44:00 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2006-01-18 12:44:00 +0000 |
commit | 5cbcfbb9dadb96a3a261e94f73d8c266acf43245 (patch) | |
tree | 2778145e81c274bac6cb238b5ac96ed84209f993 /multimedia/gstreamer0.8 | |
parent | ceff89b43cee0486ae4bf76f1705f9fc47e04af8 (diff) | |
download | pkgsrc-5cbcfbb9dadb96a3a261e94f73d8c266acf43245.tar.gz |
Rename gstreamer, gst-plugins and gst-plugins-* to gstreamer0.8,
gst-plugins0.8 and gst-plugins0.8-* respectively. This is to leave room
for gstreamer 0.10 (which will be added with versioned names too, to avoid
annoying renames in the future).
While here, do some changes:
- Make gstreamer0.8 use the alternatives system to provide the unversioned
gst-* utilities.
- Rename all internal variables to have 0.8 in them to make it clear which
package they belong to.
Diffstat (limited to 'multimedia/gstreamer0.8')
-rw-r--r-- | multimedia/gstreamer0.8/ALTERNATIVES | 10 | ||||
-rw-r--r-- | multimedia/gstreamer0.8/DESCR | 4 | ||||
-rw-r--r-- | multimedia/gstreamer0.8/Makefile | 54 | ||||
-rw-r--r-- | multimedia/gstreamer0.8/PLIST | 213 | ||||
-rw-r--r-- | multimedia/gstreamer0.8/buildlink3.mk | 27 | ||||
-rw-r--r-- | multimedia/gstreamer0.8/distinfo | 7 | ||||
-rw-r--r-- | multimedia/gstreamer0.8/files/plugins.tmpl | 32 | ||||
-rw-r--r-- | multimedia/gstreamer0.8/patches/patch-aa | 13 | ||||
-rw-r--r-- | multimedia/gstreamer0.8/patches/patch-ab | 14 | ||||
-rw-r--r-- | multimedia/gstreamer0.8/plugins.mk | 31 |
10 files changed, 405 insertions, 0 deletions
diff --git a/multimedia/gstreamer0.8/ALTERNATIVES b/multimedia/gstreamer0.8/ALTERNATIVES new file mode 100644 index 00000000000..2fd0052adf0 --- /dev/null +++ b/multimedia/gstreamer0.8/ALTERNATIVES @@ -0,0 +1,10 @@ +bin/gst-complete @PREFIX@/bin/gst-complete-0.8 +bin/gst-compprep @PREFIX@/bin/gst-compprep-0.8 +bin/gst-feedback @PREFIX@/bin/gst-feedback-0.8 +bin/gst-inspect @PREFIX@/bin/gst-inspect-0.8 +bin/gst-launch @PREFIX@/bin/gst-launch-0.8 +bin/gst-md5sum @PREFIX@/bin/gst-md5sum-0.8 +bin/gst-register @PREFIX@/bin/gst-register-0.8 +bin/gst-typefind @PREFIX@/bin/gst-typefind-0.8 +bin/gst-xmlinspect @PREFIX@/bin/gst-xmlinspect-0.8 +bin/gst-xmllaunch @PREFIX@/bin/gst-xmllaunch-0.8 diff --git a/multimedia/gstreamer0.8/DESCR b/multimedia/gstreamer0.8/DESCR new file mode 100644 index 00000000000..c24228a771d --- /dev/null +++ b/multimedia/gstreamer0.8/DESCR @@ -0,0 +1,4 @@ +GStreamer is a framework for streaming media. The fundamental design comes +from the video pipeline at Oregon Graduate Institute, as well as some ideas +from DirectMedia. It's based on plug-ins that will provide the various +codecs and other functionality. diff --git a/multimedia/gstreamer0.8/Makefile b/multimedia/gstreamer0.8/Makefile new file mode 100644 index 00000000000..e974eb50ccb --- /dev/null +++ b/multimedia/gstreamer0.8/Makefile @@ -0,0 +1,54 @@ +# $NetBSD: Makefile,v 1.1 2006/01/18 12:44:04 jmmv Exp $ +# + +DISTNAME= gstreamer-0.8.11 +PKGNAME= ${DISTNAME:S/gstreamer/gstreamer0.8/} +CATEGORIES= multimedia +MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gstreamer/0.8/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= rh@NetBSD.org +HOMEPAGE= http://www.gstreamer.net/ +COMMENT= Open source multimedia framework + +CONFLICTS+= gstreamer-[0-9]* + +BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison + +GNU_CONFIGURE= yes +USE_PKGLOCALEDIR= yes +USE_LIBTOOL= yes +USE_TOOLS+= gmake perl pkg-config + +CONFIGURE_ARGS+= --disable-plugin-builddir +CONFIGURE_ARGS+= --localstatedir=${GST0.8_DBDIR} +CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc +CONFIGURE_ENV+= ac_cv_path_PYTHON=${PYTHONBIN:Q} +CONFIGURE_ARGS+= HAVE_GTK_DOC=no + +PKGCONFIG_OVERRIDE+= pkgconfig/gstreamer-control.pc.in +PKGCONFIG_OVERRIDE+= pkgconfig/gstreamer.pc.in + +REQD_DIRS+= ${GST0.8_DBDIR} + +PYTHON_VERSIONS_ACCEPTED= 24 23 22 + +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "NetBSD" +# We must have a glib2 compiled with the RTLD_GLOBAL fix; if not, plugins +# won't work at all. +BUILDLINK_DEPENDS.glib2+= glib2>=2.4.0nb1 +.endif +.undef f + +.include "../../devel/glib2/buildlink3.mk" +.include "../../devel/libgnomeui/buildlink3.mk" +.include "../../devel/popt/buildlink3.mk" +.include "../../lang/python/application.mk" +_GSTREAMER0.8_NO_DEPEND= # defined +.include "../../multimedia/gstreamer0.8/plugins.mk" +.include "../../textproc/libxml2/buildlink3.mk" +.include "../../textproc/libxslt/buildlink3.mk" +.include "../../mk/x11.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/multimedia/gstreamer0.8/PLIST b/multimedia/gstreamer0.8/PLIST new file mode 100644 index 00000000000..c2ad2ea6c93 --- /dev/null +++ b/multimedia/gstreamer0.8/PLIST @@ -0,0 +1,213 @@ +@comment $NetBSD: PLIST,v 1.1 2006/01/18 12:44:04 jmmv Exp $ +bin/gst-complete-0.8 +bin/gst-compprep-0.8 +bin/gst-feedback-0.8 +bin/gst-inspect-0.8 +bin/gst-launch-0.8 +bin/gst-md5sum-0.8 +bin/gst-register-0.8 +bin/gst-typefind-0.8 +bin/gst-xmlinspect-0.8 +bin/gst-xmllaunch-0.8 +include/gstreamer-0.8/gst/bytestream/adapter.h +include/gstreamer-0.8/gst/bytestream/bytestream.h +include/gstreamer-0.8/gst/bytestream/filepad.h +include/gstreamer-0.8/gst/control/control.h +include/gstreamer-0.8/gst/control/dparam.h +include/gstreamer-0.8/gst/control/dparam_smooth.h +include/gstreamer-0.8/gst/control/dparamcommon.h +include/gstreamer-0.8/gst/control/dparammanager.h +include/gstreamer-0.8/gst/control/dplinearinterp.h +include/gstreamer-0.8/gst/control/unitconvert.h +include/gstreamer-0.8/gst/dataprotocol/dataprotocol.h +include/gstreamer-0.8/gst/getbits/getbits.h +include/gstreamer-0.8/gst/gst.h +include/gstreamer-0.8/gst/gstatomic.h +include/gstreamer-0.8/gst/gstbin.h +include/gstreamer-0.8/gst/gstbuffer.h +include/gstreamer-0.8/gst/gstcaps.h +include/gstreamer-0.8/gst/gstchildproxy.h +include/gstreamer-0.8/gst/gstclock.h +include/gstreamer-0.8/gst/gstcompat.h +include/gstreamer-0.8/gst/gstconfig.h +include/gstreamer-0.8/gst/gstcpu.h +include/gstreamer-0.8/gst/gstdata.h +include/gstreamer-0.8/gst/gstelement.h +include/gstreamer-0.8/gst/gstenumtypes.h +include/gstreamer-0.8/gst/gsterror.h +include/gstreamer-0.8/gst/gstevent.h +include/gstreamer-0.8/gst/gstfilter.h +include/gstreamer-0.8/gst/gstformat.h +include/gstreamer-0.8/gst/gstindex.h +include/gstreamer-0.8/gst/gstinfo.h +include/gstreamer-0.8/gst/gstinterface.h +include/gstreamer-0.8/gst/gstmacros.h +include/gstreamer-0.8/gst/gstmarshal.h +include/gstreamer-0.8/gst/gstmemchunk.h +include/gstreamer-0.8/gst/gstobject.h +include/gstreamer-0.8/gst/gstpad.h +include/gstreamer-0.8/gst/gstparse.h +include/gstreamer-0.8/gst/gstpipeline.h +include/gstreamer-0.8/gst/gstplugin.h +include/gstreamer-0.8/gst/gstpluginfeature.h +include/gstreamer-0.8/gst/gstprobe.h +include/gstreamer-0.8/gst/gstquery.h +include/gstreamer-0.8/gst/gstqueue.h +include/gstreamer-0.8/gst/gstregistry.h +include/gstreamer-0.8/gst/gstregistrypool.h +include/gstreamer-0.8/gst/gstscheduler.h +include/gstreamer-0.8/gst/gststructure.h +include/gstreamer-0.8/gst/gstsystemclock.h +include/gstreamer-0.8/gst/gsttag.h +include/gstreamer-0.8/gst/gsttaginterface.h +include/gstreamer-0.8/gst/gstthread.h +include/gstreamer-0.8/gst/gsttrace.h +include/gstreamer-0.8/gst/gsttrashstack.h +include/gstreamer-0.8/gst/gsttypefind.h +include/gstreamer-0.8/gst/gsttypes.h +include/gstreamer-0.8/gst/gsturi.h +include/gstreamer-0.8/gst/gsturitype.h +include/gstreamer-0.8/gst/gstutils.h +include/gstreamer-0.8/gst/gstvalue.h +include/gstreamer-0.8/gst/gstversion.h +include/gstreamer-0.8/gst/gstxml.h +lib/gstreamer-0.8/libgstbasicgthreadscheduler.la +lib/gstreamer-0.8/libgstbasicomegascheduler.la +lib/gstreamer-0.8/libgstbytestream.la +lib/gstreamer-0.8/libgstdataprotocol.la +lib/gstreamer-0.8/libgstelements.la +lib/gstreamer-0.8/libgstentrygthreadscheduler.la +lib/gstreamer-0.8/libgstentryomegascheduler.la +lib/gstreamer-0.8/libgstfairgthreadscheduler.la +lib/gstreamer-0.8/libgstgetbits.la +lib/gstreamer-0.8/libgstindexers.la +lib/gstreamer-0.8/libgstoptgthreadscheduler.la +lib/gstreamer-0.8/libgstoptomegascheduler.la +lib/gstreamer-0.8/libgstoptscheduler.la +lib/gstreamer-0.8/libgstspider.la +lib/libgstcontrol-0.8.la +lib/libgstreamer-0.8.la +lib/pkgconfig/gstreamer-0.8.pc +lib/pkgconfig/gstreamer-control-0.8.pc +man/man1/gst-complete-0.8.1 +man/man1/gst-compprep-0.8.1 +man/man1/gst-feedback-0.8.1 +man/man1/gst-inspect-0.8.1 +man/man1/gst-launch-0.8.1 +man/man1/gst-md5sum-0.8.1 +man/man1/gst-register-0.8.1 +man/man1/gst-typefind-0.8.1 +man/man1/gst-xmlinspect-0.8.1 +man/man1/gst-xmllaunch-0.8.1 +share/aclocal/gst-element-check-0.8.m4 +share/doc/gstreamer-0.8/GstBin.html +share/doc/gstreamer-0.8/GstClock.html +share/doc/gstreamer-0.8/GstElement.html +share/doc/gstreamer-0.8/GstElementFactory.html +share/doc/gstreamer-0.8/GstGhostPad.html +share/doc/gstreamer-0.8/GstImplementsInterface.html +share/doc/gstreamer-0.8/GstIndex.html +share/doc/gstreamer-0.8/GstIndexFactory.html +share/doc/gstreamer-0.8/GstObject.html +share/doc/gstreamer-0.8/GstPad.html +share/doc/gstreamer-0.8/GstPadTemplate.html +share/doc/gstreamer-0.8/GstPipeline.html +share/doc/gstreamer-0.8/GstPluginFeature.html +share/doc/gstreamer-0.8/GstQueue.html +share/doc/gstreamer-0.8/GstRealPad.html +share/doc/gstreamer-0.8/GstRegistry.html +share/doc/gstreamer-0.8/GstScheduler.html +share/doc/gstreamer-0.8/GstSchedulerFactory.html +share/doc/gstreamer-0.8/GstTagSetter.html +share/doc/gstreamer-0.8/GstThread.html +share/doc/gstreamer-0.8/GstTypeFindFactory.html +share/doc/gstreamer-0.8/GstXML.html +share/doc/gstreamer-0.8/api-index.html +share/doc/gstreamer-0.8/gstreamer-0.8.devhelp +share/doc/gstreamer-0.8/gstreamer-Gst.html +share/doc/gstreamer-0.8/gstreamer-GstAtomic.html +share/doc/gstreamer-0.8/gstreamer-GstBuffer.html +share/doc/gstreamer-0.8/gstreamer-GstCPU.html +share/doc/gstreamer-0.8/gstreamer-GstCaps.html +share/doc/gstreamer-0.8/gstreamer-GstCompat.html +share/doc/gstreamer-0.8/gstreamer-GstData.html +share/doc/gstreamer-0.8/gstreamer-GstElementDetails.html +share/doc/gstreamer-0.8/gstreamer-GstEvent.html +share/doc/gstreamer-0.8/gstreamer-GstFilter.html +share/doc/gstreamer-0.8/gstreamer-GstFormat.html +share/doc/gstreamer-0.8/gstreamer-GstGError.html +share/doc/gstreamer-0.8/gstreamer-GstInfo.html +share/doc/gstreamer-0.8/gstreamer-GstMacros.html +share/doc/gstreamer-0.8/gstreamer-GstMemChunk.html +share/doc/gstreamer-0.8/gstreamer-GstParse.html +share/doc/gstreamer-0.8/gstreamer-GstPlugin.html +share/doc/gstreamer-0.8/gstreamer-GstProbe.html +share/doc/gstreamer-0.8/gstreamer-GstQuery.html +share/doc/gstreamer-0.8/gstreamer-GstRegistryPool.html +share/doc/gstreamer-0.8/gstreamer-GstStructure.html +share/doc/gstreamer-0.8/gstreamer-GstSystemClock.html +share/doc/gstreamer-0.8/gstreamer-GstTagList.html +share/doc/gstreamer-0.8/gstreamer-GstTypeFind.html +share/doc/gstreamer-0.8/gstreamer-GstTypes.html +share/doc/gstreamer-0.8/gstreamer-GstUriHandler.html +share/doc/gstreamer-0.8/gstreamer-GstUriType.html +share/doc/gstreamer-0.8/gstreamer-GstUtils.html +share/doc/gstreamer-0.8/gstreamer-GstValue.html +share/doc/gstreamer-0.8/gstreamer-GstVersion.html +share/doc/gstreamer-0.8/gstreamer-compat.html +share/doc/gstreamer-0.8/gstreamer-gstconfig.html +share/doc/gstreamer-0.8/gstreamer-hierarchy.html +share/doc/gstreamer-0.8/gstreamer-support.html +share/doc/gstreamer-0.8/gstreamer.html +share/doc/gstreamer-0.8/index.html +share/doc/gstreamer-0.8/index.sgml +share/doc/gstreamer-0.8/style.css +share/doc/gstreamer-libs-0.8/GstDParam.html +share/doc/gstreamer-libs-0.8/GstDParamLinInterp.html +share/doc/gstreamer-libs-0.8/GstDParamManager.html +share/doc/gstreamer-libs-0.8/GstDParamSmooth.html +share/doc/gstreamer-libs-0.8/GstUnitConvert.html +share/doc/gstreamer-libs-0.8/api-index.html +share/doc/gstreamer-libs-0.8/gstreamer-control.html +share/doc/gstreamer-libs-0.8/gstreamer-libs-0.8.devhelp +share/doc/gstreamer-libs-0.8/gstreamer-libs-GstControl.html +share/doc/gstreamer-libs-0.8/gstreamer-libs-gstbytestream.html +share/doc/gstreamer-libs-0.8/gstreamer-libs-gstdataprotocol.html +share/doc/gstreamer-libs-0.8/gstreamer-libs-gstgetbits.html +share/doc/gstreamer-libs-0.8/gstreamer-libs-hierarchy.html +share/doc/gstreamer-libs-0.8/gstreamer-libs.html +share/doc/gstreamer-libs-0.8/index.html +share/doc/gstreamer-libs-0.8/index.sgml +${PKGLOCALEDIR}/locale/af/LC_MESSAGES/gstreamer-0.8.mo +${PKGLOCALEDIR}/locale/az/LC_MESSAGES/gstreamer-0.8.mo +${PKGLOCALEDIR}/locale/ca/LC_MESSAGES/gstreamer-0.8.mo +${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/gstreamer-0.8.mo +${PKGLOCALEDIR}/locale/de/LC_MESSAGES/gstreamer-0.8.mo +${PKGLOCALEDIR}/locale/en_GB/LC_MESSAGES/gstreamer-0.8.mo +${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/gstreamer-0.8.mo +${PKGLOCALEDIR}/locale/it/LC_MESSAGES/gstreamer-0.8.mo +${PKGLOCALEDIR}/locale/nb/LC_MESSAGES/gstreamer-0.8.mo +${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/gstreamer-0.8.mo +${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/gstreamer-0.8.mo +${PKGLOCALEDIR}/locale/sq/LC_MESSAGES/gstreamer-0.8.mo +${PKGLOCALEDIR}/locale/sr/LC_MESSAGES/gstreamer-0.8.mo +${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/gstreamer-0.8.mo +${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/gstreamer-0.8.mo +${PKGLOCALEDIR}/locale/uk/LC_MESSAGES/gstreamer-0.8.mo +${PKGLOCALEDIR}/locale/vi/LC_MESSAGES/gstreamer-0.8.mo +@dirrm share/doc/gstreamer-libs-0.8 +@exec ${MKDIR} %D/share/doc/gstreamer-${PKGVERSION}/pwg +@dirrm share/doc/gstreamer-${PKGVERSION}/pwg +@exec ${MKDIR} %D/share/doc/gstreamer-${PKGVERSION}/manual +@dirrm share/doc/gstreamer-${PKGVERSION}/manual +@exec ${MKDIR} %D/share/doc/gstreamer-${PKGVERSION}/faq +@dirrm share/doc/gstreamer-${PKGVERSION}/faq +@dirrm share/doc/gstreamer-${PKGVERSION} +@dirrm share/doc/gstreamer-0.8 +@dirrm lib/gstreamer-0.8 +@dirrm include/gstreamer-0.8/gst/getbits +@dirrm include/gstreamer-0.8/gst/dataprotocol +@dirrm include/gstreamer-0.8/gst/control +@dirrm include/gstreamer-0.8/gst/bytestream +@dirrm include/gstreamer-0.8/gst +@dirrm include/gstreamer-0.8 diff --git a/multimedia/gstreamer0.8/buildlink3.mk b/multimedia/gstreamer0.8/buildlink3.mk new file mode 100644 index 00000000000..b0c9266afb3 --- /dev/null +++ b/multimedia/gstreamer0.8/buildlink3.mk @@ -0,0 +1,27 @@ +# $NetBSD: buildlink3.mk,v 1.1 2006/01/18 12:44:04 jmmv Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +GSTREAMER0.8_BUILDLINK3_MK:= ${GSTREAMER0.8_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= gstreamer0.8 +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngstreamer0.8} +BUILDLINK_PACKAGES+= gstreamer0.8 + +.if !empty(GSTREAMER0.8_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.gstreamer0.8+= gstreamer0.8>=0.8.11 +BUILDLINK_PKGSRCDIR.gstreamer0.8?= ../../multimedia/gstreamer0.8 + +PRINT_PLIST_AWK+= /^@dirrm (include|lib)\/gstreamer-0.8(\/gst)?$$/ \ + { print "@comment in gstreamer0.8: " $$0; next; } +.endif # GSTREAMER0.8_BUILDLINK3_MK + +.include "../../devel/glib2/buildlink3.mk" +.include "../../devel/libgnomeui/buildlink3.mk" +.include "../../devel/popt/buildlink3.mk" +.include "../../textproc/libxml2/buildlink3.mk" +.include "../../textproc/libxslt/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/multimedia/gstreamer0.8/distinfo b/multimedia/gstreamer0.8/distinfo new file mode 100644 index 00000000000..f9e16856582 --- /dev/null +++ b/multimedia/gstreamer0.8/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2006/01/18 12:44:04 jmmv Exp $ + +SHA1 (gstreamer-0.8.11.tar.bz2) = 945b08e68f31f99621ce7c35d7ec3b7ac3e49b1e +RMD160 (gstreamer-0.8.11.tar.bz2) = bb471ba4f4c32bacc26d29efc1cb8577825ce1e9 +Size (gstreamer-0.8.11.tar.bz2) = 1459651 bytes +SHA1 (patch-aa) = 749f788b2639bdffb48cf937aae0520db2ba864f +SHA1 (patch-ab) = bcde1ea5717b45904280ec0492ee3cf04222dff1 diff --git a/multimedia/gstreamer0.8/files/plugins.tmpl b/multimedia/gstreamer0.8/files/plugins.tmpl new file mode 100644 index 00000000000..ea1d38fe4ba --- /dev/null +++ b/multimedia/gstreamer0.8/files/plugins.tmpl @@ -0,0 +1,32 @@ +# $NetBSD: plugins.tmpl,v 1.1 2006/01/18 12:44:04 jmmv Exp $ +# +# Handle registration of GStreamer plugins into the global plugin registry. +# + +GST0_8_COMPPREP="@GST0.8_COMPPREP@" +GST0_8_REGISTER="@GST0.8_REGISTER@" +GST0_8_DBDIR="@GST0.8_DBDIR@" + +case ${STAGE} in +POST-INSTALL) + ${GST0_8_REGISTER} --gst-registry=${GST0_8_DBDIR}/registry.xml \ + >/dev/null + ${GST0_8_COMPPREP} --gst-registry=${GST0_8_DBDIR}/registry.xml \ + >/dev/null + ;; +DEINSTALL) + if [ "${PKGBASE}" = gstreamer0.8 ]; then + ${RM} -f ${GST0_8_DBDIR}/compreg.xml ${GST0_8_DBDIR}/registry.xml + fi + ;; +POST-DEINSTALL) + if [ "${PKGBASE}" != gstreamer0.8 ]; then + ${GST0_8_REGISTER} --gst-registry=${GST0_8_DBDIR}/registry.xml \ + >/dev/null + ${GST0_8_COMPPREP} --gst-registry=${GST0_8_DBDIR}/registry.xml \ + >/dev/null + fi + ;; +*) + ;; +esac diff --git a/multimedia/gstreamer0.8/patches/patch-aa b/multimedia/gstreamer0.8/patches/patch-aa new file mode 100644 index 00000000000..8312e8ec7cc --- /dev/null +++ b/multimedia/gstreamer0.8/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2006/01/18 12:44:04 jmmv Exp $ + +--- configure.orig 2004-03-16 12:31:54.000000000 +0100 ++++ configure +@@ -24079,7 +24079,7 @@ fi; + if test "x$PLUGINS_USE_BUILDDIR" = "xyes"; then + GST_CACHE_DIR=`pwd` + else +- GST_CACHE_DIR=${localstatedir}/cache/gstreamer-$GST_MAJORMINOR ++ GST_CACHE_DIR=${localstatedir} + fi + + # Check whether --with-cachedir or --without-cachedir was given. diff --git a/multimedia/gstreamer0.8/patches/patch-ab b/multimedia/gstreamer0.8/patches/patch-ab new file mode 100644 index 00000000000..ed9d2bceca0 --- /dev/null +++ b/multimedia/gstreamer0.8/patches/patch-ab @@ -0,0 +1,14 @@ +$NetBSD: patch-ab,v 1.1 2006/01/18 12:44:04 jmmv Exp $ + +--- tools/Makefile.in.orig 2005-09-04 13:30:21.000000000 +0200 ++++ tools/Makefile.in +@@ -41,8 +41,7 @@ POST_UNINSTALL = : + build_triplet = @build@ + host_triplet = @host@ + target_triplet = @target@ +-bin_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2) $(am__EXEEXT_3) \ +- $(am__EXEEXT_4) $(am__EXEEXT_5) $(am__EXEEXT_6) ++bin_PROGRAMS = $(am__EXEEXT_2) $(am__EXEEXT_4) $(am__EXEEXT_6) + subdir = tools + DIST_COMMON = README $(noinst_HEADERS) $(srcdir)/Makefile.am \ + $(srcdir)/Makefile.in diff --git a/multimedia/gstreamer0.8/plugins.mk b/multimedia/gstreamer0.8/plugins.mk new file mode 100644 index 00000000000..8682a73bec5 --- /dev/null +++ b/multimedia/gstreamer0.8/plugins.mk @@ -0,0 +1,31 @@ +# $NetBSD: plugins.mk,v 1.1 2006/01/18 12:44:04 jmmv Exp $ +# +# This Makefile fragment is intended to be included by packages that install +# GStreamer modules. It takes care of rebuilding the corresponding databases +# at (de)installation time. +# + +.if !defined(GSTREAMER0.8_PLUGINS_MK) +GSTREAMER0.8_PLUGINS_MK= # defined + +GST0.8_DBDIR= ${BUILDLINK_PREFIX.gstreamer0.8}/libdata/gstreamer-0.8 +GST0.8_COMPPREP= ${BUILDLINK_PREFIX.gstreamer0.8}/bin/gst-compprep-0.8 +GST0.8_REGISTER= ${BUILDLINK_PREFIX.gstreamer0.8}/bin/gst-register-0.8 + +FILES_SUBST+= GST0.8_DBDIR=${GST0.8_DBDIR:Q} +FILES_SUBST+= GST0.8_COMPPREP=${GST0.8_COMPPREP:Q} +FILES_SUBST+= GST0.8_REGISTER=${GST0.8_REGISTER:Q} +INSTALL_EXTRA_TMPL+= ../../multimedia/gstreamer0.8/files/plugins.tmpl +DEINSTALL_EXTRA_TMPL+= ../../multimedia/gstreamer0.8/files/plugins.tmpl + +PRINT_PLIST_AWK+= /^libdata\/gstreamer-0.8/ { next; } +PRINT_PLIST_AWK+= /^@dirrm libdata\/gstreamer-0.8/ { next; } + +.if defined(_GSTREAMER0.8_NO_DEPEND) +BUILDLINK_PREFIX.gstreamer0.8= ${LOCALBASE} +.else +BUILDLINK_DEPENDS.gstreamer0.8+= gstreamer0.8>=0.8.1 +. include "../../multimedia/gstreamer0.8/buildlink3.mk" +.endif + +.endif # GSTREAMER0.8_PLUGINS_MK |