start repackaging into independent packages

This commit is contained in:
espie 2007-01-09 21:33:25 +00:00
parent 8a178d7e87
commit 0d030e5c1e
13 changed files with 139 additions and 38 deletions

View File

@ -1,44 +1,88 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/01/08 17:37:27 espie Exp $
# $OpenBSD: Makefile,v 1.2 2007/01/09 21:33:25 espie Exp $
COMMENT-main= "multimedia framework - plugins good"
COMMENT-main= "multimedia framework - good plugins"
COMMENT-aalib= "multimedia framework - aalib plugin"
COMMENT-cairo= "multimedia framework - cairo plugin"
COMMENT-gconf= "multimedia framework - conf elements"
COMMENT-esd= "multimedia framework - esound plugin"
V= 0.10.5
DISTNAME= gst-plugins-good-$V
PKGNAME-main= gstreamer-plugins-good-$V
PKGNAME-aalib= gstreamer-aalib-$V
PKGNAME-cairo= gstreamer-cairo-$V
PKGNAME-gconf= gstreamer-confelements-$V
PKGNAME-esd= gstreamer-esd-$V
MULTI_PACKAGES= -main
MULTI_PACKAGES= -main -aalib -cairo -gconf -esd
SHARED_LIBS=
MASTER_SITES= ${MASTER_SITE_GST:=gst-plugins-good/}
WANTLIB= m z popt ICE SM X11 Xdamage Xext Xfixes glib-2.0 \
gmodule-2.0 gobject-2.0 gthread-2.0 ossaudio \
ORBit-2 gconf-2
WANTLIB= glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0 \
xml2 m z
# m z popt ICE SM X11 Xdamage Xext Xfixes \
# ORBit-2 gconf-2
MODULES= devel/gettext
LIB_DEPENDS= oil-0.3::devel/liboil \
audiofile::devel/libaudiofile \
esd::audio/esound \
FLAC::audio/flac \
speex::audio/speex \
dv::multimedia/libdv \
xml2::textproc/libxml \
jpeg::graphics/jpeg \
png::graphics/png \
gstreamer-0.10,gstbase-0.10,gstcontroller-0.10:gstreamer->=0.10:multimedia/gstreamer-0.10/core \
LIB_DEPENDS= gstreamer-0.10:gstreamer->=0.10:multimedia/gstreamer-0.10/core
WANTLIB-main= ${WANTLIB} \
ICE SM X11 Xdamage Xext Xfixes ossaudio \
gstcontroller-0.10 gstbase-0.10
LIB_DEPENDS-main= ${LIB_DEPENDS} \
oil-0.3::devel/liboil \
gstaudio-0.10,gstinterfaces-0.10,gstnetbuffer-0.10,gstriff-0.10,gstrtp-0.10,gsttag-0.10,gstvideo-0.10::multimedia/gstreamer-0.10/plugins-base
WANTLIB-aalib= ${WANTLIB} \
X11 ncurses gstbase-0.10
LIB_DEPENDS-aalib= ${LIB_DEPENDS} \
aa::graphics/aalib
CONFIGURE_ARGS+= --disable-aalib \
--disable-cairo \
WANTLIB-cairo= ${WANTLIB} \
X11 Xext Xrender fontconfig freetype \
glitz png gstbase-0.10
LIB_DEPENDS-cairo= ${LIB_DEPENDS} \
cairo::graphics/cairo
WANTLIB-gconf= ${WANTLIB} \
ORBit-2 popt
LIB_DEPENDS-gconf= ${LIB_DEPENDS} \
gconf-2::devel/gconf2
WANTLIB-esd= ${WANTLIB} \
audiofile gstbase-0.10
LIB_DEPENDS-esd= ${LIB_DEPENDS} \
esd::audio/esound \
gstaudio-0.10,gstinterfaces-0.10::multimedia/gstreamer-0.10/plugins-base
CONFIGURE_ARGS+= --with-aalib-prefix=${LOCALBASE} \
--disable-cdio \
--disable-dv1394 \
--disable-flac \
--disable-gdk_pixbuf \
--disable-jpeg \
--disable-ladspa \
--disable-libcaca \
--disable-libdv \
--disable-libpng \
--disable-shout2 \
--disable-speex \
--disable-sunaudio \
--disable-gdk_pixbuf \
--disable-taglib
post-install:
${INSTALL_DATA} ${WRKINST}${SYSCONFDIR}/gconf/schemas/gstreamer-${VERSION}.schemas ${PREFIX}/lib/gstreamer-${VERSION}/schemas.sample
# FLAC::audio/flac \
# speex::audio/speex \
# dv::multimedia/libdv \
# xml2::textproc/libxml \
# jpeg::graphics/jpeg \
# png::graphics/png \
.include <bsd.port.mk>

