Last active
November 16, 2020 22:52
-
-
Save tinywrkb/ecfdf730e54042dc26610f3c204624f8 to your computer and use it in GitHub Desktop.
pipewire-git: gstreamer and ffmpeg split
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 6c4ea8559e5acf99b1b77f99eb28ee482da3c1ad Mon Sep 17 00:00:00 2001 | |
From: tinywrkb <tinywrkb@gmail.com> | |
Date: Tue, 17 Nov 2020 00:46:06 +0200 | |
Subject: [PATCH] enable gstreamer, move it and ffmpeg to split packages | |
--- | |
PKGBUILD | 37 ++++++++++++++++++++++++++++++++++--- | |
1 file changed, 34 insertions(+), 3 deletions(-) | |
diff --git a/PKGBUILD b/PKGBUILD | |
index 69ead56..c55c1ce 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -4,8 +4,10 @@ pkgname=('pipewire-git' | |
'pipewire-jack-git' | |
'pipewire-alsa-git' | |
'pipewire-pulse-git' | |
+ 'pipewire-ffmpeg-git' | |
+ 'pipewire-gstreamer-git' | |
) | |
-pkgver=0.3.15.75.g80e063c6 | |
+pkgver=0.3.15.92.g573e2afd | |
pkgrel=1 | |
pkgdesc='Server and user space API to deal with multimedia pipelines. (GIT version)' | |
arch=('x86_64') | |
@@ -20,6 +22,8 @@ makedepends=('git' | |
'jack2' | |
'libpulse' | |
'alsa-lib' | |
+ 'gstreamer' | |
+ 'gst-plugins-base' | |
'ffmpeg' | |
'sbc' | |
'rtkit' | |
@@ -55,7 +59,7 @@ build() { | |
arch-meson ../pipewire \ | |
-D udevrulesdir=/usr/lib/udev/rules.d \ | |
-D docs=true \ | |
- -D gstreamer=false \ | |
+ -D gstreamer=true \ | |
-D ffmpeg=true \ | |
ninja | |
@@ -119,6 +123,10 @@ package_pipewire-git() { | |
rm -rv "$pkgdir"/usr/share/alsa-card-profile | |
_pick pulse usr/bin/pipewire-pulse usr/lib/systemd/user/pipewire-pulse* | |
+ | |
+ _pick ffmpeg usr/lib/spa-0.2/ffmpeg/libspa-ffmpeg.so | |
+ | |
+ _pick gstreamer usr/lib/gstreamer-1.0/libgstpipewire.so | |
} | |
package_pipewire-docs-git() { | |
@@ -157,8 +165,31 @@ package_pipewire-pulse-git() { | |
depends=("libpipewire-${pkgver:0:3}.so" | |
'libglib-2.0.so' | |
) | |
- provides=('pipewire-pulse') | |
+ provides=('pipewire-pulse' 'pulseaudio') | |
conflicts=('pipewire-pulse') | |
mv pulse/* "${pkgdir}" | |
} | |
+ | |
+package_pipewire-ffmpeg-git() { | |
+ pkgdesc='Server and user space API to deal with multimedia pipelines. (FFmpeg SPA plugin)(GIT version)' | |
+ depends=("libpipewire-${pkgver:0:3}.so" | |
+ 'ffmpeg' | |
+ ) | |
+ provides=('pipewire-ffmpeg') | |
+ conflicts=('pipewire-ffmpeg') | |
+ | |
+ mv ffmpeg/* "${pkgdir}" | |
+} | |
+ | |
+package_pipewire-gstreamer-git() { | |
+ pkgdesc='Server and user space API to deal with multimedia pipelines. (GStreamer plugins)(GIT version)' | |
+ depends=("libpipewire-${pkgver:0:3}.so" | |
+ 'gstreamer' | |
+ 'gst-plugins-base' | |
+ ) | |
+ provides=('pipewire-gstreamer') | |
+ conflicts=('pipewire-gstreamer') | |
+ | |
+ mv gstreamer/* "${pkgdir}" | |
+} | |
-- | |
2.29.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment