diff options
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/gstreamer/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/gstreamer/files/digest-gstreamer-0.10.16 | 3 | ||||
-rw-r--r-- | media-libs/gstreamer/gstreamer-0.10.16.ebuild | 58 |
3 files changed, 67 insertions, 1 deletions
diff --git a/media-libs/gstreamer/ChangeLog b/media-libs/gstreamer/ChangeLog index d256f3eafdea..a3ea2595aaab 100644 --- a/media-libs/gstreamer/ChangeLog +++ b/media-libs/gstreamer/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/gstreamer # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/gstreamer/ChangeLog,v 1.191 2008/01/23 18:13:39 drac Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/gstreamer/ChangeLog,v 1.192 2008/01/29 19:44:59 zaheerm Exp $ + +*gstreamer-0.10.16 (29 Jan 2008) + + 29 Jan 2008; <zaheerm@gentoo.org> +gstreamer-0.10.16.ebuild: + version bump 23 Jan 2008; Samuli Suominen <drac@gentoo.org> gstreamer-0.10.15.ebuild: Block <gst-plugins-ugly-0.10.6 because it has incompatible mpegaudioparse diff --git a/media-libs/gstreamer/files/digest-gstreamer-0.10.16 b/media-libs/gstreamer/files/digest-gstreamer-0.10.16 new file mode 100644 index 000000000000..efdabe5a16d8 --- /dev/null +++ b/media-libs/gstreamer/files/digest-gstreamer-0.10.16 @@ -0,0 +1,3 @@ +MD5 d3ce3f670b7c48129c7d7d272ae15a4f gstreamer-0.10.16.tar.bz2 2169771 +RMD160 37000c3f20b457f1a7ecd417fcdcf61eb738b34d gstreamer-0.10.16.tar.bz2 2169771 +SHA256 522d674bd9884bb1aff8e5e16fe64d7b8d190a329323db6a1795c4f5fd66ae2e gstreamer-0.10.16.tar.bz2 2169771 diff --git a/media-libs/gstreamer/gstreamer-0.10.16.ebuild b/media-libs/gstreamer/gstreamer-0.10.16.ebuild new file mode 100644 index 000000000000..a1fece73dccd --- /dev/null +++ b/media-libs/gstreamer/gstreamer-0.10.16.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/gstreamer/gstreamer-0.10.16.ebuild,v 1.1 2008/01/29 19:44:59 zaheerm Exp $ + +inherit libtool + +# Create a major/minor combo for our SLOT and executables suffix +PVP=(${PV//[-\._]/ }) +PV_MAJ_MIN=${PVP[0]}.${PVP[1]} + +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="debug nls test" + +RDEPEND=">=dev-libs/glib-2.8 + >=dev-libs/libxml2-2.4.9 + debug? ( dev-util/valgrind ) + test? ( >=dev-libs/check-0.9.2 )" +DEPEND="${RDEPEND} + nls? ( >=sys-devel/gettext-0.11.5 ) + dev-util/pkgconfig + !<media-libs/gst-plugins-ugly-0.10.6" + +src_unpack() { + unpack ${A} + cd "${S}" + # Needed for sane .so versioning on Gentoo/FreeBSD + elibtoolize +} + +src_compile() { + econf --with-package-name="Gentoo GStreamer ebuild" \ + --with-package-origin="http://www.gentoo.org" \ + $(use_enable test tests) \ + $(use_enable debug valgrind) \ + $(use_enable debug) \ + $(use_enable nls) + + emake || die "emake failed." +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + dodoc AUTHORS ChangeLog NEWS README RELEASE TODO + + # 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 ${gst_bins/-${PV_MAJ_MIN}/} + einfo "Removed ${gst_bins/-${PV_MAJ_MIN}/}" + done +} |