summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarinus Schraal <foser@gentoo.org>2004-03-22 00:10:28 +0000
committerMarinus Schraal <foser@gentoo.org>2004-03-22 00:10:28 +0000
commit373650d3dd71500fa1cfa983865269035d6169c1 (patch)
tree34cd7da24f8e45b4f2d3256167d60c8fd7c7f51b /media-libs/gstreamer
parent1.5 Marked stable ~x86. 1.6 version bump thanks to Roman Valls bug #45122 (Ma... (diff)
downloadgentoo-2-373650d3dd71500fa1cfa983865269035d6169c1.tar.gz
gentoo-2-373650d3dd71500fa1cfa983865269035d6169c1.tar.bz2
gentoo-2-373650d3dd71500fa1cfa983865269035d6169c1.zip
gnome 2.6 commit
Diffstat (limited to 'media-libs/gstreamer')
-rw-r--r--media-libs/gstreamer/ChangeLog8
-rw-r--r--media-libs/gstreamer/files/digest-gstreamer-0.8.01
-rw-r--r--media-libs/gstreamer/gstreamer-0.8.0.ebuild85
3 files changed, 93 insertions, 1 deletions
diff --git a/media-libs/gstreamer/ChangeLog b/media-libs/gstreamer/ChangeLog
index c40578d96edf..326ecff6a393 100644
--- a/media-libs/gstreamer/ChangeLog
+++ b/media-libs/gstreamer/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/gstreamer
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gstreamer/ChangeLog,v 1.50 2004/03/16 04:50:27 geoman Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gstreamer/ChangeLog,v 1.51 2004/03/22 00:10:28 foser Exp $
+
+*gstreamer-0.8.0 (21 Mar 2004)
+
+ 21 Mar 2004; foser <foser@gentoo.org> gstreamer-0.8.0.ebuild :
+ Gnome 2.6 commit
+ Remove unversioned binaries by default
15 Mar 2004; Stephen P. Becker <geoman@gentoo.org> gstreamer-0.6.4.ebuild:
Added ~mips keyword.
diff --git a/media-libs/gstreamer/files/digest-gstreamer-0.8.0 b/media-libs/gstreamer/files/digest-gstreamer-0.8.0
new file mode 100644
index 000000000000..275033e8ffd6
--- /dev/null
+++ b/media-libs/gstreamer/files/digest-gstreamer-0.8.0
@@ -0,0 +1 @@
+MD5 275384c4001c6b934f159952f39e2f36 gstreamer-0.8.0.tar.bz2 1120465
diff --git a/media-libs/gstreamer/gstreamer-0.8.0.ebuild b/media-libs/gstreamer/gstreamer-0.8.0.ebuild
new file mode 100644
index 000000000000..9be8f0e84e42
--- /dev/null
+++ b/media-libs/gstreamer/gstreamer-0.8.0.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gstreamer/gstreamer-0.8.0.ebuild,v 1.1 2004/03/22 00:10:28 foser Exp $
+
+# FIXME : re-enable docs build
+inherit eutils flag-o-matic libtool gnome2
+
+# Create a major/minor combo for our SLOT and executables suffix
+PVP=($(echo " $PV " | sed 's:[-\._]: :g'))
+PV_MAJ_MIN=${PVP[0]}.${PVP[1]}
+
+DESCRIPTION="Streaming media framework"
+HOMEPAGE="http://gstreamer.sourceforge.net"
+LICENSE="LGPL-2"
+
+SLOT=${PV_MAJ_MIN}
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~amd64 ~ia64 ~mips"
+#IUSE="doc"
+IUSE=""
+
+RDEPEND=">=dev-libs/glib-2.2
+ >=dev-libs/libxml2-2.4.9
+ >=dev-libs/popt-1.6.3"
+
+DEPEND="${RDEPEND}
+ >=sys-devel/gettext-0.11.5
+ dev-util/pkgconfig"
+# doc? ( dev-util/gtk-doc
+# app-text/xmlto )"
+
+src_unpack() {
+
+ unpack ${A}
+ use ppc && epatch ${FILESDIR}/gnu_asm_fix.patch
+ # docs hack, disable dirs without html output
+# cd ${S}/docs
+# mv Makefile.in Makefile.in.old
+# sed -e "s:faq manual pwg::" Makefile.in.old > Makefile.in
+
+}
+
+src_compile() {
+
+ elibtoolize
+
+ strip-flags
+ replace-flags "-O3" "-O2"
+
+ # docs hack, circumvent xmltex check
+ HAVE_XMLTEX=1 econf \
+ --with-configdir=/etc/gstreamer \
+ --disable-tests \
+ --disable-examples \
+ --disable-docs-build \
+ || die "./configure failed"
+# `use_enable doc docs-build` \
+
+ # On alpha, amd64 and hppa some innocuous warnings are spit out that break
+ # the build because of -Werror
+ use alpha && find . -name Makefile | xargs sed -i -e 's/-Werror//g'
+ use amd64 && find . -name Makefile | xargs sed -i -e 's/-Werror//g'
+ use hppa && find . -name Makefile | xargs sed -i -e 's/-Werror//g'
+
+ emake || die "compile failed"
+
+}
+
+src_install() {
+
+ einstall || die
+
+ # remove the unversioned gst binaries
+ # or they will be owned by several slots
+ gst-plugins_remove_unversioned_binaries
+
+ dodoc AUTHORS ChangeLog COPYING* DEVEL \
+ NEWS README RELEASE REQUIREMENTS TODO
+
+}
+
+pkg_postinst() {
+
+ gst-register-${PV_MAJ_MIN}
+
+}