Merge updates from master

This commit is contained in:
Repository mirror & CI
2023-06-10 10:33:32 +00:00
84 changed files with 76 additions and 462 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -60,12 +60,6 @@ src_compile() {
case ${CHOST} in
*-linux-*)
osname=linux;;
*-freebsd*)
osname=freebsd;;
*-kfrebsd-gnu)
osname=gnukfreebsd;;
*-openbsd*)
osname=openbsd;;
*)
die "Unsupported operating system!"
;;

View File

@@ -84,7 +84,7 @@ color magenta ":[^[:space:]]+([[:space:]]|$)"
color brightred "[[:space:]]+\+?[A-Za-z0-9+_@-]+"
color brightblue "[[:space:]]+-[A-Za-z0-9+_@-]+"
## Accepted arches:
color white "[~-]?\<(alpha|amd64|arm(64)?|hppa|ia64|loong|m68k|mips|ppc(64)?|riscv|s390|sparc|x86)(-(cygwin|linux|macos|solaris|winnt))?\>"
color white "[~-]?\<(alpha|amd64|arm(64)?|hppa|ia64|loong|m68k|mips|ppc(64)?|riscv|s390|sparc|x86)(-(linux|macos|solaris)?\>"
color white "[[:space:]][*~-]?\*"
## Categories:
color cyan "^[[:space:]]*[^/]*/"

View File

@@ -57,13 +57,11 @@ strip_completions() {
# Now-dead symlinks to deprecated completions
hd ncal
# FreeBSD
freebsd-update kldload kldunload portinstall portsnap
pkg_deinstall pkg_delete pkg_info
)
if [[ ${ARCH} != *-fbsd && ${ARCH} != *-freebsd ]]; then
strip_completions+=(
freebsd-update kldload kldunload portinstall portsnap
pkg_deinstall pkg_delete pkg_info
)
fi
local file
for file in "${strip_completions[@]}"; do

View File

@@ -51,13 +51,11 @@ strip_completions() {
# Now-dead symlinks to deprecated completions
hd ncal
# FreeBSD
freebsd-update kldload kldunload portinstall portsnap
pkg_deinstall pkg_delete pkg_info
)
if [[ ${ARCH} != *-fbsd && ${ARCH} != *-freebsd ]]; then
strip_completions+=(
freebsd-update kldload kldunload portinstall portsnap
pkg_deinstall pkg_delete pkg_info
)
fi
local file
for file in "${strip_completions[@]}"; do

View File

@@ -149,13 +149,8 @@ check_rebuild() {
pkg_setup() {
case ${CHOST} in
*-freebsd*) osname="freebsd" ;;
*-dragonfly*) osname="dragonfly" ;;
*-netbsd*) osname="netbsd" ;;
*-openbsd*) osname="openbsd" ;;
*-darwin*) osname="darwin" ;;
*-solaris*) osname="solaris" ;;
*-cygwin*) osname="cygwin" ;;
*) osname="linux" ;;
esac

View File

@@ -144,13 +144,8 @@ check_rebuild() {
pkg_setup() {
case ${CHOST} in
*-freebsd*) osname="freebsd" ;;
*-dragonfly*) osname="dragonfly" ;;
*-netbsd*) osname="netbsd" ;;
*-openbsd*) osname="openbsd" ;;
*-darwin*) osname="darwin" ;;
*-solaris*) osname="solaris" ;;
*-cygwin*) osname="cygwin" ;;
*) osname="linux" ;;
esac

View File

@@ -144,13 +144,8 @@ check_rebuild() {
pkg_setup() {
case ${CHOST} in
*-freebsd*) osname="freebsd" ;;
*-dragonfly*) osname="dragonfly" ;;
*-netbsd*) osname="netbsd" ;;
*-openbsd*) osname="openbsd" ;;
*-darwin*) osname="darwin" ;;
*-solaris*) osname="solaris" ;;
*-cygwin*) osname="cygwin" ;;
*) osname="linux" ;;
esac

View File

@@ -144,13 +144,8 @@ check_rebuild() {
pkg_setup() {
case ${CHOST} in
*-freebsd*) osname="freebsd" ;;
*-dragonfly*) osname="dragonfly" ;;
*-netbsd*) osname="netbsd" ;;
*-openbsd*) osname="openbsd" ;;
*-darwin*) osname="darwin" ;;
*-solaris*) osname="solaris" ;;
*-cygwin*) osname="cygwin" ;;
*) osname="linux" ;;
esac

View File

@@ -144,13 +144,8 @@ check_rebuild() {
pkg_setup() {
case ${CHOST} in
*-freebsd*) osname="freebsd" ;;
*-dragonfly*) osname="dragonfly" ;;
*-netbsd*) osname="netbsd" ;;
*-openbsd*) osname="openbsd" ;;
*-darwin*) osname="darwin" ;;
*-solaris*) osname="solaris" ;;
*-cygwin*) osname="cygwin" ;;
*) osname="linux" ;;
esac

View File

