diff options
author | Sven 'sleipnir' Rebhan <odinshorse@googlemail.com> | 2009-05-27 06:52:10 +0000 |
---|---|---|
committer | Sven 'sleipnir' Rebhan <odinshorse@googlemail.com> | 2009-05-27 06:52:10 +0000 |
commit | 7925ba3ed9801553abb04444ab8e13e468eb7215 (patch) | |
tree | fc7913498c8effe6ae25e31a77bccaf32657145f /media-libs | |
parent | pidgin fix typo inherit error, thanks tomboy64 (diff) | |
download | embedded-cross-7925ba3ed9801553abb04444ab8e13e468eb7215.tar.gz embedded-cross-7925ba3ed9801553abb04444ab8e13e468eb7215.tar.bz2 embedded-cross-7925ba3ed9801553abb04444ab8e13e468eb7215.zip |
Gstreamer needs an elibtoolize to have the libtool fixes...
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/gstreamer/Manifest | 2 | ||||
-rw-r--r-- | media-libs/gstreamer/gstreamer-0.10.23.ebuild | 57 |
2 files changed, 59 insertions, 0 deletions
diff --git a/media-libs/gstreamer/Manifest b/media-libs/gstreamer/Manifest new file mode 100644 index 0000000..88f75c9 --- /dev/null +++ b/media-libs/gstreamer/Manifest @@ -0,0 +1,2 @@ +DIST gstreamer-0.10.23.tar.bz2 2871267 RMD160 7491281501adca311fd0d2cb8c92cd278e095fd2 SHA1 861af545b51be56b5782a636844f2e888ea7c90c SHA256 cf750821040102d2c9fbfed56472a86fd0d8c24ada37901c41867c88438a776d +EBUILD gstreamer-0.10.23.ebuild 1614 RMD160 0827e7db97714b7b8943fb0f4fcc29a97047e287 SHA1 1023c1eda8cd8a61a4e2b5209c1aefd59dd9bada SHA256 dc277f6be451c4d9264f03e214c34cd22b063f49bd0d32ed02d6bd11119954e6 diff --git a/media-libs/gstreamer/gstreamer-0.10.23.ebuild b/media-libs/gstreamer/gstreamer-0.10.23.ebuild new file mode 100644 index 0000000..16cf560 --- /dev/null +++ b/media-libs/gstreamer/gstreamer-0.10.23.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/gstreamer/gstreamer-0.10.23.ebuild,v 1.1 2009/05/11 03:15:08 tester Exp $ + +EAPI=2 + +inherit eutils multilib versionator libtool + +# Create a major/minor combo for our SLOT and executables suffix +PV_MAJ_MIN=$(get_version_component_range '1-2') + +DESCRIPTION="Streaming media framework" +HOMEPAGE="http://gstreamer.sourceforge.net" +SRC_URI="http://${PN}.freedesktop.org/src/${PN}/${P}.tar.bz2" + +LICENSE="LGPL-2" +SLOT=${PV_MAJ_MIN} +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="nls test" + +RDEPEND=">=dev-libs/glib-2.12:2 + dev-libs/libxml2 + >=dev-libs/check-0.9.2" +DEPEND="${RDEPEND} + dev-util/pkgconfig + nls? ( sys-devel/gettext )" + +src_prepare() { + # Needed for cross-compilation + elibtoolize +} + +src_configure() { + # Disable static archives, dependency tracking and examples + # to speed up build time + econf \ + --disable-static \ + --disable-dependency-tracking \ + $(use_enable nls) \ + --disable-valgrind \ + --disable-examples \ + $(use_enable test tests) \ + --with-package-name="GStreamer ebuild for Gentoo" \ + --with-package-origin="http://packages.gentoo.org/package/media-libs/gstreamer" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + dodoc AUTHORS ChangeLog NEWS MAINTAINERS README RELEASE + + # Remove unversioned binaries to allow SLOT installations in future + cd "${D}"/usr/bin + local gst_bins + for gst_bins in $(ls *-${PV_MAJ_MIN}); do + rm -f ${gst_bins/-${PV_MAJ_MIN}/} + done +} |