mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
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 <leio@gentoo.org>
This commit is contained in:
@@ -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}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user