[arch-commits] Commit in pipewire/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Sun Mar 8 02:27:35 UTC 2020


    Date: Sunday, March 8, 2020 @ 02:27:34
  Author: heftig
Revision: 376953

fixes

Modified:
  pipewire/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-08 02:27:16 UTC (rev 376952)
+++ PKGBUILD	2020-03-08 02:27:34 UTC (rev 376953)
@@ -11,12 +11,11 @@
 arch=(x86_64)
 makedepends=(git meson doxygen graphviz xmltoman valgrind jack2 libpulse
              alsa-lib gstreamer gst-plugins-base sbc rtkit vulkan-icd-loader
-             dbus libsndfile)
+             dbus libsndfile bluez-libs vulkan-headers)
 _commit=74a1632f0720886d5b3b6c23ee8fcd6c03ca7aac  # tags/0.3.1
 source=("git+https://github.com/PipeWire/pipewire#commit=$_commit")
 sha256sums=('SKIP')
 
-
 pkgver() {
   cd $pkgbase
   git describe --tags | sed 's/-/+/g'
@@ -52,9 +51,12 @@
 }
 
 package_pipewire() {
-  depends=(gstreamer gst-plugins-base sbc rtkit vulkan-icd-loader libdbus-1.so
-           libsndfile.so)
-  provides=(libpipewire-0.3.so)
+  depends=(gstreamer gst-plugins-base sbc rtkit vulkan-icd-loader bluez-libs
+           libdbus-1.so libsndfile.so)
+  optdepends=('pipewire-docs: Documentation'
+              'pipewire-jack: JACK support'
+              'pipewire-pulse: PulseAudio support')
+  provides=(libpipewire-${pkgver:0:3}.so)
   backup=(etc/pipewire/pipewire.conf)
   install=pipewire.install
 
@@ -72,22 +74,19 @@
 
 package_pipewire-docs() {
   pkgdesc+=" (documentation)"
-
   mv docs/* "$pkgdir"
 }
 
 package_pipewire-jack() {
   pkgdesc+=" (JACK support)"
-  depends=(libpipewire-0.3.so libjack.so)
+  depends=(libpipewire-${pkgver:0:3}.so libjack.so)
   provides=(libjack-pw.so)
-
   mv jack/* "$pkgdir"
 }
 
 package_pipewire-pulse() {
   pkgdesc+=" (PulseAudio support)"
-  depends=(libpipewire-0.3.so libpulse.so libglib-2.0.so)
+  depends=(libpipewire-${pkgver:0:3}.so libpulse.so libglib-2.0.so)
   provides=(libpulse{,-simple,-mainloop-glib}-pw.so)
-
   mv pulse/* "$pkgdir"
 }



More information about the arch-commits mailing list