@@ -145,13 +145,8 @@ check_rebuild() {
pkg_setup() {
case ${CHOST} in
*-freebsd*) osname="freebsd" ;;
*-dragonfly*) osname="dragonfly" ;;
*-netbsd*) osname="netbsd" ;;
*-openbsd*) osname="openbsd" ;;
*-darwin*) osname="darwin" ;;
*-solaris*) osname="solaris" ;;
*-cygwin*) osname="cygwin" ;;
*) osname="linux" ;;
esac

View File

@@ -13,7 +13,7 @@ SRC_URI="https://gstreamer.freedesktop.org/src/${PN}/${P}.tar.xz"
LICENSE="LGPL-2+"
SLOT="1.0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -38,14 +38,6 @@ src_configure() {
OS=solaris;;
*-darwin*)
OS=osx;;
*-freebsd*)
OS=freebsd;;
*-netbsd*)
OS=netbsd;;
*-cygwin*)
OS=cygwin;;
**-irix**)
OS=irix;;
esac
export OS="${OS}"
elog "Detected OS is: ${OS}"

View File

@@ -476,7 +476,7 @@ apache-2_src_prepare() {
# 03_all_gentoo-apache-tools.patch injects -Wl,-z,now, which is not a good
# idea for everyone
case ${CHOST} in
*-linux-gnu|*-solaris*|*-freebsd*)
*-linux-gnu|*-solaris*)
# do nothing, these use GNU binutils
:
;;

View File

@@ -112,10 +112,7 @@ _meson_get_machine_info() {
# system roughly corresponds to uname -s (lowercase)
case ${tuple} in
*-aix*) system=aix ;;
*-cygwin*) system=cygwin ;;
*-darwin*) system=darwin ;;
*-freebsd*) system=freebsd ;;
*-linux*) system=linux ;;
mingw*|*-mingw*) system=windows ;;
*-solaris*) system=sunos ;;

View File

@@ -683,16 +683,7 @@ tc-ninja_magic_to_arch() {
frv*) echo frv;;
hexagon*) echo hexagon;;
hppa*) ninj parisc hppa;;
i?86*)
# Starting with linux-2.6.24, the 'x86_64' and 'i386'
# trees have been unified into 'x86'.
# FreeBSD still uses i386
if [[ ${type} == "kern" && ${host} == *freebsd* ]] ; then
echo i386
else
echo x86
fi
;;
i?86*) echo x86;;
ia64*) echo ia64;;
loongarch*) ninj loongarch loong;;
m68*) echo m68k;;
@@ -726,7 +717,6 @@ tc-ninja_magic_to_arch() {
;;
tile*) echo tile;;
vax*) echo vax;;
x86_64*freebsd*) echo amd64;;
x86_64*)
# Starting with linux-2.6.24, the 'x86_64' and 'i386'
# trees have been unified into 'x86'.
@@ -1077,7 +1067,7 @@ gen_usr_ldscript() {
case ${CTARGET:-${CHOST}} in
*-darwin*) ;;
*-android*) return 0 ;;
*linux*|*-freebsd*|*-openbsd*|*-netbsd*)
*linux*)
use prefix && return 0 ;;
*) return 0 ;;
esac

View File

@@ -1,4 +1,4 @@
# Copyright 2019-2022 Gentoo Authors
# Copyright 2019-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: usr-ldscript.eclass
@@ -55,7 +55,7 @@ gen_usr_ldscript() {
case ${CTARGET:-${CHOST}} in
*-darwin*) ;;
*-android*) return 0 ;;
*linux*|*-freebsd*|*-openbsd*|*-netbsd*)
*linux*)
use split-usr || return 0
;;
*) return 0 ;;

View File

@@ -273,21 +273,11 @@ xorg-3_src_unpack() {
xorg-3_reconf_source() {
debug-print-function ${FUNCNAME} "$@"
case ${CHOST} in
*-aix* | *-winnt*)
# some hosts need full eautoreconf
[[ -e "./configure.ac" || -e "./configure.in" ]] \
&& XORG_EAUTORECONF=yes
;;
*)
# elibtoolize required for BSD
[[ ${XORG_EAUTORECONF} != no && ( -e "./configure.ac" || -e "./configure.in" ) ]] \
&& XORG_EAUTORECONF=yes
;;
esac
[[ ${XORG_EAUTORECONF} != no ]] && eautoreconf
elibtoolize --patch-only
if [[ ${XORG_EAUTORECONF} != no ]] ; then
eautoreconf
else
elibtoolize --patch-only
fi
}
# @FUNCTION: xorg-3_src_prepare
@@ -326,9 +316,6 @@ xorg-3_font_configure() {
xorg-3_flags_setup() {
debug-print-function ${FUNCNAME} "$@"
# Win32 require special define
[[ ${CHOST} == *-winnt* ]] && append-cppflags -DWIN32 -D__STDC__
# Hardened flags break module autoloading et al (also fixes #778494)
if [[ ${PN} == xorg-server || ${PN} == xf86-video-* || ${PN} == xf86-input-* ]]; then
filter-flags -fno-plt

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -32,8 +32,6 @@ src_prepare() {
# don't do stupid Solaris specific stuff that won't work in Prefix
cp config/Makefile.linux config/Makefile.solaris || die
# and let freebsd be built as on linux too
cp config/Makefile.linux config/Makefile.freebsd || die
multilib_copy_sources
}
@@ -42,7 +40,6 @@ glew_system() {
# Set the SYSTEM variable instead of probing. #523444 #595280
case ${CHOST} in
*linux*) echo "linux" ;;
*-freebsd*) echo "freebsd" ;;
*-darwin*) echo "darwin" ;;
*-solaris*) echo "solaris" ;;
mingw*|*-mingw*) echo "mingw" ;;

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -31,8 +31,6 @@ src_prepare() {
# don't do stupid Solaris specific stuff that won't work in Prefix
cp config/Makefile.linux config/Makefile.solaris || die
# and let freebsd be built as on linux too
cp config/Makefile.linux config/Makefile.freebsd || die
multilib_copy_sources
}
@@ -41,7 +39,6 @@ glew_system() {
# Set the SYSTEM variable instead of probing. #523444 #595280
case ${CHOST} in
*linux*) echo "linux" ;;
*-freebsd*) echo "freebsd" ;;
*-darwin*) echo "darwin" ;;
*-solaris*) echo "solaris" ;;
mingw*|*-mingw*) echo "mingw" ;;

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -45,8 +45,6 @@ src_prepare() {
# don't do stupid Solaris specific stuff that won't work in Prefix
cp config/Makefile.linux config/Makefile.solaris || die
# and let freebsd be built as on linux too
cp config/Makefile.linux config/Makefile.freebsd || die
default
multilib_copy_sources
@@ -56,7 +54,6 @@ glew_system() {
# Set the SYSTEM variable instead of probing. #523444 #595280
case ${CHOST} in
*linux*) echo "linux" ;;
*-freebsd*) echo "freebsd" ;;
*-darwin*) echo "darwin" ;;
*-solaris*) echo "solaris" ;;
mingw*|*-mingw*) echo "mingw" ;;

View File

@@ -10,7 +10,7 @@ DESCRIPTION="Less plugins for GStreamer"
HOMEPAGE="https://gstreamer.freedesktop.org/"
LICENSE="LGPL-2"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
# TODO: egl and gtk IUSE only for transition
IUSE="X bzip2 +egl gles2 gtk +introspection +opengl +orc vnc wayland qsv" # Keep default IUSE mirrored with gst-plugins-base where relevant

View File

@@ -10,7 +10,7 @@ DESCRIPTION="Basepack of plugins for gstreamer"
HOMEPAGE="https://gstreamer.freedesktop.org/"
LICENSE="GPL-2+ LGPL-2+"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
# For OpenGL we have three separate concepts, with a list of possibilities in each:
# * 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

View File

@@ -10,7 +10,7 @@ DESCRIPTION="Basepack of plugins for GStreamer"
HOMEPAGE="https://gstreamer.freedesktop.org/"
LICENSE="LGPL-2.1+"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
IUSE="+orc"
RDEPEND="

View File

@@ -10,7 +10,7 @@ DESCRIPTION="Basepack of plugins for gstreamer"
HOMEPAGE="https://gstreamer.freedesktop.org/"
LICENSE="LGPL-2+" # some split plugins are LGPL but combining with a GPL library
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
IUSE=""

View File

