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/gst-plugins-base/
Date: Tue, 05 Feb 2019 23:58:49
Message-Id: 1549410997.d25b66de6fdb4bfec82354c44e32c4123a8b3241.leio@gentoo
1 commit: d25b66de6fdb4bfec82354c44e32c4123a8b3241
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 5 23:55:33 2019 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 5 23:56:37 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d25b66de
7
8 media-libs/gst-plugins-base: remove old
9
10 Package-Manager: Portage-2.3.52, Repoman-2.3.12
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 media-libs/gst-plugins-base/Manifest | 1 -
14 .../gst-plugins-base-1.14.1.ebuild | 181 ---------------------
15 2 files changed, 182 deletions(-)
16
17 diff --git a/media-libs/gst-plugins-base/Manifest b/media-libs/gst-plugins-base/Manifest
18 index c8bbacf0e7c..5a9145ce7f0 100644
19 --- a/media-libs/gst-plugins-base/Manifest
20 +++ b/media-libs/gst-plugins-base/Manifest
21 @@ -1,3 +1,2 @@
22 DIST gst-plugins-base-0.10.36.tar.xz 2364108 BLAKE2B a71ef5d5c7462d60937602681c060e85ed086a753b7ef354dad48354d6c3741d809f2c0c6a321ef9ac60fb12d24ec65e1baa63e51211134d2a5e03aae16f73d2 SHA512 ea77778e073515df58229a641b4363df31f0b80204a5a43a8feb31f0b03a5a4b9b79d6e07e1615c773a59927a9b649f1b1d782def1120d581d09a090be8363b8
23 -DIST gst-plugins-base-1.14.1.tar.xz 3689184 BLAKE2B 17abcab2c84b113180de55d6c781ae11feec66c215febfffefe4a22353c56e82a585647688e2078603b6c3ece6f26afa99969091a72886880a2f8549dd9cb379 SHA512 bca9db8780fe24c19a2c4eae9a16dc0856cb38077580e4344bd4f7fa9a7a03079b92556ff35475a574f624a5a721d80ef925790670e4cc809361ed01108a141e
24 DIST gst-plugins-base-1.14.4.tar.xz 3703232 BLAKE2B b22c44b857bc4f1972f03752cc1afb35c8d76e2d0c4a06c574af0ac4f3a91080c584ae4e4fc2a263ee879a53d58505c24a756ebc051d81ec62661c4f9e532f0e SHA512 42c59df9f2d848108f12afa0466acbcfa5ccda64e4d0d44608d4268abed20f2e036713de04e7d71feaed1868ad742c5bcb55ae0eef5dec8e19e053dc8541b8af
25
26 diff --git a/media-libs/gst-plugins-base/gst-plugins-base-1.14.1.ebuild b/media-libs/gst-plugins-base/gst-plugins-base-1.14.1.ebuild
27 deleted file mode 100644
28 index f8ee12bf8f2..00000000000
29 --- a/media-libs/gst-plugins-base/gst-plugins-base-1.14.1.ebuild
30 +++ /dev/null
31 @@ -1,181 +0,0 @@
32 -# Copyright 1999-2018 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -GST_ORG_MODULE="gst-plugins-base"
37 -
38 -inherit flag-o-matic ltprune gstreamer
39 -
40 -DESCRIPTION="Basepack of plugins for gstreamer"
41 -HOMEPAGE="https://gstreamer.freedesktop.org/"
42 -
43 -LICENSE="GPL-2+ LGPL-2+"
44 -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"
45 -
46 -# For OpenGL we have three separate concepts, with a list of possibilities in each:
47 -# * opengl APIs - opengl and/or gles2; USE=opengl and USE=gles2 enable these accordingly; if neither is enabled, OpenGL helper library and elements are not built at all and all the other options aren't relevant
48 -# * opengl platforms - glx and/or egl; also cgl, wgl, eagl for non-linux; USE="X opengl" enables glx platform; USE="egl" enables egl platform. Rest is up for relevant prefix teams.
49 -# * opengl windowing system - x11, wayland, win32, cocoa, android, viv_fb, gbm and/or dispmanx; USE=X enables x11 (but for WSI it's automagic - FIXME), USE=wayland enables wayland, USE=gbm enables gbm (automagic upstream - FIXME); rest is up for relevant prefix/arch teams/contributors to test and provide patches
50 -# With the following limitations:
51 -# * If opengl and/or gles2 is enabled, a platform has to be enabled - x11 or egl in our case, but x11 (glx) is acceptable only with opengl
52 -# * If opengl and/or gles2 is enabled, a windowing system has to be enabled - x11, wayland or gbm in our case
53 -# * glx platform requires opengl API
54 -# * wayland, gbm and most other non-glx WSIs require egl platform
55 -# Additionally there is optional dmabuf support with egl for additional dmabuf based upload/download/eglimage options;
56 -# and optional graphene usage for gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader;
57 -# and libpng/jpeg are required for gloverlay element;
58 -
59 -# Keep default IUSE options for relevant ones mirrored with gst-plugins-gtk and gst-plugins-bad
60 -IUSE="alsa +egl gbm gles2 +introspection ivorbis +ogg +opengl +orc +pango theora +vorbis wayland +X"
61 -GL_REQUIRED_USE="
62 - || ( gbm wayland X )
63 - wayland? ( egl )
64 - gbm? ( egl )
65 -"
66 -REQUIRED_USE="
67 - ivorbis? ( ogg )
68 - theora? ( ogg )
69 - vorbis? ( ogg )
70 - opengl? ( || ( egl X ) ${GL_REQUIRED_USE} )
71 - gles2? ( egl ${GL_REQUIRED_USE} )
72 -"
73 -
74 -# Dependencies needed by opengl library and plugin (enabled via USE gles2 and/or opengl)
75 -# dmabuf automagic from libdrm headers (drm_fourcc.h) and EGL, so ensure it with USE=egl (platform independent header used only, thus no MULTILIB_USEDEP); provides dmabuf based upload/download/eglimage options
76 -GL_DEPS="
77 - >=media-libs/mesa-9.0[egl?,gbm?,gles2?,wayland?,${MULTILIB_USEDEP}]
78 - egl? (
79 - x11-libs/libdrm
80 - )
81 - gbm? (
82 - >=dev-libs/libgudev-147[${MULTILIB_USEDEP}]
83 - >=x11-libs/libdrm-2.4.55[${MULTILIB_USEDEP}]
84 - )
85 - wayland? (
86 - dev-libs/wayland[${MULTILIB_USEDEP}]
87 - )
88 -
89 - media-libs/libpng:0[${MULTILIB_USEDEP}]
90 - virtual/jpeg:0[${MULTILIB_USEDEP}]
91 -" # graphene for optional gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader; libpng/jpeg for gloverlay element
92 -# >=media-libs/graphene-1.4.0[${MULTILIB_USEDEP}]
93 -
94 -RDEPEND="
95 - app-text/iso-codes
96 - >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}]
97 - >=media-libs/gstreamer-${PV}:1.0[introspection?,${MULTILIB_USEDEP}]
98 - >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
99 - alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
100 - introspection? ( >=dev-libs/gobject-introspection-1.31.1:= )
101 - ivorbis? ( >=media-libs/tremor-0_pre20130223[${MULTILIB_USEDEP}] )
102 - ogg? ( >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] )
103 - orc? ( >=dev-lang/orc-0.4.24[${MULTILIB_USEDEP}] )
104 - pango? ( >=x11-libs/pango-1.36.3[${MULTILIB_USEDEP}] )
105 - theora? ( >=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}] )
106 - vorbis? ( >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] )
107 - X? (
108 - >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
109 - >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
110 - >=x11-libs/libXv-1.0.10[${MULTILIB_USEDEP}]
111 - )
112 -
113 - gles2? ( ${GL_DEPS} )
114 - opengl? ( ${GL_DEPS} )
115 -
116 - !<media-libs/gst-plugins-bad-1.13.1:1.0
117 -"
118 -DEPEND="${RDEPEND}
119 - >=dev-util/gtk-doc-am-1.12
120 - X? ( x11-base/xorg-proto )
121 -"
122 -
123 -src_prepare() {
124 - # Disable GL tests for now; prone to fail with EGL_NOT_INITIALIZED, etc
125 - sed -i -e '/^@USE_GL_TRUE@/d' tests/check/Makefile.in
126 - default
127 -}
128 -
129 -multilib_src_configure() {
130 - filter-flags -mno-sse -mno-sse2 -mno-sse4.1 #610340
131 -
132 - local myconf=()
133 - # FIXME: Automagic gbm and x11 wsi
134 - if use opengl || use gles2; then
135 - myconf+=(
136 - --enable-gl
137 - $(use_enable egl)
138 - $(use_enable gles2)
139 - $(use_enable opengl)
140 - $(use_enable wayland)
141 - $(use_enable X x11)
142 - )
143 - else
144 - myconf+=(
145 - --disable-gl
146 - --disable-egl
147 - --disable-gles2
148 - --disable-opengl
149 - --disable-wayland
150 - --disable-x11
151 - )
152 - fi
153 -
154 - if use opengl && use X; then
155 - # GLX requires desktop OpenGL and X
156 - myconf+=( --enable-glx )
157 - else
158 - myconf+=( --disable-glx )
159 - fi
160 -
161 - myconf+=(
162 - --disable-cocoa
163 - --disable-dispmanx
164 - --disable-wgl
165 - )
166 -
167 - gstreamer_multilib_src_configure \
168 - $(use_enable alsa) \
169 - $(multilib_native_use_enable introspection) \
170 - $(use_enable ivorbis) \
171 - $(use_enable ogg) \
172 - $(use_enable orc) \
173 - $(use_enable pango) \
174 - $(use_enable theora) \
175 - $(use_enable vorbis) \
176 - $(use_enable X x) \
177 - $(use_enable X xshm) \
178 - $(use_enable X xvideo) \
179 - --enable-iso-codes \
180 - --enable-zlib \
181 - --disable-debug \
182 - --disable-examples \
183 - --disable-static \
184 - "${myconf[@]}"
185 - # cdparanoia and libvisual are split out, per leio's request
186 -
187 - # bug #366931, flag-o-matic for the whole thing is overkill
188 - if [[ ${CHOST} == *86-*-darwin* ]] ; then
189 - sed -i \
190 - -e '/FLAGS = /s|-O[23]|-O1|g' \
191 - gst/audioconvert/Makefile \
192 - gst/volume/Makefile || die
193 - fi
194 -
195 - if multilib_is_native_abi; then
196 - local x
197 - for x in libs plugins; do
198 - ln -s "${S}"/docs/${x}/html docs/${x}/html || die
199 - done
200 - fi
201 -}
202 -
203 -multilib_src_install_all() {
204 - DOCS="AUTHORS NEWS README RELEASE"
205 - einstalldocs
206 - prune_libtool_files --modules
207 -}
208 -
209 -multilib_src_test() {
210 - unset GSETTINGS_BACKEND
211 - emake check
212 -}