From: "Alexandre Rostovtsev" <tetromino@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gnome:master commit in: media-libs/gstreamer/, media-libs/gst-plugins-base/
Date: Sun, 28 Oct 2012 06:52:00 +0000 (UTC) [thread overview]
Message-ID: <1351405251.e7715b2655571808c71f7265be37af7539834132.tetromino@gentoo> (raw)
commit: e7715b2655571808c71f7265be37af7539834132
Author: Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 28 06:20:51 2012 +0000
Commit: Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org>
CommitDate: Sun Oct 28 06:20:51 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=e7715b26
media-libs/gstreamer, media-libs/gst-plugins-base: add 1.0.2
As discussed with Mart, -base is monolithic except for cdparanoia and
libvisual.
---
.../gst-plugins-base/gst-plugins-base-1.0.2.ebuild | 90 ++++++++++++++++++++
media-libs/gstreamer/gstreamer-1.0.2.ebuild | 72 ++++++++++++++++
2 files changed, 162 insertions(+), 0 deletions(-)
diff --git a/media-libs/gst-plugins-base/gst-plugins-base-1.0.2.ebuild b/media-libs/gst-plugins-base/gst-plugins-base-1.0.2.ebuild
new file mode 100644
index 0000000..285c334
--- /dev/null
+++ b/media-libs/gst-plugins-base/gst-plugins-base-1.0.2.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gst-plugins-base/gst-plugins-base-0.10.36.ebuild,v 1.2 2012/10/23 08:10:00 tetromino Exp $
+
+EAPI="4"
+GCONF_DEBUG="no"
+GNOME2_LA_PUNT="yes"
+
+inherit gnome2
+
+DESCRIPTION="Basepack of plugins for gstreamer"
+HOMEPAGE="http://gstreamer.freedesktop.org/"
+SRC_URI="http://gstreamer.freedesktop.org/src/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-2+ LGPL-2+"
+SLOT="1.0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="alsa +introspection nls +ogg +orc +pango theora +vorbis X"
+REQUIRED_USE="theora? ( ogg ) vorbis? ( ogg )"
+
+RDEPEND=">=dev-libs/glib-2.32:2
+ >=media-libs/gstreamer-${PV}:1.0[introspection?]
+ dev-libs/libxml2:2
+ sys-libs/zlib
+ app-text/iso-codes
+ introspection? ( >=dev-libs/gobject-introspection-1.31.1 )
+ alsa? ( >=media-libs/alsa-lib-0.9.1 )
+ ogg? ( >=media-libs/libogg-1.0 )
+ orc? ( >=dev-lang/orc-0.4.16 )
+ pango? ( >=x11-libs/pango-1.22 )
+ theora? ( >=media-libs/libtheora-1.1[encode] )
+ vorbis? ( >=media-libs/libvorbis-1.0 )
+ X? (
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXv )"
+
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ >=dev-util/gtk-doc-am-1.12
+ virtual/pkgconfig
+ nls? ( >=sys-devel/gettext-0.11.5 )
+ X? (
+ x11-proto/videoproto
+ x11-proto/xextproto
+ x11-proto/xproto )"
+
+src_prepare() {
+ DOCS="AUTHORS NEWS README RELEASE"
+
+ # The AC_PATH_XTRA macro unnecessarily pulls in libSM and libICE even
+ # though they are not actually used. This needs to be fixed upstream by
+ # replacing AC_PATH_XTRA with PKG_CONFIG calls.
+ sed -i -e 's:X_PRE_LIBS -lSM -lICE:X_PRE_LIBS:' "${S}"/configure || die
+
+ # bug #366931, flag-o-matic for the whole thing is overkill
+ if [[ ${CHOST} == *86-*-darwin* ]] ; then
+ sed -i \
+ -e '/FLAGS = /s|-O[23]|-O1|g' \
+ gst/audioconvert/Makefile \
+ gst/volume/Makefile || die
+ fi
+
+ gnome2_src_prepare
+}
+
+src_configure() {
+ econf \
+ $(use_enable introspection) \
+ $(use_enable nls) \
+ $(use_enable orc) \
+ $(use_enable alsa) \
+ --disable-cdparanoia \
+ --disable-libvisual \
+ $(use_enable ogg) \
+ $(use_enable pango) \
+ $(use_enable theora) \
+ $(use_enable vorbis) \
+ --disable-ivorbis \
+ $(use_enable X x) \
+ $(use_enable X xshm) \
+ $(use_enable X xvideo) \
+ --disable-static \
+ --disable-examples \
+ --disable-freetypetest \
+ --disable-debug \
+ --with-package-name="Gentoo GStreamer Ebuild" \
+ --with-package-origin="http://www.gentoo.org"
+ # cdparanoia and libvisual are split out, per leio's request
+}
diff --git a/media-libs/gstreamer/gstreamer-1.0.2.ebuild b/media-libs/gstreamer/gstreamer-1.0.2.ebuild
new file mode 100644
index 0000000..99d99c4
--- /dev/null
+++ b/media-libs/gstreamer/gstreamer-1.0.2.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit eutils multilib pax-utils 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.xz"
+
+LICENSE="LGPL-2+"
+SLOT=${PV_MAJ_MIN}
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="+introspection nls +orc test"
+
+RDEPEND=">=dev-libs/glib-2.32:2
+ dev-libs/libxml2
+ introspection? ( >=dev-libs/gobject-introspection-1.31.1 )"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ >=dev-util/gtk-doc-am-1.12
+ sys-devel/bison
+ sys-devel/flex
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+# gtk-doc-am to install API docs
+
+src_configure() {
+ if [[ ${CHOST} == *-interix* ]] ; then
+ export ac_cv_lib_dl_dladdr=no
+ export ac_cv_func_poll=no
+ fi
+ if [[ ${CHOST} == powerpc-apple-darwin* ]] ; then
+ # GCC groks this, but then refers to an implementation (___multi3,
+ # ___udivti3) that don't exist (at least I can't find it), so force
+ # this one to be off, such that we use 2x64bit emulation code.
+ export gst_cv_uint128_t=no
+ fi
+
+ # Disable static archives, dependency tracking and examples
+ # to speed up build time
+ # Disable debug, as it only affects -g passing (debugging symbols), this must done through make.conf in gentoo
+ econf \
+ --disable-static \
+ --disable-dependency-tracking \
+ $(use_enable nls) \
+ --disable-valgrind \
+ --disable-examples \
+ --disable-debug \
+ --enable-check \
+ $(use_enable introspection) \
+ $(use_enable test tests) \
+ --with-package-name="GStreamer ebuild for Gentoo" \
+ --with-package-origin="http://packages.gentoo.org/package/media-libs/gstreamer"
+}
+
+src_install() {
+ DOCS="AUTHORS ChangeLog NEWS MAINTAINERS README RELEASE"
+ default
+
+ # Punt useless .la files
+ prune_libtool_files --modules
+
+ # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579
+ use orc && pax-mark -m "${ED}usr/bin/gst-launch-1.0" \
+ "${ED}usr/libexec/gstreamer-1.0/gst-plugin-scanner"
+}
reply other threads:[~2012-10-28 6:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1351405251.e7715b2655571808c71f7265be37af7539834132.tetromino@gentoo \
--to=tetromino@gentoo.org \
--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