public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alexandre Restovtsev" <tetromino@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gnome:gnome-next commit in: media-libs/gstreamer/
Date: Tue, 28 Jun 2011 23:25:27 +0000 (UTC)	[thread overview]
Message-ID: <fc73a77a229f8d5bbbfc5441325488481bd939f2.tetromino@gentoo> (raw)

commit:     fc73a77a229f8d5bbbfc5441325488481bd939f2
Author:     Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com>
AuthorDate: Tue Jun 28 23:13:00 2011 +0000
Commit:     Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
CommitDate: Tue Jun 28 23:25:19 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=fc73a77a

media-libs/gstreamer-0.10.35

Adding gstreamer-0.10.35 because earlier versions don't build with
>=glib-2.29.5.

Code changes: added GstParseBase, funnel element, new QoS type, new
progress message API; fixed thread safety issue in multiqueue,
timestamping issue in basesrc, compatibility with glib-2.29.x.

Ebuild changes: added USE=doc for building the html manual and faq,
and updated the homepage to fdo.

---
 media-libs/gstreamer/gstreamer-0.10.35.ebuild |   70 +++++++++++++++++++++++++
 1 files changed, 70 insertions(+), 0 deletions(-)

diff --git a/media-libs/gstreamer/gstreamer-0.10.35.ebuild b/media-libs/gstreamer/gstreamer-0.10.35.ebuild
new file mode 100644
index 0000000..257abe6
--- /dev/null
+++ b/media-libs/gstreamer/gstreamer-0.10.35.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gstreamer/gstreamer-0.10.32-r1.ebuild,v 1.7 2011/06/09 16:00:02 jer Exp $
+
+EAPI=2
+
+inherit eutils multilib versionator
+
+# 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.freedesktop.org/"
+SRC_URI="http://${PN}.freedesktop.org/src/${PN}/${P}.tar.bz2"
+
+LICENSE="LGPL-2"
+SLOT=${PV_MAJ_MIN}
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="doc +introspection nls test"
+
+RDEPEND=">=dev-libs/glib-2.22:2
+	dev-libs/libxml2
+	introspection? ( >=dev-libs/gobject-introspection-0.6.3 )
+	!<media-libs/gst-plugins-base-0.10.26"
+	# ^^ queue2 move, mustn't have both libgstcoreleements.so and libgstqueue2.so at runtime providing the element at once
+DEPEND="${RDEPEND}
+	dev-util/pkgconfig
+	doc? ( >=app-text/docbook-sgml-utils-0.6.10
+		app-text/docbook-xml-dtd:4.2
+		media-gfx/transfig )
+	nls? ( sys-devel/gettext )"
+	# dev-util/gtk-doc-am # Only if eautoreconf'ing
+
+src_prepare() {
+	# don't ever build ps and pdf documentation
+	sed -e 's:PDF_DAT = $(DOC).pdf:PDF_DAT =:' \
+		-e 's:PS_DAT = $(DOC).ps:PS_DAT =:' \
+		-i docs/manuals.mak docs/{faq,manual,pwg}/Makefile.in ||
+		die "sed of docs/manuals.mak docs/{faq,manual,pwg}/Makefile.in failed"
+}
+
+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 \
+		--enable-check \
+		$(use_enable introspection) \
+		$(use_enable test tests) \
+		$(use_enable doc docbook) \
+		--with-package-name="GStreamer ebuild for Gentoo" \
+		--with-package-origin="http://packages.gentoo.org/package/media-libs/gstreamer"
+}
+
+src_install() {
+	emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}" 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
+}



             reply	other threads:[~2011-06-28 23:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-28 23:25 Alexandre Restovtsev [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-07-01 20:13 [gentoo-commits] proj/gnome:gnome-next commit in: media-libs/gstreamer/ Alexandre Restovtsev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fc73a77a229f8d5bbbfc5441325488481bd939f2.tetromino@gentoo \
    --to=tetromino@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox