Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/
Date: Sat, 18 Aug 2018 04:53:48
Message-Id: 1534567996.e28ad2e5f4d43431d39369ab5cb3f5ffcc8926e3.mattst88@gentoo
1 commit: e28ad2e5f4d43431d39369ab5cb3f5ffcc8926e3
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 18 04:02:24 2018 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 18 04:53:16 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e28ad2e5
7
8 media-libs/mesa: Drop USE=openmax support
9
10 No known consumers. Reverse dependency media-libs/libomxil-bellagio
11 seems to be unmaintained upstream.
12
13 media-libs/mesa/mesa-9999.ebuild | 31 ++-----------------------------
14 1 file changed, 2 insertions(+), 29 deletions(-)
15
16 diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild
17 index 6e51f277caf..459f3e38e68 100644
18 --- a/media-libs/mesa/mesa-9999.ebuild
19 +++ b/media-libs/mesa/mesa-9999.ebuild
20 @@ -37,14 +37,13 @@ done
21
22 IUSE="${IUSE_VIDEO_CARDS}
23 +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 +llvm lm_sensors
24 - opencl osmesa openmax pax_kernel pic selinux test unwind vaapi valgrind
25 - vdpau vulkan wayland xa xvmc"
26 + opencl osmesa pax_kernel pic selinux test unwind vaapi valgrind vdpau
27 + vulkan wayland xa xvmc"
28
29 REQUIRED_USE="
30 d3d9? ( dri3 gallium )
31 llvm? ( gallium )
32 opencl? ( gallium llvm || ( video_cards_r600 video_cards_radeonsi ) )
33 - openmax? ( gallium )
34 gles1? ( egl )
35 gles2? ( egl )
36 lm_sensors? ( gallium )
37 @@ -106,10 +105,6 @@ RDEPEND="
38 dev-libs/libclc
39 virtual/libelf:0=[${MULTILIB_USEDEP}]
40 )
41 - openmax? (
42 - >=media-libs/libomxil-bellagio-0.9.3:=[${MULTILIB_USEDEP}]
43 - x11-misc/xdg-utils
44 - )
45 vaapi? (
46 >=x11-libs/libva-1.7.3:=[${MULTILIB_USEDEP}]
47 video_cards_nouveau? ( !<=x11-libs/libva-vdpau-driver-0.7.4-r3 )
48 @@ -300,7 +295,6 @@ multilib_src_configure() {
49 emesonargs+=(
50 $(meson_use d3d9 gallium-nine)
51 $(meson_use llvm)
52 - -Dgallium-omx=$(usex openmax bellagio disabled)
53 $(meson_use vaapi gallium-va)
54 $(meson_use vdpau gallium-vdpau)
55 $(meson_use xa gallium-xa)
56 @@ -412,12 +406,6 @@ multilib_src_install() {
57 fi
58 eend $?
59 fi
60 -
61 - if use openmax; then
62 - echo "XDG_DATA_DIRS=\"${EPREFIX}/usr/share/mesa/xdg\"" > "${T}/99mesaxdgomx"
63 - doenvd "${T}"/99mesaxdgomx
64 - keepdir /usr/share/mesa/xdg
65 - fi
66 }
67
68 multilib_src_install_all() {
69 @@ -437,21 +425,6 @@ pkg_postinst() {
70 if use opencl; then
71 eselect opencl set --use-old ${PN}
72 fi
73 -
74 - # run omxregister-bellagio to make the OpenMAX drivers known system-wide
75 - if use openmax; then
76 - ebegin "Registering OpenMAX drivers"
77 - BELLAGIO_SEARCH_PATH="${EPREFIX}/usr/$(get_libdir)/libomxil-bellagio0" \
78 - OMX_BELLAGIO_REGISTRY=${EPREFIX}/usr/share/mesa/xdg/.omxregister \
79 - omxregister-bellagio
80 - eend $?
81 - fi
82 -}
83 -
84 -pkg_prerm() {
85 - if use openmax; then
86 - rm "${EPREFIX}"/usr/share/mesa/xdg/.omxregister
87 - fi
88 }
89
90 # $1 - VIDEO_CARDS flag (check skipped for "--")