summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 76a928cba5ee2b854e3ddd060fb24d183e437106 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
pkgname=pipewire-git
pkgver=0.1.5.4.gaa2a189
pkgrel=1
pkgdesc="Multimedia processing graphs. (GIT version)"
arch=('i686' 'x86_64')
url='https://pipewire.org'
license=('LGPL')
depends=('ffmpeg'
         'libsystemd'
         )
makedepends=('graphviz'
             'doxygen'
             'xmltoman'
             'git'
             'meson'
             'ffmpeg'
             )
optdepends=('ffmpeg: ffmpeg and alsa support')
conflicts=('pipewire')
provides=('pipewire')
source=("git+https://github.com/PipeWire/pipewire.git")
sha256sums=('SKIP')
backup=('etc/pipewire/pipewire.conf')

pkgver() {
  cd pipewire
  echo "$(git describe --long --tags | tr - .)"
}

prepare() {
  cd pipewire

  rm -fr src/gst
  for i in $(find . -type f -name '*meson*'); do sed '/gst/d' -i ${i}; done

  ./autogen.sh \
    --prefix "/usr" \
    --sysconfdir "/etc"

}

build() {
  cd pipewire
  make
}

package() {
  make -C pipewire DESTDIR="${pkgdir}" install
}