mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
media-video/pipewire: Drop old versions
Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
@@ -1,4 +1,2 @@
|
||||
DIST pipewire-0.3.18.tar.gz 1277055 BLAKE2B 4a18bd668afaf144d6e83590293a744b6d2c2a7d8e9fc6ab581f22d294fac5a4841098875f8569f36b794c083e4ec9f0b7d4e29a10dc79286a4843996f7fb64e SHA512 933b15908e30c389555dd9f82f87c2e571b4cb078bfbe5ed1858440166093cdee2b1c15da50bc5ab36087b62e216786b95c2aad9403e5047ae33e4fe8a6f4cc5
|
||||
DIST pipewire-0.3.22.tar.gz 1263844 BLAKE2B 3fb90c0b1c17ed108e8c390873f5c4527e1ff9241d1c5964ad5b7c01fbfefda901ef1228f178cf3c9899e6e8e75969a470f8fba63473ff203cba612c6c0553ca SHA512 a6587e0afd5c90be1733ecf62c6fc68e735ab3b84f2cbbf844bbe1be93e7a23dee07b041ed6b273cab6ab207d2388ae6f2027d0380928555a0155a7cc9ca4a7e
|
||||
DIST pipewire-0.3.24.tar.gz 1333048 BLAKE2B 3146084e3028ed7bf27d483666e07d76c45988a911bba70bd31656ed75847fceb5c306a95bc3515cae9208f9b3cd9e9aaab56ee1de154a7520f669887e77fc6b SHA512 be1fd3b15aae4fc276dd7e4be385cd58e6e9626d6e0a42b7bc3eb46ba324759c05320547aa857510ecf24b1628b76555222d342350d6406ad4d7b536cb3db497
|
||||
DIST pipewire-0.3.25.tar.gz 1351257 BLAKE2B 3c4d6d98e3255df8baf50eb548bcf77b5c027a50f6acedd83cd63481ed5b642c174589f34314f150b07116cea8a3458c3f8b770df4081585d7f75cc8dde4decd SHA512 0f84be21bfcd70f25900c53a8ce399c29ce2d4d10f8b56e5103603cf0c80673aab0b16492e55b42985283adf46343cdca01626225db85a2263f06c309f68f2d7
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
<flag name="jack-client">Install a plugin for running PipeWire as a JACK client</flag>
|
||||
<flag name="ldac">LDAC over Bluetooth (primarily Sony headphones)</flag>
|
||||
<flag name="pipewire-alsa">Replace PulseAudio's ALSA plugin with PipeWire's plugin</flag>
|
||||
<flag name="pulseaudio">Enable emulation to be able to run PulseAudio applications on top of PipeWire</flag>
|
||||
<flag name="vulkan">Uses Vulkan compute shaders to provide a CGI video source</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -1,136 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit meson
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://github.com/PipeWire/pipewire.git"
|
||||
EGIT_BRANCH="work"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/PipeWire/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Multimedia processing graphs"
|
||||
HOMEPAGE="https://pipewire.org/"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0/0.3"
|
||||
IUSE="bluetooth debug doc ffmpeg gstreamer jack pulseaudio systemd test vulkan X"
|
||||
|
||||
BDEPEND="
|
||||
app-doc/xmltoman
|
||||
doc? (
|
||||
app-doc/doxygen
|
||||
media-gfx/graphviz
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
>=media-libs/alsa-lib-1.1.7
|
||||
media-libs/libsdl2
|
||||
>=media-libs/libsndfile-1.0.20
|
||||
sys-apps/dbus
|
||||
virtual/libudev
|
||||
bluetooth? (
|
||||
media-libs/sbc
|
||||
net-wireless/bluez:=
|
||||
)
|
||||
ffmpeg? ( media-video/ffmpeg:= )
|
||||
gstreamer? (
|
||||
>=dev-libs/glib-2.32.0:2
|
||||
>=media-libs/gstreamer-1.10.0:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
)
|
||||
jack? ( >=media-sound/jack2-1.9.10:2 )
|
||||
pulseaudio? (
|
||||
dev-libs/glib:2
|
||||
>=media-sound/pulseaudio-11.1
|
||||
)
|
||||
systemd? ( sys-apps/systemd )
|
||||
vulkan? ( media-libs/vulkan-loader )
|
||||
X? ( x11-libs/libX11 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
vulkan? ( dev-util/vulkan-headers )
|
||||
"
|
||||
|
||||
DOCS=( {README,INSTALL}.md NEWS )
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
src_prepare() {
|
||||
spa_use() {
|
||||
if ! in_iuse ${1} || ! use ${1}; then
|
||||
sed -e "/^add-spa-lib.*${1}/s/^/#${2-$1}-disabled-by-USE-no-${1}\:/" \
|
||||
-e "/^load-module.*${1}/s/^/#${2-$1}-disabled-by-USE-no-${1}\:/" \
|
||||
-i src/daemon/pipewire.conf.in || die
|
||||
fi
|
||||
}
|
||||
|
||||
default
|
||||
spa_use libcamera
|
||||
spa_use rtkit
|
||||
spa_use bluetooth bluez5
|
||||
spa_use jack
|
||||
spa_use vulkan
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dexamples=true # contains required pipewire-media-session
|
||||
-Dman=true
|
||||
-Dspa-plugins=true
|
||||
--buildtype=$(usex debug debugoptimized plain)
|
||||
# alsa plugin and jack/pulseaudio emulation
|
||||
-Dpipewire-alsa=true
|
||||
$(meson_use jack pipewire-jack)
|
||||
$(meson_use pulseaudio pipewire-pulseaudio)
|
||||
# spa-plugins
|
||||
# we install alsa support unconditionally
|
||||
$(meson_use bluetooth bluez5)
|
||||
$(meson_use ffmpeg)
|
||||
$(meson_use jack)
|
||||
$(meson_use vulkan)
|
||||
# libcamera is not packaged
|
||||
# misc
|
||||
$(meson_use doc docs)
|
||||
$(meson_use gstreamer)
|
||||
$(meson_use gstreamer gstreamer-device-provider)
|
||||
$(meson_use systemd)
|
||||
$(meson_use test test)
|
||||
$(meson_use test tests)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
|
||||
dosym ../../../usr/share/alsa/alsa.conf.d/50-pipewire.conf /etc/alsa/conf.d/50-pipewire.conf
|
||||
|
||||
# # TODO: this breaks alsa users
|
||||
# if use alsa; then
|
||||
# dosym ../../../usr/share/alsa/alsa.conf.d/99-pipewire-default.conf /etc/alsa/conf.d/99-pipewire-default.conf
|
||||
# fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Package has optional sys-auth/rtkit RUNTIME support that may be disabled"
|
||||
elog "by setting DISABLE_RTKIT env var."
|
||||
elog "To enable rtkit, uncomment the load-module line in /etc/pipewire/pipewire.conf"
|
||||
elog
|
||||
if use jack; then
|
||||
elog "Please note that even though the libraries for JACK emulation have"
|
||||
elog "been installed, this ebuild is not yet wired up to replace a JACK server."
|
||||
elog
|
||||
fi
|
||||
if use pulseaudio; then
|
||||
elog "Please note that even though the libraries for PulseAudio emulation have"
|
||||
elog "been installed, this ebuild is not yet wired up to replace PulseAudio."
|
||||
elog
|
||||
fi
|
||||
elog "Read INSTALL.md for information about ALSA plugin or JACK/PulseAudio emulation."
|
||||
}
|
||||
@@ -1,128 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit meson
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://github.com/PipeWire/pipewire.git"
|
||||
EGIT_BRANCH="work"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/PipeWire/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Multimedia processing graphs"
|
||||
HOMEPAGE="https://pipewire.org/"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0/0.3"
|
||||
IUSE="bluetooth debug doc ffmpeg gstreamer jack sdl sndfile systemd test vulkan X"
|
||||
|
||||
BDEPEND="
|
||||
app-doc/xmltoman
|
||||
doc? (
|
||||
app-doc/doxygen
|
||||
media-gfx/graphviz
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
>=media-libs/alsa-lib-1.1.7
|
||||
sys-apps/dbus
|
||||
virtual/libudev
|
||||
bluetooth? (
|
||||
media-libs/sbc
|
||||
net-wireless/bluez:=
|
||||
)
|
||||
ffmpeg? ( media-video/ffmpeg:= )
|
||||
gstreamer? (
|
||||
>=dev-libs/glib-2.32.0:2
|
||||
>=media-libs/gstreamer-1.10.0:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
)
|
||||
jack? ( >=media-sound/jack2-1.9.10:2 )
|
||||
sdl? ( media-libs/libsdl2 )
|
||||
sndfile? ( >=media-libs/libsndfile-1.0.20 )
|
||||
systemd? ( sys-apps/systemd )
|
||||
vulkan? ( media-libs/vulkan-loader )
|
||||
X? ( x11-libs/libX11 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
vulkan? ( dev-util/vulkan-headers )
|
||||
"
|
||||
|
||||
DOCS=( {README,INSTALL}.md NEWS )
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
src_prepare() {
|
||||
spa_use() {
|
||||
if ! in_iuse ${1} || ! use ${1}; then
|
||||
sed -e "/^add-spa-lib.*${1}/s/^/#${2-$1}-disabled-by-USE-no-${1}\:/" \
|
||||
-e "/^load-module.*${1}/s/^/#${2-$1}-disabled-by-USE-no-${1}\:/" \
|
||||
-i src/daemon/pipewire.conf.in || die
|
||||
fi
|
||||
}
|
||||
|
||||
default
|
||||
spa_use libcamera
|
||||
spa_use rtkit
|
||||
spa_use bluetooth bluez5
|
||||
spa_use jack
|
||||
spa_use vulkan
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dexamples=enabled # contains required pipewire-media-session
|
||||
-Dman=enabled
|
||||
-Dspa-plugins=enabled
|
||||
--buildtype=$(usex debug debugoptimized plain)
|
||||
# alsa plugin and jack emulation
|
||||
-Dpipewire-alsa=enabled
|
||||
$(meson_feature jack pipewire-jack)
|
||||
# spa-plugins
|
||||
# we install alsa support unconditionally
|
||||
$(meson_feature bluetooth bluez5)
|
||||
$(meson_feature ffmpeg)
|
||||
$(meson_feature jack)
|
||||
$(meson_feature vulkan)
|
||||
# libcamera is not packaged
|
||||
# misc
|
||||
$(meson_feature doc docs)
|
||||
$(meson_feature gstreamer)
|
||||
$(meson_feature gstreamer gstreamer-device-provider)
|
||||
$(meson_feature sdl sdl2)
|
||||
$(meson_feature sndfile)
|
||||
$(meson_feature systemd)
|
||||
$(meson_feature test test)
|
||||
$(meson_feature test tests)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
|
||||
dosym ../../../usr/share/alsa/alsa.conf.d/50-pipewire.conf /etc/alsa/conf.d/50-pipewire.conf
|
||||
|
||||
# # TODO: this breaks alsa users
|
||||
# if use alsa; then
|
||||
# dosym ../../../usr/share/alsa/alsa.conf.d/99-pipewire-default.conf /etc/alsa/conf.d/99-pipewire-default.conf
|
||||
# fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Package has optional sys-auth/rtkit RUNTIME support that may be disabled"
|
||||
elog "by setting DISABLE_RTKIT env var."
|
||||
elog "To enable rtkit, uncomment the load-module line in /etc/pipewire/pipewire.conf"
|
||||
elog
|
||||
if use jack; then
|
||||
elog "Please note that even though the libraries for JACK emulation have"
|
||||
elog "been installed, this ebuild is not yet wired up to replace a JACK server."
|
||||
elog
|
||||
fi
|
||||
elog "Read INSTALL.md for information about ALSA plugin or JACK/PulseAudio emulation."
|
||||
}
|
||||
Reference in New Issue
Block a user