Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/gstreamer/
Date: Wed, 03 Oct 2018 16:24:58
Message-Id: 1538583473.7bf0b6e7e7ba1ef2cdc036b4482f3b9d26ca15ca.leio@gentoo
1 commit: 7bf0b6e7e7ba1ef2cdc036b4482f3b9d26ca15ca
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 3 12:20:15 2018 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 3 16:17:53 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bf0b6e7
7
8 media-libs/gstreamer: bump to 1.14.4, no code changes from 1.14.3
9
10 Includes the gstsegment 32bit test fix patch upstream, but we had that
11 patched in in 1.14.3. Bump still needed for satisfying deps of all other
12 gstreamer packages.
13
14 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
15 Package-Manager: Portage-2.3.49, Repoman-2.3.11
16
17 media-libs/gstreamer/Manifest | 1 +
18 media-libs/gstreamer/gstreamer-1.14.4.ebuild | 111 +++++++++++++++++++++++++++
19 2 files changed, 112 insertions(+)
20
21 diff --git a/media-libs/gstreamer/Manifest b/media-libs/gstreamer/Manifest
22 index 461f3b76b2a..a0a6a3781b0 100644
23 --- a/media-libs/gstreamer/Manifest
24 +++ b/media-libs/gstreamer/Manifest
25 @@ -2,3 +2,4 @@ DIST gstreamer-0.10.36.tar.xz 3025876 BLAKE2B f0f70f483e8ccb2a294fb3bc8b51aac089
26 DIST gstreamer-1.14.1.tar.xz 3252440 BLAKE2B c2142621b126926dd9ec886f0478154b3f0d9b7adebc6169200b8bc7e4cd089dfe77cab2b436bf3c74cbcae5f84c95afbd05ba282d0afe3e8e226e6bc0f33e33 SHA512 9cf16d79774293dd7fa10c08f6628b83f4e77f0386bebbfd47ded0498e4abd48eee1aee164af53d59fbea2d395e42eb5a12ef4b8f631bc4fd5d4f69545191f9b
27 DIST gstreamer-1.14.2.tar.xz 3255404 BLAKE2B 290e8fec3eb6629a0e6e8f01c7c027fcc085f632afeac1ffe7bd4f1d8a9a3d3b78145334a11c91fcabea40b9f202a3b451ca55db13fd23be66c7167c76614932 SHA512 270dba318d15b54fff6e09d09d77dea13be55bbf82a5bb510efb43f954e234230505366cc6f19f5431e2dd24f5a7734daf5a89d9bd94de8302ed722df0e1eb84
28 DIST gstreamer-1.14.3.tar.xz 3263036 BLAKE2B 20170b831064ea49565d7a4529563e4e9273def28d33eda779c7e3f4a60989b64844c271da529bdbbaebf80a8a86c37b97af4a18c4d0aae6182be608f3dcf345 SHA512 bfbf76219b5275b00253797323c4fc7b4edb8513d5441c80a8f778b418837c68e9ff37a72a78ac2431a051e813397fb01464bebddd1522b9e4a225ed505342b7
29 +DIST gstreamer-1.14.4.tar.xz 3264324 BLAKE2B d51febcd7c317964a09dadb4d3bd3ee7a60ac38bef28cdd7d42f49a7b710d6f6180ca7edee1765c8d146f7e3e852e93d0d5f69962089a653cfc3e6bd4ab42f89 SHA512 7ece9f01d40df7c8358482eac94536c5e15261e9568962008e2029e1ee1b3ebb220d2e4802ed1c81c40d897576fafe52234065e273724bfb4df3a3ddf2711abe
30
31 diff --git a/media-libs/gstreamer/gstreamer-1.14.4.ebuild b/media-libs/gstreamer/gstreamer-1.14.4.ebuild
32 new file mode 100644
33 index 00000000000..a35a13f8437
34 --- /dev/null
35 +++ b/media-libs/gstreamer/gstreamer-1.14.4.ebuild
36 @@ -0,0 +1,111 @@
37 +# Copyright 1999-2018 Gentoo Authors
38 +# Distributed under the terms of the GNU General Public License v2
39 +
40 +EAPI=6
41 +
42 +inherit bash-completion-r1 multilib-minimal pax-utils
43 +
44 +DESCRIPTION="Open source multimedia framework"
45 +HOMEPAGE="https://gstreamer.freedesktop.org/"
46 +SRC_URI="https://${PN}.freedesktop.org/src/${PN}/${P}.tar.xz"
47 +
48 +LICENSE="LGPL-2+"
49 +SLOT="1.0"
50 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
51 +IUSE="+caps +introspection nls +orc test unwind"
52 +
53 +RDEPEND="
54 + >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}]
55 + caps? ( sys-libs/libcap[${MULTILIB_USEDEP}] )
56 + introspection? ( >=dev-libs/gobject-introspection-1.31.1:= )
57 + unwind? (
58 + >=sys-libs/libunwind-1.2_rc1[${MULTILIB_USEDEP}]
59 + dev-libs/elfutils[${MULTILIB_USEDEP}]
60 + )
61 + !<media-libs/gst-plugins-bad-1.13.1:1.0
62 +"
63 +DEPEND="${RDEPEND}
64 + dev-util/glib-utils
65 + >=dev-util/gtk-doc-am-1.12
66 + sys-devel/bison
67 + sys-devel/flex
68 + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
69 + nls? ( sys-devel/gettext )
70 +"
71 +# gtk-doc-am to install API docs
72 +
73 +src_configure() {
74 + if [[ ${CHOST} == *-interix* ]] ; then
75 + export ac_cv_lib_dl_dladdr=no
76 + export ac_cv_func_poll=no
77 + fi
78 + if [[ ${CHOST} == powerpc-apple-darwin* ]] ; then
79 + # GCC groks this, but then refers to an implementation (___multi3,
80 + # ___udivti3) that don't exist (at least I can't find it), so force
81 + # this one to be off, such that we use 2x64bit emulation code.
82 + export gst_cv_uint128_t=no
83 + fi
84 +
85 + multilib-minimal_src_configure
86 +}
87 +
88 +multilib_src_configure() {
89 + local completiondir=$(get_bashcompdir)
90 + # Set 'libexecdir' to ABI-specific location for the library spawns
91 + # helpers from there.
92 + # Disable static archives and examples to speed up build time
93 + # Disable debug, as it only affects -g passing (debugging symbols), this must done through make.conf in gentoo
94 + local myconf=(
95 + --libexecdir="${EPREFIX}"/usr/$(get_libdir)
96 + --disable-benchmarks
97 + --disable-debug
98 + --disable-examples
99 + --disable-static
100 + --disable-valgrind
101 + --enable-check
102 + $(use_with unwind)
103 + $(use_with unwind dw)
104 + $(multilib_native_use_enable introspection)
105 + $(use_enable nls)
106 + $(use_enable test tests)
107 + --with-bash-completion-dir="${completiondir%/*}"
108 + --with-package-name="GStreamer ebuild for Gentoo"
109 + --with-package-origin="https://packages.gentoo.org/package/media-libs/gstreamer"
110 + )
111 +
112 + if use caps ; then
113 + myconf+=( --with-ptp-helper-permissions=capabilities )
114 + else
115 + myconf+=(
116 + --with-ptp-helper-permissions=setuid-root
117 + --with-ptp-helper-setuid-user=nobody
118 + --with-ptp-helper-setuid-group=nobody
119 + )
120 + fi
121 +
122 + ECONF_SOURCE="${S}" econf "${myconf[@]}"
123 +
124 + if multilib_is_native_abi; then
125 + local x
126 + for x in gst libs plugins; do
127 + ln -s "${S}"/docs/${x}/html docs/${x}/html || die
128 + done
129 + fi
130 +}
131 +
132 +multilib_src_install() {
133 + # can't do "default", we want to install docs in multilib_src_install_all
134 + emake DESTDIR="${D}" install
135 +
136 + # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579
137 + use orc && pax-mark -m "${ED}usr/$(get_libdir)/gstreamer-${SLOT}/gst-plugin-scanner"
138 +}
139 +
140 +multilib_src_install_all() {
141 + DOCS="AUTHORS ChangeLog NEWS MAINTAINERS README RELEASE"
142 + einstalldocs
143 + find "${ED}" -name '*.la' -delete || die
144 +
145 + # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579
146 + use orc && pax-mark -m "${ED}usr/bin/gst-launch-${SLOT}"
147 +}