more plugins, these ones termed `poor quality' by the gstreamer people,

but sometimes useful...
This commit is contained in:
espie 2007-01-11 18:12:36 +00:00
parent 0ae3599b90
commit 1f55826faf
16 changed files with 204 additions and 0 deletions

View File

@ -0,0 +1,94 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/01/11 18:12:36 espie Exp $
COMMENT-main= "multimedia framework - plugins bad"
COMMENT-tremor= "multimedia framework - tremor plugin"
COMMENT-musepack= "multimedia framework - musepack plugin"
COMMENT-faac= "multimedia framework - faac plugin"
COMMENT-faad= "multimedia framework - faad plugin"
COMMENT-xvid= "multimedia framework - xvid plugin"
V= 0.10.4
DISTNAME= gst-plugins-bad-$V
PKGNAME-main= gstreamer-plugins-bad-$V
PKGNAME-tremor= gstreamer-tremor-$V
PKGNAME-musepack= gstreamer-musepack-$V
PKGNAME-faac= gstreamer-faac-$V
PKGNAME-faad= gstreamer-faad-$V
PKGNAME-xvid= gstreamer-xvid-$V
MULTI_PACKAGES= -main -tremor -musepack -faac -faad -xvid
MASTER_SITES= ${MASTER_SITE_GST:=gst-plugins-bad/}
MODULES= devel/gettext
WANTLIB= glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0 xml2 \
z m
LIB_DEPENDS= gstreamer-0.10:gstreamer->=0.10:multimedia/gstreamer-0.10/core
RUN_DEPENDS= ::${BUILD_PKGPATH}
WANTLIB-main= ${WANTLIB} \
GL ICE SM X11 stdc++ \
gstbase-0.10 gstcontroller-0.10
LIB_DEPENDS-main= ${LIB_DEPENDS} \
gstaudio-0.10,gstinterfaces-0.10,gstvideo-0.10,gstriff-0.10::multimedia/gstreamer-0.10/plugins-base
RUN_DEPENDS-main=
WANTLIB-tremor= ${WANTLIB} \
gstbase-0.10
LIB_DEPENDS-tremor= ${LIB_DEPENDS} \
gstaudio-0.10,gstinterfaces-0.10::multimedia/gstreamer-0.10/plugins-base \
vorbisidec::audio/tremor
WANTLIB-musepack= ${WANTLIB}
LIB_DEPENDS-musepack= ${LIB_DEPENDS} \
mpcdec::audio/libmpcdec
WANTLIB-faac= ${WANTLIB} \
gstbase-0.10
LIB_DEPENDS-faac= ${LIB_DEPENDS} \
gstaudio-0.10,gstinterfaces-0.10::multimedia/gstreamer-0.10/plugins-base \
faac::audio/faac
WANTLIB-faad= ${WANTLIB} \
gstbase-0.10
LIB_DEPENDS-faad= ${LIB_DEPENDS} \
gstaudio-0.10,gstinterfaces-0.10::multimedia/gstreamer-0.10/plugins-base \
faad::audio/faad
WANTLIB-xvid= ${WANTLIB}
LIB_DEPENDS-xvid= ${LIB_DEPENDS} \
xvidcore::multimedia/xvidcore
CONFIGURE_ARGS= --disable-bz2 \
--disable-cdaudio \
--disable-gsm \
--disable-ladspa \
--disable-sdl \
CONFIGURE_ARGS+= --disable-alsa \
--disable-amrwb \
--disable-directfb \
--disable-divx \
--disable-dts \
--disable-jack \
--disable-libmms \
--disable-mpeg2enc \
--disable-musicbrainz \
--disable-neon \
--disable-soundtouch \
--disable-spc \
--disable-swfdec \
--disable-theoradec \
--disable-wavpack \
--disable-dvb
# --disable-ivorbis \
# --disable-musepack \
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
MD5 (gst-plugins-bad-0.10.4.tar.bz2) = 2e57395cdf72733477fb328f1fa3f053
RMD160 (gst-plugins-bad-0.10.4.tar.bz2) = d59e78c7594c94bc1e59aa5841afe424024710bd
SHA1 (gst-plugins-bad-0.10.4.tar.bz2) = 6e73f612cfd72675b1e5b5eb378b9620b62d4946
SIZE (gst-plugins-bad-0.10.4.tar.bz2) = 1231000

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-common_m4_as-python_m4,v 1.1.1.1 2007/01/11 18:12:36 espie Exp $
--- common/m4/as-python.m4.orig Mon Jan 20 19:05:46 2003
+++ common/m4/as-python.m4 Wed Jan 10 11:28:24 2007
@@ -40,8 +40,7 @@ AC_DEFUN([AS_PATH_PYTHON],
dnl in 1.5, and I don't want to maintain that logic.
dnl should we do the version check?
- PYTHON_CANDIDATES="python python2.2 python2.1 python2.0 python2 \
- python1.6 python1.5"
+ PYTHON_CANDIDATES="python$MODPY_VERSION"
ifelse([$1],[],
[AC_PATH_PROG(PYTHON, $PYTHON_CANDIDATES)],
[

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-m4_gettext_m4,v 1.1.1.1 2007/01/11 18:12:36 espie Exp $
--- m4/gettext.m4.orig Sun Dec 17 20:29:32 2006
+++ m4/gettext.m4 Wed Jan 10 11:27:57 2007
@@ -315,8 +315,12 @@ return (int) gettext ("")]ifelse([$2], [
])
dnl For backward compatibility. Some Makefiles may be using this.
- INTLLIBS="$LIBINTL"
+ INTLLIBS="$LTLIBINTL"
AC_SUBST(INTLLIBS)
+
+ dnl Let's cheat
+ LIBICONV="$LTLIBICONV"
+ LIBINTL="$LTLIBINTL"
dnl Make all documented variables known to autoconf.
AC_SUBST(LIBINTL)

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST-faac,v 1.1.1.1 2007/01/11 18:12:36 espie Exp $
lib/gstreamer-${VERSION}/libgstfaac.la
lib/gstreamer-${VERSION}/libgstfaac.so

View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PLIST-faad,v 1.1.1.1 2007/01/11 18:12:36 espie Exp $
@option no-default-conflict
@conflict gstreamer-faad->=0.10
lib/gstreamer-${VERSION}/libgstfaad.la
lib/gstreamer-${VERSION}/libgstfaad.so

View File

@ -0,0 +1,55 @@
@comment $OpenBSD: PLIST-main,v 1.1.1.1 2007/01/11 18:12:36 espie Exp $
lib/gstreamer-${VERSION}/libgstcdxaparse.la
lib/gstreamer-${VERSION}/libgstcdxaparse.so
lib/gstreamer-${VERSION}/libgstdeinterlace.la
lib/gstreamer-${VERSION}/libgstdeinterlace.so
lib/gstreamer-${VERSION}/libgstfilter.la
lib/gstreamer-${VERSION}/libgstfilter.so
lib/gstreamer-${VERSION}/libgstfreeze.la
lib/gstreamer-${VERSION}/libgstfreeze.so
lib/gstreamer-${VERSION}/libgstglimagesink.la
lib/gstreamer-${VERSION}/libgstglimagesink.so
lib/gstreamer-${VERSION}/libgsth264parse.la
lib/gstreamer-${VERSION}/libgsth264parse.so
lib/gstreamer-${VERSION}/libgstmodplug.la
lib/gstreamer-${VERSION}/libgstmodplug.so
lib/gstreamer-${VERSION}/libgstmultifile.la
lib/gstreamer-${VERSION}/libgstmultifile.so
lib/gstreamer-${VERSION}/libgstnsf.la
lib/gstreamer-${VERSION}/libgstnsf.so
lib/gstreamer-${VERSION}/libgstnuvdemux.la
lib/gstreamer-${VERSION}/libgstnuvdemux.so
lib/gstreamer-${VERSION}/libgstqtdemux.la
lib/gstreamer-${VERSION}/libgstqtdemux.so
lib/gstreamer-${VERSION}/libgstreplaygain.la
lib/gstreamer-${VERSION}/libgstreplaygain.so
lib/gstreamer-${VERSION}/libgstrfbsrc.la
lib/gstreamer-${VERSION}/libgstrfbsrc.so
lib/gstreamer-${VERSION}/libgstspectrum.la
lib/gstreamer-${VERSION}/libgstspectrum.so
lib/gstreamer-${VERSION}/libgstspeed.la
lib/gstreamer-${VERSION}/libgstspeed.so
lib/gstreamer-${VERSION}/libgsttta.la
lib/gstreamer-${VERSION}/libgsttta.so
lib/gstreamer-${VERSION}/libgstvideocrop.la
lib/gstreamer-${VERSION}/libgstvideocrop.so
lib/gstreamer-${VERSION}/libgstvideoparse.la
lib/gstreamer-${VERSION}/libgstvideoparse.so
lib/gstreamer-${VERSION}/libgstxingheader.la
lib/gstreamer-${VERSION}/libgstxingheader.so
lib/gstreamer-${VERSION}/libgsty4menc.la
lib/gstreamer-${VERSION}/libgsty4menc.so
share/locale/af/LC_MESSAGES/gst-plugins-bad-${VERSION}.mo
share/locale/az/LC_MESSAGES/gst-plugins-bad-${VERSION}.mo
share/locale/cs/LC_MESSAGES/gst-plugins-bad-${VERSION}.mo
share/locale/en_GB/LC_MESSAGES/gst-plugins-bad-${VERSION}.mo
share/locale/hu/LC_MESSAGES/gst-plugins-bad-${VERSION}.mo
share/locale/it/LC_MESSAGES/gst-plugins-bad-${VERSION}.mo
share/locale/nb/LC_MESSAGES/gst-plugins-bad-${VERSION}.mo
share/locale/nl/LC_MESSAGES/gst-plugins-bad-${VERSION}.mo
share/locale/or/LC_MESSAGES/gst-plugins-bad-${VERSION}.mo
share/locale/sq/LC_MESSAGES/gst-plugins-bad-${VERSION}.mo
share/locale/sr/LC_MESSAGES/gst-plugins-bad-${VERSION}.mo
share/locale/sv/LC_MESSAGES/gst-plugins-bad-${VERSION}.mo
share/locale/uk/LC_MESSAGES/gst-plugins-bad-${VERSION}.mo
share/locale/vi/LC_MESSAGES/gst-plugins-bad-${VERSION}.mo

View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PLIST-musepack,v 1.1.1.1 2007/01/11 18:12:36 espie Exp $
@option no-default-conflict
@conflict gstreamer-musepack->=0.10
lib/gstreamer-${VERSION}/libgstmusepack.la
lib/gstreamer-${VERSION}/libgstmusepack.so

View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PLIST-tremor,v 1.1.1.1 2007/01/11 18:12:36 espie Exp $
@option no-default-conflict
@conflict gstreamer-tremor->=0.10
lib/gstreamer-${VERSION}/libgstivorbis.la
lib/gstreamer-${VERSION}/libgstivorbis.so

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST-xvid,v 1.1.1.1 2007/01/11 18:12:36 espie Exp $
lib/gstreamer-${VERSION}/libgstxvid.la
lib/gstreamer-${VERSION}/libgstxvid.so