summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-10-13 17:40:54 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-10-13 17:49:55 +0200
commit0d12f6c1b79517aa61608f932f157a703fc78a90 (patch)
tree238bd98ce40dde1d9f5d8e3203700f7ebb03f332 /media-video
parentdev-perl/Event-RPC: Remove old (diff)
downloadgentoo-0d12f6c1b79517aa61608f932f157a703fc78a90.tar.gz
gentoo-0d12f6c1b79517aa61608f932f157a703fc78a90.tar.bz2
gentoo-0d12f6c1b79517aa61608f932f157a703fc78a90.zip
media-video/pipewire: 0.2.7 version bump
Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-video')
-rw-r--r--media-video/pipewire/Manifest1
-rw-r--r--media-video/pipewire/pipewire-0.2.7.ebuild81
2 files changed, 82 insertions, 0 deletions
diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest
index edaa0d8055ea..e5f74aabbe5d 100644
--- a/media-video/pipewire/Manifest
+++ b/media-video/pipewire/Manifest
@@ -1 +1,2 @@
DIST pipewire-0.2.6.tar.gz 421137 BLAKE2B 155667d14fe5380e21f0b70accea72dc4478085916a9126185136f6d33bd7729d91b790c171dcf7b6aea2c52894462d16516f8821229ca0bf9f6cde15df524d9 SHA512 3d1db41f5beb42a0ee15ae7bc8afb89b54a37c3a6a414e88b5e33ceaf98ec6dda0d9a2d03ac47a8dfce48e9637e647291919e6670bb70589b0d1951fbcbd3ff8
+DIST pipewire-0.2.7.tar.gz 421644 BLAKE2B d2ccb56a9ea5ea7782678deb6eae0b0a70da1fa69e807398062d388733901839f15a2f0f7db982fbebd2b2759f443709e6c1950b6367f3ed4801d6c2d6109e73 SHA512 10d3e20cc3d233fbcd1fc39702ae3043a656ebcd9cd3c39c77f0cc2bf42ff4956fc03e7933c7b397bca446c63f45ddacea948d5ec7e4a3300499fa2794f14334
diff --git a/media-video/pipewire/pipewire-0.2.7.ebuild b/media-video/pipewire/pipewire-0.2.7.ebuild
new file mode 100644
index 000000000000..d26990a0d08a
--- /dev/null
+++ b/media-video/pipewire/pipewire-0.2.7.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2019 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"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/PipeWire/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+fi
+
+DESCRIPTION="Multimedia processing graphs"
+HOMEPAGE="https://pipewire.org/"
+
+LICENSE="LGPL-2.1+"
+SLOT="0/0.2"
+IUSE="bluetooth doc ffmpeg libav gstreamer sdl systemd vaapi X"
+
+BDEPEND="
+ app-doc/xmltoman
+ doc? (
+ app-doc/doxygen
+ media-gfx/graphviz
+ )
+"
+DEPEND="
+ media-libs/alsa-lib
+ sys-apps/dbus
+ virtual/libudev
+ bluetooth? ( media-libs/sbc )
+ ffmpeg? (
+ !libav? ( media-video/ffmpeg:= )
+ libav? ( media-video/libav:= )
+ )
+ gstreamer? (
+ media-libs/gstreamer:1.0
+ media-libs/gst-plugins-base:1.0
+ )
+ sdl? ( media-libs/libsdl2 )
+ systemd? ( sys-apps/systemd )
+ vaapi? ( x11-libs/libva )
+ X? ( x11-libs/libX11 )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ spa_use() {
+ if ! use ${1}; then
+ sed -e "/.*dependency.*'${2-$1}'/s/'${2-$1}'/'${2-$1}-disabled-by-USE-no-${1}'/" \
+ -i spa/meson.build || die
+ fi
+ }
+
+ default
+ spa_use bluetooth sbc
+ spa_use ffmpeg libavcodec
+ spa_use ffmpeg libavformat
+ spa_use ffmpeg libavfilter
+ spa_use vaapi libva
+ spa_use sdl sdl2
+ spa_use X x11
+}
+
+src_configure() {
+ local emesonargs=(
+ -Dman=true
+ $(meson_use doc docs)
+ $(meson_feature gstreamer)
+ $(meson_use systemd)
+ )
+ meson_src_configure
+}
+
+pkg_postinst() {
+ elog "Package has optional sys-auth/rtkit RUNTIME support that may be"
+ elog "disabled by setting DISABLE_RTKIT env var."
+}