summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarinus Schraal <foser@gentoo.org>2003-02-04 15:36:34 +0000
committerMarinus Schraal <foser@gentoo.org>2003-02-04 15:36:34 +0000
commitd565dcc3416dd3fde9ac42c64e9b3fd90392a4df (patch)
tree9bb27427b72b94d0b458ad34859ffedb70af45b8 /media-libs/gst-plugins
parentFixed 0.6.0 rev (diff)
downloadgentoo-2-d565dcc3416dd3fde9ac42c64e9b3fd90392a4df.tar.gz
gentoo-2-d565dcc3416dd3fde9ac42c64e9b3fd90392a4df.tar.bz2
gentoo-2-d565dcc3416dd3fde9ac42c64e9b3fd90392a4df.zip
New version
Diffstat (limited to 'media-libs/gst-plugins')
-rw-r--r--media-libs/gst-plugins/ChangeLog7
-rw-r--r--media-libs/gst-plugins/files/digest-gst-plugins-0.5.0-r11
-rw-r--r--media-libs/gst-plugins/files/digest-gst-plugins-0.5.11
-rw-r--r--media-libs/gst-plugins/files/digest-gst-plugins-0.6.01
-rw-r--r--media-libs/gst-plugins/gst-plugins-0.6.0.ebuild (renamed from media-libs/gst-plugins/gst-plugins-0.5.0-r1.ebuild)60
5 files changed, 28 insertions, 42 deletions
diff --git a/media-libs/gst-plugins/ChangeLog b/media-libs/gst-plugins/ChangeLog
index cd5d82f83f17..3fde8b20fa6c 100644
--- a/media-libs/gst-plugins/ChangeLog
+++ b/media-libs/gst-plugins/ChangeLog
@@ -1,7 +1,12 @@
# ChangeLog for media-libs/gst-plugins
# Copyright 2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gst-plugins/ChangeLog,v 1.20 2003/01/04 14:28:50 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gst-plugins/ChangeLog,v 1.21 2003/02/04 15:36:34 foser Exp $
+
+*gst-plugins-0.6.0 (04 feb 2003)
+
+ 04 Feb 2003;foser <foser@gentoo.org> gst-plugins-0.6.0.ebuild :
+ New version, now uses SLOT and has some extra fixes for that
04 Jan 2003; foser <foser@gentoo.org> gst-plugins-0.4.2-r2.ebuild :
Added MAKEOPTS on make to fix bug #12485
diff --git a/media-libs/gst-plugins/files/digest-gst-plugins-0.5.0-r1 b/media-libs/gst-plugins/files/digest-gst-plugins-0.5.0-r1
deleted file mode 100644
index f57ba4497379..000000000000
--- a/media-libs/gst-plugins/files/digest-gst-plugins-0.5.0-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 1b9366ab4d10e0cdabdf136ad3a96ee6 gst-plugins-0.5.0.tar.gz 1986678
diff --git a/media-libs/gst-plugins/files/digest-gst-plugins-0.5.1 b/media-libs/gst-plugins/files/digest-gst-plugins-0.5.1
deleted file mode 100644
index 7b15d641eb53..000000000000
--- a/media-libs/gst-plugins/files/digest-gst-plugins-0.5.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 1e41a9836681326798db2333d631fd38 gst-plugins-0.5.1.tar.gz 2664365
diff --git a/media-libs/gst-plugins/files/digest-gst-plugins-0.6.0 b/media-libs/gst-plugins/files/digest-gst-plugins-0.6.0
new file mode 100644
index 000000000000..8195a933e515
--- /dev/null
+++ b/media-libs/gst-plugins/files/digest-gst-plugins-0.6.0
@@ -0,0 +1 @@
+MD5 6548e5cde239dff066f1eb5b9f62fec5 gst-plugins-0.6.0.tar.bz2 1876447
diff --git a/media-libs/gst-plugins/gst-plugins-0.5.0-r1.ebuild b/media-libs/gst-plugins/gst-plugins-0.6.0.ebuild
index 7322e770b53b..779f526c3bf9 100644
--- a/media-libs/gst-plugins/gst-plugins-0.5.0-r1.ebuild
+++ b/media-libs/gst-plugins/gst-plugins-0.6.0.ebuild
@@ -1,19 +1,20 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gst-plugins/gst-plugins-0.5.0-r1.ebuild,v 1.1 2002/12/27 18:14:07 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gst-plugins/gst-plugins-0.6.0.ebuild,v 1.1 2003/02/04 15:36:34 foser Exp $
inherit eutils libtool gnome2 flag-o-matic
+# Create a major/minor combo for our SLOT and executables suffix
+PVP=($(echo " $PV " | sed 's:[-\._]: :g'))
+PV_MAJ_MIN=${PVP[0]}.${PVP[1]}
+
IUSE="encode quicktime mpeg oggvorbis jpeg esd gnome mikmod avi sdl png alsa arts dvd aalib"
S="${WORKDIR}/${P}"
DESCRIPTION="Additional plugins for gstreamer - streaming media framework"
-# bz2 gives 404 right now
-#SRC_URI="mirror://sourceforge/gstreamer/${P}.tar.bz2"
-SRC_URI="mirror://sourceforge/gstreamer/${P}.tar.gz"
HOMEPAGE="http://gstreamer.sourceforge.net"
-SLOT="0"
+SLOT=${PV_MAJ_MIN}
LICENSE="LGPL-2.1"
KEYWORDS="~x86 ~sparc ~ppc"
@@ -29,7 +30,7 @@ DEPEND="=media-libs/gstreamer-${PV}*
>=media-libs/libdv-0.9.5
encode? ( media-sound/lame )
quicktime? ( media-libs/openquicktime )
- mpeg? ( =media-libs/libmpeg2-0.2* )
+ mpeg? ( >=media-libs/libmpeg2-0.3.1 )
oggvorbis? ( media-libs/libvorbis
media-libs/libogg )
jpeg? ( media-video/mjpegtools
@@ -46,35 +47,20 @@ DEPEND="=media-libs/gstreamer-${PV}*
aalib? ( media-libs/aalib )
media-libs/ladspa-sdk"
-# disable avi for now, it doesnt work
-# avi? ( media-video/avifile )
-
src_unpack() {
unpack ${A}
-# Already fixed
-# # fix for gst-launch-ext
-# cd ${S}; epatch ${FILESDIR}/gentoo-gst-0.4.2-launch.patch
-
-# Already applied ...
-# if [ "${ARCH}" = "ppc" ]
-# then
-# cd ${S}
-# EPATCH_SINGLE_MSG="Patching makefile to fix parallel build bug" \
-# epatch ${FILESDIR}/${PN}-0.4.2-parallel-make-depfix.patch
-# EPATCH_SINGLE_MSG="Patching wav support in gst-plugins to be big-endian friendly" \
-# epatch ${FILESDIR}/${PN}-0.4.2-wavparse-bigendian.patch || die
-# fi
-
- # If the sound device for OSS was already open when gstreamer are started,
- # libgstossaudio.so never returns, as opening the device without the
- # O_NONBLOCK flag in Linux do not return if the device was busy. Gnome
- # bug at:
- #
- # http://bugzilla.gnome.org/show_bug.cgi?id=102025
- #
- # <azarah@gentoo.org> (27 Dec 2002).
- cd ${S}; epatch ${FILESDIR}/${P}-never-return-on-oss-busy.patch
+ # fix the scripts
+ cd ${S}/tools
+ mv gst-launch-ext gst-launch-ext.old
+ sed -e "s:gst-launch :gst-launch-${PV_MAJ_MIN} :" \
+ -e "s:gst-launch-ext:gst-launch-ext-${PV_MAJ_MIN}:" gst-launch-ext.old > gst-launch-ext
+ chmod +x gst-launch-ext
+
+ mv gst-visualise gst-visualise.old
+ sed -e "s:gst-launch :gst-launch-${PV_MAJ_MIN} :" \
+ -e "s:gst-visualise:gst-visualise-${PV_MAJ_MIN}:" gst-visualise.old > gst-visualise
+ chmod +x gst-visualise
}
src_compile() {
@@ -84,9 +70,6 @@ src_compile() {
strip-flags
replace-flags "-O3" "-O2"
- # this is an ugly patch to remove -I/usr/include from some CFLAGS
- # patch -p0 < ${FILESDIR}/${P}-configure.patch
-
local myconf=""
# FIXME : do this for _all_ IUSE flags
@@ -120,11 +103,11 @@ src_compile() {
&& myconf="${myconf} --enable-vorbis --enable-vorbistest" \
|| myconf="${myconf} --disable-vorbis --disable-vorbistest"
- # qcam doesn't work on PPC
+ # qcam doesn't work on PPC
use ppc && myconf="${myconf} --disable-qcam"
- # not testing for much here, since if its in USE we want it, but its autodetected by configure
econf ${myconf} \
+ --program-suffix=-${PV_MAJ_MIN} \
|| die "./configure failed"
emake || make || die
@@ -140,6 +123,5 @@ src_install () {
pkg_postinst () {
gnome2_gconf_install
- gst-register
+ gst-register-${PV_MAJ_MIN}
}
-