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

Jan Steffens heftig at archlinux.org
Sun Mar 8 02:14:42 UTC 2020


    Date: Sunday, March 8, 2020 @ 02:14:41
  Author: heftig
Revision: 376951

0.2.7

Added:
  libpipewire02/trunk/PKGBUILD

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-08 02:14:41 UTC (rev 376951)
@@ -0,0 +1,41 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=libpipewire02
+pkgver=0.2.7
+pkgrel=1
+pkgdesc="User space API to deal with multimedia pipelines (0.2)"
+url="https://pipewire.org"
+license=(LGPL2.1)
+arch=(x86_64)
+depends=(glibc)
+makedepends=(git meson)
+provides=(libpipewire-0.2.so)
+_commit=14c11c0fe4d366bad4cfecdee97b6652ff9ed63d  # tags/0.2.7
+source=("git+https://github.com/PipeWire/pipewire#commit=$_commit")
+sha256sums=('SKIP')
+
+
+pkgver() {
+  cd pipewire
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd pipewire
+}
+
+build() {
+  arch-meson pipewire build \
+    -D gstreamer=disabled \
+    -D systemd=false
+  ninja -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+  rm -rf "$pkgdir"/{etc,usr/bin}
+}



More information about the arch-commits mailing list