@@ -11,7 +11,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"
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"
RDEPEND="

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-ugly
inherit gstreamer-meson
DESCRIPTION="ATSC A/52 audio decoder plugin for GStreamer"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
IUSE="+orc"
RDEPEND="

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-bad
inherit gstreamer-meson
DESCRIPTION="ASS/SSA rendering with effects support plugin for GStreamer"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
RDEPEND=">=media-libs/libass-0.10.2:=[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}"

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-ugly
inherit gstreamer-meson
DESCRIPTION="CD Audio Source (cdda) plugin for GStreamer"
KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86"
RDEPEND=">=dev-libs/libcdio-0.90-r1:=[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}"

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-base
inherit gstreamer-meson
DESCRIPTION="CD Audio Source (cdda) plugin for GStreamer"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
RDEPEND=">=media-sound/cdparanoia-3.10.2-r6[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}"

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-good
inherit gstreamer-meson
DESCRIPTION="DV demuxer and decoder plugin for GStreamer"
KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
RDEPEND=">=media-libs/libdv-1.0.0-r3[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}"

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-bad
inherit gstreamer-meson
DESCRIPION="DVB device capture plugin for GStreamer"
KEYWORDS="~alpha amd64 arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv x86"
KEYWORDS="~alpha amd64 arm ~arm64 ~loong ~mips ppc ppc64 ~riscv x86"
RDEPEND=""
DEPEND="virtual/os-headers"

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-ugly
inherit gstreamer-meson
DESCRIPTION="DVD read plugin for GStreamer"
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
RDEPEND=">=media-libs/libdvdread-4.2.0-r1:=[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}"

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-bad
inherit gstreamer-meson
DESCRIPTION="AAC audio encoder plugin for GStreamer"
KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86"
KEYWORDS="~alpha amd64 ~arm ~ia64 ppc ppc64 ~sparc x86"
RDEPEND=">=media-libs/faac-1.28-r3[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}"

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-bad
inherit gstreamer-meson
DESCRIPTION="AAC audio decoder plugin"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
RDEPEND=">=media-libs/faad2-2.7-r3[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}"

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-good
inherit gstreamer-meson
DESCRIPTION="FLAC encoder/decoder/tagger plugin for GStreamer"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
RDEPEND=">=media-libs/flac-1.2.1-r5:=[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}"

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-good
inherit gstreamer-meson
DESCRIPION="Image decoder, overlay and sink plugin for GStreamer"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86"
RDEPEND=">=x11-libs/gdk-pixbuf-2.30.7:2[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}"

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-good
inherit gstreamer-meson
DESCRIPTION="Video sink plugin for GStreamer that renders to a GtkWidget"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
IUSE="+egl gles2 +opengl wayland +X" # Keep default IUSE mirrored with gst-plugins-base
# egl, wayland and X only matters if gst-plugins-base is built with USE=opengl and/or USE=gles2
# We mirror egl/gles2/opengl/wayland/X due to automagic detection from gstreamer-gl.pc variables;

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-good
inherit gstreamer-meson
DESCRIPION="JACK audio server source/sink plugin for GStreamer"
KEYWORDS="amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86"
# >=jack-1.9.7 is provided by pipewire[jack-sdk] as well
RDEPEND="|| (

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-good
inherit gstreamer-meson
DESCRIPTION="JPEG image encoder/decoder plugin for GStreamer"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86"
RDEPEND="media-libs/libjpeg-turbo:0=[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}"

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-good
inherit gstreamer-meson
DESCRIPTION="MP3 encoder plugin for GStreamer"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
RDEPEND=">=media-sound/lame-3.99.5-r1[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}"

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-bad
inherit gstreamer-meson
DESCRIPTION="LDAC plugin for GStreamer"
KEYWORDS="amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv x86"
KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv x86"
RDEPEND="media-libs/libldac[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}"

View File

@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
LICENSE="LGPL-2+"
SLOT="1.0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv x86"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv x86"
RDEPEND="
>=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}]

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-good
inherit gstreamer-meson
DESCRIPTION="PNG image encoder/decoder plugin for GStreamer"
KEYWORDS="~alpha amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86"
KEYWORDS="~alpha amd64 ~arm arm64 ppc ppc64 ~riscv ~sparc x86"
RDEPEND=">=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}"

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-base
inherit gstreamer-meson
DESCRIPTION="Visualization elements for GStreamer"
KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86"
RDEPEND="
>=media-libs/libvisual-0.4.0-r3[${MULTILIB_USEDEP}]

View File

@@ -10,7 +10,7 @@ HOMEPAGE="https://gstreamer.freedesktop.org/"
LICENSE="metapackage"
SLOT="1.0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
IUSE="aac a52 alsa cdda dts dv dvb dvd ffmpeg flac http jack lame libass libvisual mp3 modplug mpeg ogg opus oss pulseaudio taglib theora v4l vaapi vcd vorbis vpx wavpack X x264"
REQUIRED_USE="opus? ( ogg ) theora? ( ogg ) vorbis? ( ogg )"

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-bad
inherit gstreamer-meson
DESCRIPTION="MOD audio decoder plugin for GStreamer"
KEYWORDS="~alpha amd64 arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv x86"
KEYWORDS="~alpha amd64 arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv x86"
RDEPEND=">=media-libs/libmodplug-0.8.8.4-r1[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}"

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-ugly
inherit gstreamer-meson
DESCRIPTION="MPEG2 decoder plugin for GStreamer"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
RDEPEND=">=media-libs/libmpeg2-0.5.1-r2[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}"

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-good
inherit gstreamer-meson
DESCRIPTION="MP3 decoder plugin for GStreamer"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
RDEPEND="
>=media-sound/mpg123-1.23[${MULTILIB_USEDEP}]

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-bad
inherit gstreamer-meson
DESCRIPTION="HTTP client source plugin for GStreamer"
KEYWORDS="~alpha amd64 ~ppc ~ppc64 x86"
KEYWORDS="~alpha amd64 ppc ppc64 x86"
RDEPEND="
>=net-libs/neon-0.30.0[${MULTILIB_USEDEP}]

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-bad
inherit gstreamer-meson
DESCRIPTION="openaptx plugin for GStreamer"
KEYWORDS="amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv x86"
KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv x86"
RDEPEND="
|| (

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-base
inherit gstreamer-meson
DESCRIPTION="Opus audio parser plugin for GStreamer"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
COMMON_DEPEND=">=media-libs/opus-1.1:=[${MULTILIB_USEDEP}]"

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-good
inherit gstreamer-meson
DESCRIPTION="OSS (Open Sound System) support plugin for GStreamer"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
RDEPEND=""
DEPEND="virtual/os-headers"

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-good
inherit gstreamer-meson
DESCRIPTION="PulseAudio sound server plugin for GStreamer"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
RDEPEND="
>=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP}]

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-good
inherit gstreamer-meson
DESCRIPTION="Fiwewire DV/HDV capture plugin for GStreamer"
KEYWORDS="amd64 ~ppc ~ppc64 x86"
KEYWORDS="amd64 ppc ppc64 x86"
RDEPEND="
>=media-libs/libiec61883-1.2.0-r1[${MULTILIB_USEDEP}]

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-bad
inherit gstreamer-meson
DESCRIPTION="DVD playback support plugin for GStreamer"
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
RDEPEND="
>=media-libs/libdvdnav-4.2.0-r1:=[${MULTILIB_USEDEP}]

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-good
inherit gstreamer-meson
DESCRIPTION="Icecast server sink plugin for GStreamer"
KEYWORDS="~alpha amd64 ~ppc ~ppc64 x86"
KEYWORDS="~alpha amd64 ppc ppc64 x86"
RDEPEND=">=media-libs/libshout-2.3.1-r1[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}"

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-ugly
inherit gstreamer-meson
DESCRIPTION="Sid decoder plugin for GStreamer"
KEYWORDS="~alpha amd64 ~ppc ~ppc64 ~sparc x86"
KEYWORDS="~alpha amd64 ppc ppc64 ~sparc x86"
RDEPEND=">=media-libs/libsidplay-1.36.59-r1:1[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}"

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-good
inherit gstreamer-meson
DESCRIPTION="HTTP client source/sink plugin for GStreamer"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86 ~x64-macos"
RDEPEND=">=net-libs/libsoup-2.48:2.4[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}"

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-good
inherit gstreamer-meson
DESCRIPTION="Speex encoder/decoder plugin for GStreamer"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ppc ppc64 ~sparc x86"
RDEPEND=">=media-libs/speex-1.2_rc1-r1[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}"

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-bad
inherit gstreamer-meson
DESCRIPTION="SRTP encoder/decoder plugin for GStreamer"
KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv x86"
KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv x86"
RDEPEND="
>=net-libs/libsrtp-2.1.0:2=[${MULTILIB_USEDEP}]

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-good
inherit gstreamer-meson
DESCRIPTION="ID3v2/APEv2 tagger plugin for GStreamer"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
RDEPEND=">=media-libs/taglib-1.9.1[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}"

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-good
inherit gstreamer-meson
DESCRIPTION="MPEG2 encoder plugin for GStreamer"
KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86"
KEYWORDS="~alpha amd64 ~arm ~ia64 ppc ppc64 ~sparc x86"
RDEPEND=">=media-sound/twolame-0.3.13-r1[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}"

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-good
inherit gstreamer-meson
DESCRIPION="V4L2 source/sink plugin for GStreamer"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
IUSE="udev"
RDEPEND="

View File

@@ -13,7 +13,7 @@ SRC_URI="https://gstreamer.freedesktop.org/src/${MY_PN}/${MY_PN}-${PV}.tar.xz"
LICENSE="LGPL-2.1+"
SLOT="1.0"
KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv x86"
KEYWORDS="amd64 arm64 ~loong ppc64 ~riscv x86"
IUSE="+drm +egl gles2 +opengl wayland +X" # Keep default enabled IUSE in sync with gst-plugins-base and libva
# gst-vaapi configure is based around GL platform mainly, unlike gst-plugins-bad that goes by GL API mainly; for less surprises,

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-good
inherit gstreamer-meson
DESCRIPTION="VP8/VP9 video encoder/decoder plugin for GStreamer"
KEYWORDS="amd64 arm arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
KEYWORDS="amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
RDEPEND=">=media-libs/libvpx-1.7.0:=[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}"

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-good
inherit gstreamer-meson
DESCRIPTION="Wavpack audio encoder/decoder plugin for GStreamer"
KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
RDEPEND=">=media-sound/wavpack-4.60.1-r1[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}"

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-ugly
inherit gstreamer-meson
DESCRIPTION="H.264 encoder plugin for GStreamer"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
# 20111220 ensures us X264_BUILD >= 120
RDEPEND=">=media-libs/x264-0.0.20130506:=[${MULTILIB_USEDEP}]"

View File