View File

@ -0,0 +1,38 @@
$OpenBSD: patch-m4_aalib_m4,v 1.1 2007/01/09 21:33:25 espie Exp $
--- m4/aalib.m4.orig Wed Feb 11 17:44:05 2004
+++ m4/aalib.m4 Tue Jan 9 12:04:34 2007
@@ -29,6 +29,8 @@ AC_ARG_ENABLE(aalibtest,
[do not try to compile and run a test AALIB program]),
, enable_aalibtest=yes)
+ enable_aalibtest=no
+
if test x$aalib_exec_prefix != x ; then
aalib_args="$aalib_args --exec-prefix=$aalib_exec_prefix"
if test x${AALIB_CONFIG+set} != xset ; then
@@ -42,22 +44,12 @@ AC_ARG_ENABLE(aalibtest,
fi
fi
- AC_PATH_PROG(AALIB_CONFIG, aalib-config, no)
- min_aalib_version=ifelse([$1], ,0.11.0,$1)
- AC_MSG_CHECKING(for AALIB - version >= $min_aalib_version)
- no_aalib=""
- if test "$AALIB_CONFIG" = "no" ; then
+ if test x$aalib_prefix == x ; then
no_aalib=yes
else
- AALIB_CFLAGS=`$AALIB_CONFIG $aalibconf_args --cflags`
- AALIB_LIBS=`$AALIB_CONFIG $aalibconf_args --libs`
+ AALIB_CFLAGS="-I$aalib_prefix/include"
+ AALIB_LIBS="-L$aalib_prefix/lib -laa"
- aalib_major_version=`$AALIB_CONFIG $aalib_args --version | \
- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
- aalib_minor_version=`$AALIB_CONFIG $aalib_args --version | \
- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
- aalib_micro_version=`$AALIB_CONFIG $aalib_config_args --version | \
- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
if test "x$enable_aalibtest" = "xyes" ; then
ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"

View File

@ -0,0 +1 @@
This is the gstreamer-${VERSION} plugin for aalib output

View File

@ -0,0 +1 @@
cairo overlays plugin for gstreamer-${VERSION}

View File

@ -0,0 +1 @@
esound plugin for gstreamer-${VERSION}

View File

@ -0,0 +1,2 @@
Configuration elements of gstreamer-${VERSION} as accessible
through html.

View File

@ -1,2 +1,8 @@
This package contains good plugins for gstreamer-${VERSION} with
a non-controversial licence.
This package contains some plugins for gstreamer-${VERSION}.
The gstreamer people split plugins into:
- base plugins (plugins-base)
- plugins with good code and a good licence (plugins-good)
- plugins with licence issues.
This package contains most good plugins without too many external
dependencies.

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST-aalib,v 1.1 2007/01/09 21:33:25 espie Exp $
lib/gstreamer-${VERSION}/libgstaasink.la
lib/gstreamer-${VERSION}/libgstaasink.so

View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST-annodex,v 1.1 2007/01/09 21:33:25 espie Exp $
lib/gstreamer-${VERSION}/libgstannodex.a
lib/gstreamer-${VERSION}/libgstannodex.la
lib/gstreamer-${VERSION}/libgstannodex.so

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST-cairo,v 1.1 2007/01/09 21:33:25 espie Exp $
lib/gstreamer-${VERSION}/libgstcairo.la
lib/gstreamer-${VERSION}/libgstcairo.so

View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PLIST-esd,v 1.1 2007/01/09 21:33:25 espie Exp $
@option no-default-conflict
@conflict gstreamer-esd->=0.10
lib/gstreamer-${VERSION}/libgstesd.la
lib/gstreamer-${VERSION}/libgstesd.so

View File

@ -0,0 +1,9 @@
@comment $OpenBSD: PLIST-gconf,v 1.1 2007/01/09 21:33:25 espie Exp $
lib/gstreamer-${VERSION}/libgstautodetect.la
lib/gstreamer-${VERSION}/libgstautodetect.so
lib/gstreamer-${VERSION}/libgstgconfelements.la
lib/gstreamer-${VERSION}/libgstgconfelements.so
@sample ${SYSCONFDIR}/gconf/
@sample ${SYSCONFDIR}/gconf/schemas/
lib/gstreamer-${VERSION}/schemas.sample
@sample ${SYSCONFDIR}/gconf/schemas/gstreamer-${VERSION}.schemas

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST-main,v 1.2 2007/01/09 20:00:23 espie Exp $
@comment $OpenBSD: PLIST-main,v 1.3 2007/01/09 21:33:25 espie Exp $
lib/gstreamer-${VERSION}/libgstalaw.la
lib/gstreamer-${VERSION}/libgstalaw.so
lib/gstreamer-${VERSION}/libgstalpha.la
@ -13,36 +13,24 @@ lib/gstreamer-${VERSION}/libgstaudiofx.la
lib/gstreamer-${VERSION}/libgstaudiofx.so
lib/gstreamer-${VERSION}/libgstauparse.la
lib/gstreamer-${VERSION}/libgstauparse.so
lib/gstreamer-${VERSION}/libgstautodetect.la
lib/gstreamer-${VERSION}/libgstautodetect.so
lib/gstreamer-${VERSION}/libgstavi.la
lib/gstreamer-${VERSION}/libgstavi.so
lib/gstreamer-${VERSION}/libgstcutter.la
lib/gstreamer-${VERSION}/libgstcutter.so
lib/gstreamer-${VERSION}/libgstdebug.la
lib/gstreamer-${VERSION}/libgstdebug.so
lib/gstreamer-${VERSION}/libgstdv.la
lib/gstreamer-${VERSION}/libgstdv.so
lib/gstreamer-${VERSION}/libgstefence.la
lib/gstreamer-${VERSION}/libgstefence.so
lib/gstreamer-${VERSION}/libgsteffectv.la
lib/gstreamer-${VERSION}/libgsteffectv.so
lib/gstreamer-${VERSION}/libgstesd.la
lib/gstreamer-${VERSION}/libgstesd.so
lib/gstreamer-${VERSION}/libgstflac.la
lib/gstreamer-${VERSION}/libgstflac.so
lib/gstreamer-${VERSION}/libgstflxdec.la
lib/gstreamer-${VERSION}/libgstflxdec.so
lib/gstreamer-${VERSION}/libgstgconfelements.la
lib/gstreamer-${VERSION}/libgstgconfelements.so
lib/gstreamer-${VERSION}/libgstgoom.la
lib/gstreamer-${VERSION}/libgstgoom.so
lib/gstreamer-${VERSION}/libgsticydemux.la
lib/gstreamer-${VERSION}/libgsticydemux.so
lib/gstreamer-${VERSION}/libgstid3demux.la
lib/gstreamer-${VERSION}/libgstid3demux.so
lib/gstreamer-${VERSION}/libgstjpeg.la
lib/gstreamer-${VERSION}/libgstjpeg.so
lib/gstreamer-${VERSION}/libgstlevel.la
lib/gstreamer-${VERSION}/libgstlevel.so
lib/gstreamer-${VERSION}/libgstmatroska.la
@ -55,16 +43,12 @@ lib/gstreamer-${VERSION}/libgstnavigationtest.la
lib/gstreamer-${VERSION}/libgstnavigationtest.so
lib/gstreamer-${VERSION}/libgstossaudio.la
lib/gstreamer-${VERSION}/libgstossaudio.so
lib/gstreamer-${VERSION}/libgstpng.la
lib/gstreamer-${VERSION}/libgstpng.so
lib/gstreamer-${VERSION}/libgstrtp.la
lib/gstreamer-${VERSION}/libgstrtp.so
lib/gstreamer-${VERSION}/libgstrtsp.la
lib/gstreamer-${VERSION}/libgstrtsp.so
lib/gstreamer-${VERSION}/libgstsmpte.la
lib/gstreamer-${VERSION}/libgstsmpte.so
lib/gstreamer-${VERSION}/libgstspeex.la
lib/gstreamer-${VERSION}/libgstspeex.so
lib/gstreamer-${VERSION}/libgstudp.la
lib/gstreamer-${VERSION}/libgstudp.so
lib/gstreamer-${VERSION}/libgstvideobalance.la