From 0ff18ae524cfd86fc5b145db5cff13bb58a93ede Mon Sep 17 00:00:00 2001 From: Mart Raudsepp Date: Mon, 25 Mar 2024 10:10:44 +0200 Subject: [PATCH] media-libs/gstreamer: drop unused USE=orc I can't find any orc usage in the core module in recent history (including autotools era 1.14), yet it even had pax-markings for it for tools, so I assume it did use it long time ago? It isn't used anymore and we actually get a QA warning about it after the eclass fixups for false positives. While that QA warning still doesn't cover it well for non-splits, it turns out it's actually right - it is not used anywhere in the core module, so drop the USE flag and cleanup the phases that aren't needed anymore after removing the orc conditional pax-mark stuff. Signed-off-by: Mart Raudsepp --- media-libs/gstreamer/gstreamer-1.22.11.ebuild | 20 ++----------------- 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/media-libs/gstreamer/gstreamer-1.22.11.ebuild b/media-libs/gstreamer/gstreamer-1.22.11.ebuild index f03f42639f267..7bece84bbb701 100644 --- a/media-libs/gstreamer/gstreamer-1.22.11.ebuild +++ b/media-libs/gstreamer/gstreamer-1.22.11.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit gstreamer-meson pax-utils +inherit gstreamer-meson DESCRIPTION="Open source multimedia framework" HOMEPAGE="https://gstreamer.freedesktop.org/" @@ -12,7 +12,7 @@ SRC_URI="https://${PN}.freedesktop.org/src/${PN}/${P}.tar.xz" LICENSE="LGPL-2+" SLOT="1.0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="+caps +introspection +orc unwind" +IUSE="+caps +introspection unwind" # gstreamer-1.22.x requires 2.62, but 2.64 is strongly recommended RDEPEND=" @@ -55,19 +55,3 @@ multilib_src_configure() { gstreamer_multilib_src_configure } - -multilib_src_install() { - # can't do "default", we want to install docs in multilib_src_install_all - DESTDIR="${D}" eninja install - - # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579 - use orc && pax-mark -m "${ED}/usr/$(get_libdir)/gstreamer-${SLOT}/gst-plugin-scanner" -} - -multilib_src_install_all() { - einstalldocs - find "${ED}" -name '*.la' -delete || die - - # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579 - use orc && pax-mark -m "${ED}/usr/bin/gst-launch-${SLOT}" -}