commit:     258b506a4da896cc011e52995c6168bcf214ae9c
Author:     g3ngr33n <gengreen <AT> tutanota <DOT> com>
AuthorDate: Mon Dec  3 01:24:48 2018 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Mon Dec  3 05:07:24 2018 +0000
URL:        https://gitweb.gentoo.org/proj/musl.git/commit/?id=258b506a

media-libs/mesa: openmax support removed

Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>

 media-libs/mesa/mesa-18.1.6-r1.ebuild | 31 ++-----------------------------
 media-libs/mesa/mesa-18.1.6.ebuild    | 31 ++-----------------------------
 media-libs/mesa/mesa-18.1.9-r1.ebuild | 29 +----------------------------
 media-libs/mesa/mesa-18.1.9.ebuild    | 31 ++-----------------------------
 media-libs/mesa/metadata.xml          |  1 -
 5 files changed, 7 insertions(+), 116 deletions(-)

diff --git a/media-libs/mesa/mesa-18.1.6-r1.ebuild 
b/media-libs/mesa/mesa-18.1.6-r1.ebuild
index 134fcaf..8e43662 100644
--- a/media-libs/mesa/mesa-18.1.6-r1.ebuild
+++ b/media-libs/mesa/mesa-18.1.6-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -40,14 +40,13 @@ done
 
 IUSE="${IUSE_VIDEO_CARDS}
        bindist +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 unwind
-       +llvm +nptl opencl osmesa pax_kernel openmax pic selinux vaapi valgrind
+       +llvm +nptl opencl osmesa pax_kernel pic selinux vaapi valgrind
        vdpau vulkan wayland xvmc xa"
 
 REQUIRED_USE="
        d3d9?   ( dri3 gallium )
        llvm?   ( gallium )
        opencl? ( gallium llvm || ( video_cards_r600 video_cards_radeonsi ) )
-       openmax? ( gallium )
        gles1?  ( egl )
        gles2?  ( egl )
        vaapi? ( gallium )
@@ -105,10 +104,6 @@ RDEPEND="
                                dev-libs/libclc
                                virtual/libelf:0=[${MULTILIB_USEDEP}]
                        )
-       openmax? (
-               >=media-libs/libomxil-bellagio-0.9.3:=[${MULTILIB_USEDEP}]
-               x11-misc/xdg-utils
-       )
        vaapi? (
                >=x11-libs/libva-1.7.3:=[${MULTILIB_USEDEP}]
                video_cards_nouveau? ( !<=x11-libs/libva-vdpau-driver-0.7.4-r3 )
@@ -317,7 +312,6 @@ multilib_src_configure() {
                myconf+="
                        $(use_enable d3d9 nine)
                        $(use_enable llvm)
-                       $(use_enable openmax omx-bellagio)
                        $(use_enable vaapi va)
                        $(use_enable vdpau)
                        $(use_enable xa)
@@ -431,12 +425,6 @@ multilib_src_install() {
                fi
                eend $?
        fi
-
-       if use openmax; then
-               echo "XDG_DATA_DIRS=\"${EPREFIX}/usr/share/mesa/xdg\"" > 
"${T}/99mesaxdgomx"
-               doenvd "${T}"/99mesaxdgomx
-               keepdir /usr/share/mesa/xdg
-       fi
 }
 
 multilib_src_install_all() {
@@ -469,15 +457,6 @@ pkg_postinst() {
                eselect opencl set --use-old ${PN}
        fi
 
-       # run omxregister-bellagio to make the OpenMAX drivers known system-wide
-       if use openmax; then
-               ebegin "Registering OpenMAX drivers"
-               
BELLAGIO_SEARCH_PATH="${EPREFIX}/usr/$(get_libdir)/libomxil-bellagio0" \
-                       
OMX_BELLAGIO_REGISTRY=${EPREFIX}/usr/share/mesa/xdg/.omxregister \
-                       omxregister-bellagio
-               eend $?
-       fi
-
        # warn about patent encumbered texture-float
        if use !bindist; then
                elog "USE=\"bindist\" was not set. Potentially patent 
encumbered code was"
@@ -486,12 +465,6 @@ pkg_postinst() {
        fi
 }
 
-pkg_prerm() {
-       if use openmax; then
-               rm "${EPREFIX}"/usr/share/mesa/xdg/.omxregister
-       fi
-}
-
 # $1 - VIDEO_CARDS flag
 # other args - names of DRI drivers to enable
 # TODO: avoid code duplication for a more elegant implementation

diff --git a/media-libs/mesa/mesa-18.1.6.ebuild 
b/media-libs/mesa/mesa-18.1.6.ebuild
index d922b30..3145d0d 100644
--- a/media-libs/mesa/mesa-18.1.6.ebuild
+++ b/media-libs/mesa/mesa-18.1.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -40,14 +40,13 @@ done
 
 IUSE="${IUSE_VIDEO_CARDS}
        bindist +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 unwind
-       +llvm +nptl opencl osmesa pax_kernel openmax pic selinux vaapi valgrind
+       +llvm +nptl opencl osmesa pax_kernel pic selinux vaapi valgrind
        vdpau vulkan wayland xvmc xa"
 
 REQUIRED_USE="
        d3d9?   ( dri3 gallium )
        llvm?   ( gallium )
        opencl? ( gallium llvm || ( video_cards_r600 video_cards_radeonsi ) )
-       openmax? ( gallium )
        gles1?  ( egl )
        gles2?  ( egl )
        vaapi? ( gallium )
@@ -105,10 +104,6 @@ RDEPEND="
                                dev-libs/libclc
                                virtual/libelf:0=[${MULTILIB_USEDEP}]
                        )
-       openmax? (
-               >=media-libs/libomxil-bellagio-0.9.3:=[${MULTILIB_USEDEP}]
-               x11-misc/xdg-utils
-       )
        vaapi? (
                >=x11-libs/libva-1.7.3:=[${MULTILIB_USEDEP}]
                video_cards_nouveau? ( !<=x11-libs/libva-vdpau-driver-0.7.4-r3 )
@@ -316,7 +311,6 @@ multilib_src_configure() {
                myconf+="
                        $(use_enable d3d9 nine)
                        $(use_enable llvm)
-                       $(use_enable openmax omx-bellagio)
                        $(use_enable vaapi va)
                        $(use_enable vdpau)
                        $(use_enable xa)
@@ -430,12 +424,6 @@ multilib_src_install() {
                fi
                eend $?
        fi
-
-       if use openmax; then
-               echo "XDG_DATA_DIRS=\"${EPREFIX}/usr/share/mesa/xdg\"" > 
"${T}/99mesaxdgomx"
-               doenvd "${T}"/99mesaxdgomx
-               keepdir /usr/share/mesa/xdg
-       fi
 }
 
 multilib_src_install_all() {
@@ -468,15 +456,6 @@ pkg_postinst() {
                eselect opencl set --use-old ${PN}
        fi
 
-       # run omxregister-bellagio to make the OpenMAX drivers known system-wide
-       if use openmax; then
-               ebegin "Registering OpenMAX drivers"
-               
BELLAGIO_SEARCH_PATH="${EPREFIX}/usr/$(get_libdir)/libomxil-bellagio0" \
-                       
OMX_BELLAGIO_REGISTRY=${EPREFIX}/usr/share/mesa/xdg/.omxregister \
-                       omxregister-bellagio
-               eend $?
-       fi
-
        # warn about patent encumbered texture-float
        if use !bindist; then
                elog "USE=\"bindist\" was not set. Potentially patent 
encumbered code was"
@@ -485,12 +464,6 @@ pkg_postinst() {
        fi
 }
 
-pkg_prerm() {
-       if use openmax; then
-               rm "${EPREFIX}"/usr/share/mesa/xdg/.omxregister
-       fi
-}
-
 # $1 - VIDEO_CARDS flag
 # other args - names of DRI drivers to enable
 # TODO: avoid code duplication for a more elegant implementation

diff --git a/media-libs/mesa/mesa-18.1.9-r1.ebuild 
b/media-libs/mesa/mesa-18.1.9-r1.ebuild
index 97dd357..ca6486f 100644
--- a/media-libs/mesa/mesa-18.1.9-r1.ebuild
+++ b/media-libs/mesa/mesa-18.1.9-r1.ebuild
@@ -40,14 +40,13 @@ done
 
 IUSE="${IUSE_VIDEO_CARDS}
        bindist +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 unwind
-       +llvm +nptl opencl osmesa pax_kernel openmax pic selinux vaapi valgrind
+       +llvm +nptl opencl osmesa pax_kernel pic selinux vaapi valgrind
        vdpau vulkan wayland xvmc xa"
 
 REQUIRED_USE="
        d3d9?   ( dri3 gallium )
        llvm?   ( gallium )
        opencl? ( gallium llvm || ( video_cards_r600 video_cards_radeonsi ) )
-       openmax? ( gallium )
        gles1?  ( egl )
        gles2?  ( egl )
        vaapi? ( gallium )
@@ -105,10 +104,6 @@ RDEPEND="
                                dev-libs/libclc
                                virtual/libelf:0=[${MULTILIB_USEDEP}]
                        )
-       openmax? (
-               >=media-libs/libomxil-bellagio-0.9.3:=[${MULTILIB_USEDEP}]
-               x11-misc/xdg-utils
-       )
        vaapi? (
                >=x11-libs/libva-1.7.3:=[${MULTILIB_USEDEP}]
                video_cards_nouveau? ( !<=x11-libs/libva-vdpau-driver-0.7.4-r3 )
@@ -317,7 +312,6 @@ multilib_src_configure() {
                myconf+="
                        $(use_enable d3d9 nine)
                        $(use_enable llvm)
-                       $(use_enable openmax omx-bellagio)
                        $(use_enable vaapi va)
                        $(use_enable vdpau)
                        $(use_enable xa)
@@ -431,12 +425,6 @@ multilib_src_install() {
                fi
                eend $?
        fi
-
-       if use openmax; then
-               echo "XDG_DATA_DIRS=\"${EPREFIX}/usr/share/mesa/xdg\"" > 
"${T}/99mesaxdgomx"
-               doenvd "${T}"/99mesaxdgomx
-               keepdir /usr/share/mesa/xdg
-       fi
 }
 
 multilib_src_install_all() {
@@ -469,15 +457,6 @@ pkg_postinst() {
                eselect opencl set --use-old ${PN}
        fi
 
-       # run omxregister-bellagio to make the OpenMAX drivers known system-wide
-       if use openmax; then
-               ebegin "Registering OpenMAX drivers"
-               
BELLAGIO_SEARCH_PATH="${EPREFIX}/usr/$(get_libdir)/libomxil-bellagio0" \
-                       
OMX_BELLAGIO_REGISTRY=${EPREFIX}/usr/share/mesa/xdg/.omxregister \
-                       omxregister-bellagio
-               eend $?
-       fi
-
        # warn about patent encumbered texture-float
        if use !bindist; then
                elog "USE=\"bindist\" was not set. Potentially patent 
encumbered code was"
@@ -486,12 +465,6 @@ pkg_postinst() {
        fi
 }
 
-pkg_prerm() {
-       if use openmax; then
-               rm "${EPREFIX}"/usr/share/mesa/xdg/.omxregister
-       fi
-}
-
 # $1 - VIDEO_CARDS flag
 # other args - names of DRI drivers to enable
 # TODO: avoid code duplication for a more elegant implementation

diff --git a/media-libs/mesa/mesa-18.1.9.ebuild 
b/media-libs/mesa/mesa-18.1.9.ebuild
index cdc5915..e61e3fd 100644
--- a/media-libs/mesa/mesa-18.1.9.ebuild
+++ b/media-libs/mesa/mesa-18.1.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -40,14 +40,13 @@ done
 
 IUSE="${IUSE_VIDEO_CARDS}
        bindist +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 unwind
-       +llvm +nptl opencl osmesa pax_kernel openmax pic selinux vaapi valgrind
+       +llvm +nptl opencl osmesa pax_kernel pic selinux vaapi valgrind
        vdpau vulkan wayland xvmc xa"
 
 REQUIRED_USE="
        d3d9?   ( dri3 gallium )
        llvm?   ( gallium )
        opencl? ( gallium llvm || ( video_cards_r600 video_cards_radeonsi ) )
-       openmax? ( gallium )
        gles1?  ( egl )
        gles2?  ( egl )
        vaapi? ( gallium )
@@ -105,10 +104,6 @@ RDEPEND="
                                dev-libs/libclc
                                virtual/libelf:0=[${MULTILIB_USEDEP}]
                        )
-       openmax? (
-               >=media-libs/libomxil-bellagio-0.9.3:=[${MULTILIB_USEDEP}]
-               x11-misc/xdg-utils
-       )
        vaapi? (
                >=x11-libs/libva-1.7.3:=[${MULTILIB_USEDEP}]
                video_cards_nouveau? ( !<=x11-libs/libva-vdpau-driver-0.7.4-r3 )
@@ -316,7 +311,6 @@ multilib_src_configure() {
                myconf+="
                        $(use_enable d3d9 nine)
                        $(use_enable llvm)
-                       $(use_enable openmax omx-bellagio)
                        $(use_enable vaapi va)
                        $(use_enable vdpau)
                        $(use_enable xa)
@@ -430,12 +424,6 @@ multilib_src_install() {
                fi
                eend $?
        fi
-
-       if use openmax; then
-               echo "XDG_DATA_DIRS=\"${EPREFIX}/usr/share/mesa/xdg\"" > 
"${T}/99mesaxdgomx"
-               doenvd "${T}"/99mesaxdgomx
-               keepdir /usr/share/mesa/xdg
-       fi
 }
 
 multilib_src_install_all() {
@@ -468,15 +456,6 @@ pkg_postinst() {
                eselect opencl set --use-old ${PN}
        fi
 
-       # run omxregister-bellagio to make the OpenMAX drivers known system-wide
-       if use openmax; then
-               ebegin "Registering OpenMAX drivers"
-               
BELLAGIO_SEARCH_PATH="${EPREFIX}/usr/$(get_libdir)/libomxil-bellagio0" \
-                       
OMX_BELLAGIO_REGISTRY=${EPREFIX}/usr/share/mesa/xdg/.omxregister \
-                       omxregister-bellagio
-               eend $?
-       fi
-
        # warn about patent encumbered texture-float
        if use !bindist; then
                elog "USE=\"bindist\" was not set. Potentially patent 
encumbered code was"
@@ -485,12 +464,6 @@ pkg_postinst() {
        fi
 }
 
-pkg_prerm() {
-       if use openmax; then
-               rm "${EPREFIX}"/usr/share/mesa/xdg/.omxregister
-       fi
-}
-
 # $1 - VIDEO_CARDS flag
 # other args - names of DRI drivers to enable
 # TODO: avoid code duplication for a more elegant implementation

diff --git a/media-libs/mesa/metadata.xml b/media-libs/mesa/metadata.xml
index 8e1144c..f978f99 100644
--- a/media-libs/mesa/metadata.xml
+++ b/media-libs/mesa/metadata.xml
@@ -17,7 +17,6 @@
                <flag name="gles2">Enable GLESv2 support.</flag>
                <flag name="llvm">Enable LLVM backend for Gallium3D.</flag>
                <flag name="opencl">Enable the Clover Gallium OpenCL state 
tracker.</flag>
-               <flag name="openmax">Enable OpenMAX video decode/encode 
acceleration for Gallium3D.</flag>
                <flag name="osmesa">Build the Mesa library for off-screen 
rendering.</flag>
                <flag name="pax_kernel">Enable if the user plans to run the 
package under a pax enabled hardened kernel</flag>
                <flag name="pic">disable optimized assembly code that is not 
PIC friendly</flag>

Reply via email to