mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
extra/pipewire to 0.2.6+1+g37613b67-1
This commit is contained in:
parent
6b0509e781
commit
eb88c00f2c
1 changed files with 22 additions and 9 deletions
|
@ -3,8 +3,9 @@
|
||||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
# - remove makedepend on valgrind
|
# - remove makedepend on valgrind
|
||||||
|
|
||||||
pkgname=pipewire
|
pkgbase=pipewire
|
||||||
pkgver=0.2.6
|
pkgname=(pipewire pipewire-docs)
|
||||||
|
pkgver=0.2.6+1+g37613b67
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Server and user space API to deal with multimedia pipelines"
|
pkgdesc="Server and user space API to deal with multimedia pipelines"
|
||||||
url="https://pipewire.org"
|
url="https://pipewire.org"
|
||||||
|
@ -12,19 +13,18 @@ license=(LGPL2.1)
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
depends=(gstreamer gst-plugins-base sbc ffmpeg rtkit)
|
depends=(gstreamer gst-plugins-base sbc ffmpeg rtkit)
|
||||||
makedepends=(git meson doxygen graphviz xmltoman)
|
makedepends=(git meson doxygen graphviz xmltoman)
|
||||||
install=pipewire.install
|
_commit=37613b67ba52b5ad4e81d7ea38adc04027d9f9e5 # master
|
||||||
_commit=4aff470a8fa1e06448b2316781b4e7a91fbda341 # tags/0.2.6
|
|
||||||
source=("git+https://github.com/PipeWire/pipewire#commit=$_commit")
|
source=("git+https://github.com/PipeWire/pipewire#commit=$_commit")
|
||||||
sha256sums=('SKIP')
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd $pkgname
|
cd $pkgbase
|
||||||
git describe --tags | sed 's/-/+/g'
|
git describe --tags | sed 's/-/+/g'
|
||||||
}
|
}
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd $pkgname
|
cd $pkgbase
|
||||||
|
|
||||||
# Reduce docs size
|
# Reduce docs size
|
||||||
printf '%s\n' >>doc/Doxyfile.in \
|
printf '%s\n' >>doc/Doxyfile.in \
|
||||||
|
@ -32,16 +32,29 @@ prepare() {
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
arch-meson $pkgname build \
|
arch-meson $pkgbase build \
|
||||||
-D docs=true \
|
-D docs=true \
|
||||||
-D man=true
|
-D man=true
|
||||||
ninja -C build
|
ninja -C build
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
meson test -C build
|
meson test -C build --print-errorlogs
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package_pipewire() {
|
||||||
|
install=pipewire.install
|
||||||
|
|
||||||
DESTDIR="$pkgdir" meson install -C build
|
DESTDIR="$pkgdir" meson install -C build
|
||||||
|
|
||||||
|
# Split pipewire-docs
|
||||||
|
mkdir -p docs/share
|
||||||
|
mv "$pkgdir/usr/share/doc" docs/share/
|
||||||
|
}
|
||||||
|
|
||||||
|
package_pipewire-docs() {
|
||||||
|
pkgdesc+=" (documentation)"
|
||||||
|
depends=()
|
||||||
|
|
||||||
|
mv docs "$pkgdir/usr"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue