From 17938a1613b62d5c3ca405eddadb601be11a59c9 Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Thu, 10 Jun 2010 06:05:45 +0000 Subject: [PATCH] Bump to 0.10.18. Bunch of updates to the bindings. Moved EAPI-3, and cleaned up python.eclass usage accordingly. Also remove all .la files according to bug #298867. Package-Manager: portage-2.2_rc67/cvs/Linux x86_64 --- dev-python/gst-python/ChangeLog | 30 +++++--- dev-python/gst-python/Manifest | 4 +- .../gst-python/gst-python-0.10.18.ebuild | 73 +++++++++++++++++++ 3 files changed, 95 insertions(+), 12 deletions(-) create mode 100644 dev-python/gst-python/gst-python-0.10.18.ebuild diff --git a/dev-python/gst-python/ChangeLog b/dev-python/gst-python/ChangeLog index 4073253bc81e..3bb8e0c21776 100644 --- a/dev-python/gst-python/ChangeLog +++ b/dev-python/gst-python/ChangeLog @@ -1,11 +1,19 @@ # ChangeLog for dev-python/gst-python # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/gst-python/ChangeLog,v 1.80 2010/04/18 15:57:21 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/gst-python/ChangeLog,v 1.81 2010/06/10 06:05:45 ford_prefect Exp $ + +*gst-python-0.10.18 (10 Jun 2010) + + 10 Jun 2010; Arun Raghavan + +gst-python-0.10.18.ebuild: + Bump to 0.10.18. Bunch of updates to the bindings. Moved EAPI-3, and + cleaned up python.eclass usage accordingly. Also remove all .la files + according to bug #298867. 18 Apr 2010; gst-python-0.10.17.ebuild: ppc stable #308379 - 05 Apr 2010; Raúl Porcel gst-python-0.10.17.ebuild: + 05 Apr 2010; Raúl Porcel gst-python-0.10.17.ebuild: alpha/arm/ia64/sparc stable wrt #308379 24 Mar 2010; Christian Faulhammer @@ -21,7 +29,7 @@ 05 Jan 2010; nixnut gst-python-0.10.16.ebuild: ppc stable #290343 - 29 Dec 2009; Raúl Porcel gst-python-0.10.16.ebuild: + 29 Dec 2009; Raúl Porcel gst-python-0.10.16.ebuild: ia64/sparc stable wrt #290343 09 Dec 2009; Brent Baude gst-python-0.10.16.ebuild: @@ -41,7 +49,7 @@ 18 Nov 2009; Jeroen Roovers gst-python-0.10.16.ebuild: Stable for HPPA (bug #290343). - 16 Nov 2009; Olivier Crête gst-python-0.10.16.ebuild: + 16 Nov 2009; Olivier Crête gst-python-0.10.16.ebuild: Stable on amd64, bug #290343 *gst-python-0.10.17 (16 Nov 2009) @@ -70,7 +78,7 @@ 31 Aug 2009; Brent Baude ChangeLog: Marking gst-python-0.10.15-r1 ppc64 stable for bug 280946 - 29 Aug 2009; Raúl Porcel + 29 Aug 2009; Raúl Porcel gst-python-0.10.15-r1.ebuild: alpha/ia64/sparc stable wrt #280946 @@ -83,11 +91,11 @@ *gst-python-0.10.16 (15 Aug 2009) - 15 Aug 2009; Olivier Crête + 15 Aug 2009; Olivier Crête +gst-python-0.10.16.ebuild: Version bump - 15 Aug 2009; Olivier Crête + 15 Aug 2009; Olivier Crête gst-python-0.10.15-r1.ebuild: Stable on amd64, bug #280946 @@ -115,7 +123,7 @@ *gst-python-0.10.15 (13 May 2009) - 13 May 2009; Olivier Crête + 13 May 2009; Olivier Crête +gst-python-0.10.15.ebuild: Version bump @@ -138,7 +146,7 @@ gst-python-0.10.12.ebuild: Stable on alpha, bug #232054 - 31 Jul 2008; Raúl Porcel gst-python-0.10.12.ebuild: + 31 Jul 2008; Raúl Porcel gst-python-0.10.12.ebuild: ia64/sparc stable wrt #232054 01 Aug 2008; Brent Baude gst-python-0.10.12.ebuild: @@ -147,7 +155,7 @@ 30 Jul 2008; Brent Baude gst-python-0.10.12.ebuild: Marking gst-python-0.10.12 ppc stable for bug 232054 - 26 Jul 2008; Olivier Crête gst-python-0.10.12.ebuild: + 26 Jul 2008; Olivier Crête gst-python-0.10.12.ebuild: Stable on amd64, bug #232054 *gst-python-0.10.12 (29 Jun 2008) @@ -222,7 +230,7 @@ 29 Mar 2007; Markus Rothe gst-python-0.10.6.ebuild: Added ~ppc64; bug #172367 - 22 Feb 2007; Piotr Jaroszyński ChangeLog: + 22 Feb 2007; Piotr Jaroszyński ChangeLog: Transition to Manifest2. *gst-python-0.10.6 (07 Dec 2006) diff --git a/dev-python/gst-python/Manifest b/dev-python/gst-python/Manifest index 58baa8d3ff71..2128051dd14c 100644 --- a/dev-python/gst-python/Manifest +++ b/dev-python/gst-python/Manifest @@ -2,8 +2,10 @@ AUX gst-python-0.10.9-lazy.patch 534 RMD160 912cd099a3f045305a6a9b33dd3bbc6aa422 DIST gst-python-0.10.15.tar.bz2 573180 RMD160 ec6df9042a5e2687af768c4cd6eacbe1bcc791cc SHA1 03f99b8db91a3edae7f2df8047e4355c08d5d7f0 SHA256 68cb799cbb23805d63795fdf7070c3f9460c3492a7f0fa7d6265dea2a0b743ac DIST gst-python-0.10.16.tar.bz2 579649 RMD160 28cb3fa6c63f4aa271caf859e2acbb803a3c30c1 SHA1 d6719417e3228a392ab6a40d3961c0de830bdc79 SHA256 ad145a15a1d7d227321cea8d309a7794edcd8124b4f5c5d00750f72fb6809607 DIST gst-python-0.10.17.tar.bz2 582600 RMD160 872c1428e4b65bc2c72a0ead0f44d99b8e67d85e SHA1 b84ff5db07b6721e7cdb535f77ca39d3b59d1392 SHA256 70cef839b429dcea0cae342d24bc2e0e5deae01e902a8858e2c7dd76a724cde9 +DIST gst-python-0.10.18.tar.bz2 578564 RMD160 bc3bcbfc33a380ef7318b8638338b28d30785715 SHA1 98da339dcdc517bbecc5271a649af35f620ed57d SHA256 21a6a13736bd4c2cdcbde7d9c2791f1e47085d161eda84f8ee901bb744ddb897 EBUILD gst-python-0.10.15-r1.ebuild 1417 RMD160 250a6e0bb3fec1c7ac72c711f2499db9a3b5c6b8 SHA1 7c5fc5dc7f8997bbf4bafcf8387b0763075124c5 SHA256 4500d62aa07d7c51093544395f24c7bf9e93525e5a8d74e1311f7da87940ef2d EBUILD gst-python-0.10.16.ebuild 1464 RMD160 0fd3f92c16bbc5054b8b06e2d705c8634d5370e1 SHA1 3979bf15a1fccbb92981f7111343d0bc0beef261 SHA256 364d4d9697acc0d9dbac8e8900cef378d73364ac0571d630a25af2c88505aa7d EBUILD gst-python-0.10.17.ebuild 1690 RMD160 ec605d78b76a38b1374b97dc7f8b289852cf0688 SHA1 73b0483ce1ce37efe320fe7712142b0d5fefaf4c SHA256 a37ab1a959373e8849388d473edbb7c2d7623a770a160354fdf4ab97d1b9b909 -MISC ChangeLog 10894 RMD160 511d9b6bba9d18417017dae7018945abea8d6472 SHA1 4efdd48457ab11783b0ed36ddc91eb39acd227f5 SHA256 7c0583758dea151cd60f24e37a7eec251388f880d540ad093396ab88c6440d99 +EBUILD gst-python-0.10.18.ebuild 2159 RMD160 2ce2289b52c2eee8a3b40703fb9da373f817c974 SHA1 29cd7042f9446307c4e3027cf1614384bb4f2f26 SHA256 2ad8a3b663747d5239be9bea734789c1520f88354b00e36a8744f19176253be1 +MISC ChangeLog 11212 RMD160 b20f7c84768c440eb54d737ecfcdb579a6c55a56 SHA1 ea71fff8d828e80a4611c0941891136431e62b69 SHA256 c1f67e1f5eae297798938d1ec309f28e8fefcabb71871ea9e3a31060a4f00249 MISC metadata.xml 162 RMD160 c6078d82a9ff46dbb283bc14ade9d117144cca67 SHA1 f46f8ccd62374b17183b5aca523c4dcf60d718f9 SHA256 3ac891ee23de8c6e2bef32e0c7aa3e6607e808de76ed723fbe7a1fb92f6093f1 diff --git a/dev-python/gst-python/gst-python-0.10.18.ebuild b/dev-python/gst-python/gst-python-0.10.18.ebuild new file mode 100644 index 000000000000..bbb0c5c55a14 --- /dev/null +++ b/dev-python/gst-python/gst-python-0.10.18.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/gst-python/gst-python-0.10.18.ebuild,v 1.1 2010/06/10 06:05:45 ford_prefect Exp $ + +EAPI=3 +PYTHON_DEPEND="2" +inherit autotools eutils multilib python + +DESCRIPTION="A Python Interface to GStreamer" +HOMEPAGE="http://gstreamer.freedesktop.org" +SRC_URI="http://gstreamer.freedesktop.org/src/${PN}/${P}.tar.bz2" + +LICENSE="LGPL-2" +SLOT="0.10" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="examples test" + +RDEPEND="|| ( >=dev-python/pygobject-2.11.2 >=dev-python/pygtk-2.6.3 ) + >=media-libs/gstreamer-0.10.25 + >=media-libs/gst-plugins-base-0.10.25 + dev-libs/libxml2" +DEPEND="${RDEPEND} + dev-util/pkgconfig + test? ( + media-plugins/gst-plugins-ogg + media-plugins/gst-plugins-vorbis + )" # tests a "audiotestsrc ! vorbisenc ! oggmux ! fakesink" pipeline + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.10.9-lazy.patch + rm -f py-compile ltmain.sh common/m4/{libtool,lt*}.m4 || die "rm -f failed" + ln -s $(type -P true) py-compile + AT_M4DIR="common/m4" eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog NEWS README TODO + + if use examples; then + docinto examples + dodoc examples/* + fi + + local LA_RM=" + /usr/$(get_libdir)/python2.6/site-packages/gst-0.10/gst/interfaces.la + /usr/$(get_libdir)/python2.6/site-packages/gst-0.10/gst/audio.la + /usr/$(get_libdir)/python2.6/site-packages/gst-0.10/gst/_gst.la + /usr/$(get_libdir)/python2.6/site-packages/gst-0.10/gst/video.la + /usr/$(get_libdir)/python2.6/site-packages/gst-0.10/gst/tag.la + /usr/$(get_libdir)/python2.6/site-packages/gst-0.10/gst/pbutils.la + /usr/$(get_libdir)/python2.6/site-packages/gstoption.la" + + for i in ${LA_RM}; do + rm "${D}${i}" + done +} + +src_test() { + export LC_ALL="C" + emake check || die "make check failed" +} + +pkg_postinst() { + python_need_rebuild + python_mod_optimize pygst.py + python_mod_optimize gst-0.10 +} + +pkg_postrm() { + python_mod_cleanup pygst.py + python_mod_cleanup gst-0.10 +} -- 2.26.2