@@ -7,7 +7,7 @@ GST_ORG_MODULE=gst-plugins-good
inherit gstreamer-meson
DESCRIPTION="X11 video capture stream plugin for GStreamer"
KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86"
KEYWORDS="amd64 ppc ppc64 ~sparc x86"
RDEPEND="
>=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP}]

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -183,9 +183,6 @@ src_configure() {
if tc-is-cross-compiler ; then
myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- --host-cc="$(tc-getBUILD_CC)" )
case ${CHOST} in
*freebsd*)
myconf+=( --target-os=freebsd )
;;
*mingw32*)
myconf+=( --target-os=mingw32 )
;;

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -181,9 +181,6 @@ src_configure() {
if tc-is-cross-compiler ; then
myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- --host-cc="$(tc-getBUILD_CC)" )
case ${CHOST} in
*freebsd*)
myconf+=( --target-os=freebsd )
;;
*mingw32*)
myconf+=( --target-os=mingw32 )
;;

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -180,9 +180,6 @@ src_configure() {
if tc-is-cross-compiler ; then
myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- --host-cc="$(tc-getBUILD_CC)" )
case ${CHOST} in
*freebsd*)
myconf+=( --target-os=freebsd )
;;
*mingw32*)
myconf+=( --target-os=mingw32 )
;;

View File

@@ -180,9 +180,6 @@ src_configure() {
if tc-is-cross-compiler ; then
myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- --host-cc="$(tc-getBUILD_CC)" )
case ${CHOST} in
*freebsd*)
myconf+=( --target-os=freebsd )
;;
*mingw32*)
myconf+=( --target-os=mingw32 )
;;

View File

@@ -443,9 +443,6 @@ multilib_src_configure() {
if tc-is-cross-compiler ; then
myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- --host-cc="$(tc-getBUILD_CC)" )
case ${CHOST} in
*freebsd*)
myconf+=( --target-os=freebsd )
;;
*mingw32*)
myconf+=( --target-os=mingw32 )
;;

View File

@@ -443,9 +443,6 @@ multilib_src_configure() {
if tc-is-cross-compiler ; then
myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- --host-cc="$(tc-getBUILD_CC)" )
case ${CHOST} in
*freebsd*)
myconf+=( --target-os=freebsd )
;;
*mingw32*)
myconf+=( --target-os=mingw32 )
;;

View File

@@ -479,9 +479,6 @@ multilib_src_configure() {
if tc-is-cross-compiler ; then
myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- --host-cc="$(tc-getBUILD_CC)" )
case ${CHOST} in
*freebsd*)
myconf+=( --target-os=freebsd )
;;
*mingw32*)
myconf+=( --target-os=mingw32 )
;;

View File

@@ -482,9 +482,6 @@ multilib_src_configure() {
if tc-is-cross-compiler ; then
myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- --host-cc="$(tc-getBUILD_CC)" )
case ${CHOST} in
*freebsd*)
myconf+=( --target-os=freebsd )
;;
*mingw32*)
myconf+=( --target-os=mingw32 )
;;

View File

@@ -481,9 +481,6 @@ multilib_src_configure() {
if tc-is-cross-compiler ; then
myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- --host-cc="$(tc-getBUILD_CC)" )
case ${CHOST} in
*freebsd*)
myconf+=( --target-os=freebsd )
;;
*mingw32*)
myconf+=( --target-os=mingw32 )
;;

View File

@@ -481,9 +481,6 @@ multilib_src_configure() {
if tc-is-cross-compiler ; then
myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- --host-cc="$(tc-getBUILD_CC)" )
case ${CHOST} in
*freebsd*)
myconf+=( --target-os=freebsd )
;;
*mingw32*)
myconf+=( --target-os=mingw32 )
;;

View File

@@ -479,9 +479,6 @@ multilib_src_configure() {
if tc-is-cross-compiler ; then
myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- --host-cc="$(tc-getBUILD_CC)" )
case ${CHOST} in
*freebsd*)
myconf+=( --target-os=freebsd )
;;
*mingw32*)
myconf+=( --target-os=mingw32 )
;;

View File

@@ -43,12 +43,6 @@ texmacs
# d3d9 only works on amd64/x86.
d3d9
# winssl is for prefix/windows/winnt only
winssl
# CURL_SSL=winssl is for prefix/windows/winnt only
curl_ssl_winssl
# masking here and unmasking in default/linux/
kmod

View File

@@ -1,3 +1 @@
DIST lsof-4.96.3.tar.gz 1342843 BLAKE2B 79e276d0db5138c356cc8bfa32e6f991ce8860644eb5d02f49ba04ce08076232f0fb8b10e143ee135205de5c64bd053d7bf021e48d666b65ffc01c0a47b76116 SHA512 ad17a73590ffb154a13b8b5de8ada738ce343fcc833012b2a5e9b3bda587785b09ae8bf090a99fba8e84b788c2a6d61eaa7359f939bfa68d2423e604801e2a98
DIST lsof-4.96.4.tar.gz 1342514 BLAKE2B c420e2f928ffa8148a62298ba7176f860b15f9e78f4c2dc299162614a1d9b94a85c42ee93ef5e92b8a99f1c67e496cf2c848874b844c22c287aab53bfe211c58 SHA512 06f8005e1eb72324c1fd603d8b8287a61ad6fdec182e9da833991a8915aaa69c416af1564d3b1087cb08b3504ef9b15cdffec7051605e89d945d6750ec8da985
DIST lsof-4.98.0.tar.gz 734232 BLAKE2B 2f4ba4d179e8061e5bcff7dda4a0981616530bd5577fc73904e2699e6e982efee9e4270d3f2d3c68751d73cb98bfed0fd49d4c6bd967d15b4e06dcb72494d024 SHA512 6fde12497ce9cbba698be624b45e8392d551626c3e46b50ec23e661b322438ef7162dbac0d06829d56f074c7d934fa1ca98aa50ee1487125c93bebfe8eb2a2e8

View File

@@ -1,37 +0,0 @@
let the preprocessor work its magic rather than executing the code
https://bugs.gentoo.org/432120
make sure to use -P here
https://bugs.gentoo.org/546636
--- a/Configure
+++ b/Configure
@@ -2730,20 +2730,17 @@ LOCKF_OWNER4
rm -f ${LSOF_TMPC}.*
cat > $LSOF_TMPC.c << .LSOF_END_HERE_DOC1
#include <features.h>
-main() {
+#undef XXX
#if defined(__GLIBC__) && defined(__GLIBC_MINOR__)
-printf("-DGLIBCV=%d\n",__GLIBC__*100+__GLIBC_MINOR__);
+XXX: __GLIBC__ * 100 + __GLIBC_MINOR__
#elif defined(__GLIBC__)
-printf("-DGLIBCV=%d00\n",__GLIBC__);
-#else
-printf("\n");
+XXX: __GLIBC__ * 100
#endif
-return(0); }
.LSOF_END_HERE_DOC1
- $LINUX_CONF_CC ${LSOF_TMPC}.c -I$LSOF_INCLUDE -o ${LSOF_TMPC}.x > /dev/null 2>&1
+ $LINUX_CONF_CC ${LSOF_TMPC}.c -E -P -I$LSOF_INCLUDE 2>/dev/null | sed -n '/^XXX:/s|.*:||p' > ${LSOF_TMPC}.x
- if test -x ${LSOF_TMPC}.x # {
+ if test -s ${LSOF_TMPC}.x # {
then
- LINUX_CLIB=`${LSOF_TMPC}.x`
+ LINUX_CLIB="-DGLIBCV=$(( `cat ${LSOF_TMPC}.x` ))"
LSOF_TMP=$?
else
LINUX_CLIB=""

View File

