Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/gstreamer/
Date: Sun, 31 Jan 2016 12:46:38
Message-Id: 1454244384.c611a4b9bf9f5c212c23272a19792c5d18ab43e9.eva@gentoo
1 commit: c611a4b9bf9f5c212c23272a19792c5d18ab43e9
2 Author: Gilles Dartiguelongue <g.dartiguelongue <AT> lexfo <DOT> fr>
3 AuthorDate: Sun Jan 31 00:24:08 2016 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 31 12:46:24 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c611a4b9
7
8 media-libs/gstreamer: version bump to 1.6.3
9
10 Package-Manager: portage-2.2.27
11
12 media-libs/gstreamer/Manifest | 1 +
13 media-libs/gstreamer/gstreamer-1.6.3.ebuild | 104 ++++++++++++++++++++++++++++
14 2 files changed, 105 insertions(+)
15
16 diff --git a/media-libs/gstreamer/Manifest b/media-libs/gstreamer/Manifest
17 index 0797f94..0ddf6a7 100644
18 --- a/media-libs/gstreamer/Manifest
19 +++ b/media-libs/gstreamer/Manifest
20 @@ -2,3 +2,4 @@ DIST gstreamer-0.10.36.tar.xz 3025876 SHA256 9151aa108c177054387885763fa0e433e76
21 DIST gstreamer-1.4.5.tar.xz 3324052 SHA256 40801aa7f979024526258a0e94707ba42b8ab6f7d2206e56adbc4433155cb0ae SHA512 ed7b371f99b7da4ec462e34cd8e02062a0faaad7498a87cfc1ef39f8740db9bca0cc5bfe17ae5ff24abe0bd4a6771e732da193c01ca0e2d835b6c5d9f0d41403 WHIRLPOOL 3065b43a84d8d1d09ec9fb9bda5afc91550cd9f55e2db486c6aceec8fa41dd5ae7d3809c6b6249e86e658c94ffed6ec5a4a7a3cd25b2ab17c24c5a3488355bee
22 DIST gstreamer-1.6.1.tar.xz 3552476 SHA256 973a3f213c8d41d6dd0e4e7e38fd6cccacd5ae1ac09e1179a8d5d869ef0a5c9c SHA512 30b776a7ed9e9129e98e937da3c662eab5735e13caf9bb44a290b164d462bd6ba6101650971047e8ba595cc11c99507517df3593456507b37c6c9038fbd6fd1e WHIRLPOOL cadc669d22ae3aea5a590ba057f26b5e304c9f52b9d612bce1b6081bdb98cfaba83bdd48d2893a3d37caa152f2c79d1edff6f70ae6026def8ec2d6dfde2d6d3e
23 DIST gstreamer-1.6.2.tar.xz 3557808 SHA256 5896716bd8e089dba452932a2eff2bb6f6c9d58ff64a96635d157f1ffaf8feb2 SHA512 c6032e8d11870668a716b546d1d1b9908e670767c41390285d4f1a89b93ec44262d901e2ba5ed251e9cbf316b41ff46d1f71d5208997f0b0b717de55df0080f9 WHIRLPOOL dd768878e175bba3318d5550556eb8b588ea3ff95db018547e3fc676d98f1b7b67b4a7d05f5c03c01ef24766daf348d27b8e6808607db5e6ccee4c334294d370
24 +DIST gstreamer-1.6.3.tar.xz 3553256 SHA256 22f9568d67b87cf700a111f381144bd37cb93790a77e4e331db01fe854a37f24 SHA512 f5ab2461469d489da956a0dd4e785e8f0a130b104a37289f7821be6e8f8e5049864888fdcf3a7d281406bf48b40737afa75347c22e6bec05ff2cf525734b51f7 WHIRLPOOL 386efbe1f431e247e11f7369ababb8bb5f2d457b046de1eb955cb9d2322f995c862b22124efcbeeeb9b4d25def664de952b98fe54ba71cd2438502e86ac1db7c
25
26 diff --git a/media-libs/gstreamer/gstreamer-1.6.3.ebuild b/media-libs/gstreamer/gstreamer-1.6.3.ebuild
27 new file mode 100644
28 index 0000000..1409bf6
29 --- /dev/null
30 +++ b/media-libs/gstreamer/gstreamer-1.6.3.ebuild
31 @@ -0,0 +1,104 @@
32 +# Copyright 1999-2016 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI="5"
37 +
38 +inherit bash-completion-r1 eutils multilib multilib-minimal pax-utils
39 +
40 +DESCRIPTION="Open source multimedia framework"
41 +HOMEPAGE="http://gstreamer.freedesktop.org/"
42 +SRC_URI="http://${PN}.freedesktop.org/src/${PN}/${P}.tar.xz"
43 +
44 +LICENSE="LGPL-2+"
45 +SLOT="1.0"
46 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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"
47 +IUSE="+caps +introspection nls +orc test"
48 +
49 +RDEPEND="
50 + >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]
51 + caps? ( sys-libs/libcap )
52 + introspection? ( >=dev-libs/gobject-introspection-1.31.1:= )
53 +"
54 +DEPEND="${RDEPEND}
55 + app-arch/xz-utils
56 + >=dev-util/gtk-doc-am-1.12
57 + sys-devel/bison
58 + sys-devel/flex
59 + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
60 + nls? ( sys-devel/gettext )
61 +"
62 +# gtk-doc-am to install API docs
63 +
64 +src_configure() {
65 + if [[ ${CHOST} == *-interix* ]] ; then
66 + export ac_cv_lib_dl_dladdr=no
67 + export ac_cv_func_poll=no
68 + fi
69 + if [[ ${CHOST} == powerpc-apple-darwin* ]] ; then
70 + # GCC groks this, but then refers to an implementation (___multi3,
71 + # ___udivti3) that don't exist (at least I can't find it), so force
72 + # this one to be off, such that we use 2x64bit emulation code.
73 + export gst_cv_uint128_t=no
74 + fi
75 +
76 + multilib-minimal_src_configure
77 +}
78 +
79 +multilib_src_configure() {
80 + # Set 'libexecdir' to ABI-specific location for the library spawns
81 + # helpers from there.
82 + # Disable static archives, dependency tracking and examples
83 + # to speed up build time
84 + # Disable debug, as it only affects -g passing (debugging symbols), this must done through make.conf in gentoo
85 + local myconf=(
86 + --libexecdir="${EPREFIX}"/usr/$(get_libdir)
87 + --disable-debug
88 + --disable-examples
89 + --disable-static
90 + --disable-valgrind
91 + --enable-check
92 + $(multilib_native_use_enable introspection)
93 + $(use_enable nls)
94 + $(use_enable test tests)
95 + --with-bash-completion-dir="$(get_bashcompdir)"
96 + --with-package-name="GStreamer ebuild for Gentoo"
97 + --with-package-origin="https://packages.gentoo.org/package/media-libs/gstreamer"
98 + )
99 +
100 + if use caps ; then
101 + myconf+=( --with-ptp-helper-permissions=capabilities )
102 + else
103 + myconf+=(
104 + --with-ptp-helper-permissions=setuid-root
105 + --with-ptp-helper-setuid-user=nobody
106 + --with-ptp-helper-setuid-group=nobody
107 + )
108 + fi
109 +
110 + ECONF_SOURCE="${S}" econf ${myconf[$@]}
111 +
112 + if multilib_is_native_abi; then
113 + local x
114 + for x in gst libs plugins; do
115 + ln -s "${S}"/docs/${x}/html docs/${x}/html || die
116 + done
117 + fi
118 +}
119 +
120 +multilib_src_install() {
121 + # can't do "default", we want to install docs in multilib_src_install_all
122 + emake DESTDIR="${D}" install
123 +
124 + # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579
125 + use orc && pax-mark -m "${ED}usr/$(get_libdir)/gstreamer-${SLOT}/gst-plugin-scanner"
126 +}
127 +
128 +multilib_src_install_all() {
129 + DOCS="AUTHORS ChangeLog NEWS MAINTAINERS README RELEASE"
130 + einstalldocs
131 + prune_libtool_files --modules
132 +
133 + # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579
134 + use orc && pax-mark -m "${ED}usr/bin/gst-launch-${SLOT}"
135 +}