@@ -1,113 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit flag-o-matic toolchain-funcs
MY_P="${P/-/_}"
DESCRIPTION="Lists open files for running Unix processes"
HOMEPAGE="https://github.com/lsof-org/lsof"
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="lsof"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="examples ipv6 rpc selinux"
RDEPEND="rpc? ( net-libs/libtirpc )
selinux? ( sys-libs/libselinux )"
DEPEND="${RDEPEND}"
BDEPEND="sys-apps/groff
rpc? ( virtual/pkgconfig )"
# Needs fixing first
RESTRICT="test"
PATCHES=(
"${FILESDIR}"/${PN}-4.85-cross.patch # bug #432120
)
src_prepare() {
default
# Fix POSIX compliance with `echo`
sed -i \
-e 's:echo -n:printf:' \
AFSConfig Configure Customize Inventory tests/CkTestDB || die
# Convert `test -r header.h` into a compile test.
# Make sure we convert `test ... -a ...` into two `test` commands
# so we can then convert both over into a compile test. #601432
sed -i -E \
-e '/if test .* -a /s: -a : \&\& test :g' \
-e '/test -r/s:test -r \$\{LSOF_INCLUDE\}/([[:alnum:]/._]*):echo "#include <\1>" | ${LSOF_CC} ${LSOF_CFGF} -E - >/dev/null 2>\&1:g' \
-e 's:grep (.*) \$\{LSOF_INCLUDE\}/([[:alnum:]/._]*):echo "#include <\2>" | ${LSOF_CC} ${LSOF_CFGF} -E -P -dD - 2>/dev/null | grep \1:' \
Configure || die
# "create" man-page (bug #689462)
# inspired by shipped "makeman" ksh script
soelim < Lsof.8 > lsof.8 || die
}
target() {
case ${CHOST} in
*-darwin*) echo darwin ;;
*-freebsd*) echo freebsd ;;
*-solaris*) echo solaris ;;
*) echo linux ;;
esac
}
src_configure() {
append-cppflags $(use rpc && $(tc-getPKG_CONFIG) libtirpc --cflags || echo "-DHASNOTRPC -DHASNORPC_H")
append-cppflags $(usex ipv6 -{D,U}HASIPv6)
[[ ${CHOST} == *-solaris2.11 ]] && append-cppflags -DHAS_PAD_MUTEX
if [[ ${CHOST} == *-darwin* ]] ; then
# make sys/proc_info.h available in ${T} because of LSOF_INCLUDE
# dummy location -- Darwin needs this for a Configure check to
# succeed
if [[ -e /usr/include/sys/proc_info.h ]] ; then
mkdir -p "${T}"/sys || die
( cd "${T}"/sys && ln -s /usr/include/sys/proc_info.h ) || die
fi
fi
export LSOF_CFGL="${CFLAGS} ${LDFLAGS} \
$(use rpc && $(tc-getPKG_CONFIG) libtirpc --libs)"
# Set LSOF_INCLUDE to a dummy location so the script doesn't poke
# around in it and mix /usr/include paths with cross-compile/etc.
touch .neverInv
LINUX_HASSELINUX=$(usex selinux y n) \
LSOF_INCLUDE=${T} \
LSOF_CC=$(tc-getCC) \
LSOF_AR="$(tc-getAR) rc" \
LSOF_RANLIB=$(tc-getRANLIB) \
LSOF_CFGF="${CFLAGS} ${CPPFLAGS}" \
./Configure -n $(target) || die
}
src_compile() {
emake DEBUG="" all
}
src_install() {
dobin lsof
if use examples ; then
insinto /usr/share/lsof/scripts
doins scripts/*
fi
doman lsof.8
dodoc 00*
}
pkg_postinst() {
if [[ ${CHOST} == *-solaris* ]] ; then
einfo "Note: to use lsof on Solaris you need read permissions on"
einfo "/dev/kmem, i.e. you need to be root, or to be in the group sys"
fi
}

View File

@@ -1,112 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit flag-o-matic toolchain-funcs
MY_P="${P/-/_}"
DESCRIPTION="Lists open files for running Unix processes"
HOMEPAGE="https://github.com/lsof-org/lsof"
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="lsof"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="examples rpc selinux"
RDEPEND="rpc? ( net-libs/libtirpc )
selinux? ( sys-libs/libselinux )"
DEPEND="${RDEPEND}"
BDEPEND="sys-apps/groff
rpc? ( virtual/pkgconfig )"
# Needs fixing first
RESTRICT="test"
PATCHES=(
"${FILESDIR}"/${PN}-4.85-cross.patch # bug #432120
)
src_prepare() {
default
# Fix POSIX compliance with `echo`
sed -i \
-e 's:echo -n:printf:' \
AFSConfig Configure Customize Inventory tests/CkTestDB || die
# Convert `test -r header.h` into a compile test.
# Make sure we convert `test ... -a ...` into two `test` commands
# so we can then convert both over into a compile test. #601432
sed -i -E \
-e '/if test .* -a /s: -a : \&\& test :g' \
-e '/test -r/s:test -r \$\{LSOF_INCLUDE\}/([[:alnum:]/._]*):echo "#include <\1>" | ${LSOF_CC} ${LSOF_CFGF} -E - >/dev/null 2>\&1:g' \
-e 's:grep (.*) \$\{LSOF_INCLUDE\}/([[:alnum:]/._]*):echo "#include <\2>" | ${LSOF_CC} ${LSOF_CFGF} -E -P -dD - 2>/dev/null | grep \1:' \
Configure || die
# "create" man-page (bug #689462)
# inspired by shipped "makeman" ksh script
soelim < Lsof.8 > lsof.8 || die
}
target() {
case ${CHOST} in
*-darwin*) echo darwin ;;
*-freebsd*) echo freebsd ;;
*-solaris*) echo solaris ;;
*) echo linux ;;
esac
}
src_configure() {
append-cppflags $(use rpc && $(tc-getPKG_CONFIG) libtirpc --cflags || echo "-DHASNOTRPC -DHASNORPC_H")
[[ ${CHOST} == *-solaris2.11 ]] && append-cppflags -DHAS_PAD_MUTEX
if [[ ${CHOST} == *-darwin* ]] ; then
# make sys/proc_info.h available in ${T} because of LSOF_INCLUDE
# dummy location -- Darwin needs this for a Configure check to
# succeed
if [[ -e /usr/include/sys/proc_info.h ]] ; then
mkdir -p "${T}"/sys || die
( cd "${T}"/sys && ln -s /usr/include/sys/proc_info.h ) || die
fi
fi
export LSOF_CFGL="${CFLAGS} ${LDFLAGS} \
$(use rpc && $(tc-getPKG_CONFIG) libtirpc --libs)"
# Set LSOF_INCLUDE to a dummy location so the script doesn't poke
# around in it and mix /usr/include paths with cross-compile/etc.
touch .neverInv
LINUX_HASSELINUX=$(usex selinux y n) \
LSOF_INCLUDE=${T} \
LSOF_CC=$(tc-getCC) \
LSOF_AR="$(tc-getAR) rc" \
LSOF_RANLIB=$(tc-getRANLIB) \
LSOF_CFGF="${CFLAGS} ${CPPFLAGS}" \
./Configure -n $(target) || die
}
src_compile() {
emake DEBUG="" all
}
src_install() {
dobin lsof
if use examples ; then
insinto /usr/share/lsof/scripts
doins scripts/*
fi
doman lsof.8
dodoc 00*
}
pkg_postinst() {
if [[ ${CHOST} == *-solaris* ]] ; then
einfo "Note: to use lsof on Solaris you need read permissions on"
einfo "/dev/kmem, i.e. you need to be root, or to be in the group sys"
fi
}