summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dbd16cc9968aa7ca0c4b695d017c48ac27b1897e (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
# Maintainer: Lubosz Sarnecki <lubosz@gmail.com>
# Contributor: Kerrick Staley <mail@kerrickstaley.com>
# Contributor: Jan de Groot <jgc@archlinux.org>

pkgname=gstreamer-git
pkgver=1.16.0.r187.g78041a774
pkgrel=1
pkgdesc='GStreamer Multimedia Framework (Git version)'
arch=('i686' 'x86_64')
license=('LGPL')
url='http://gstreamer.freedesktop.org/'
depends=('libxml2' 'glib2' 'libcap'
          'libunwind' 'libelf'
          'bash-completion' 'python')
optdepends=('sh: feedback script')
makedepends=('intltool' 'pkgconfig' 'gtk-doc'
             'meson' 'gtk3'
             'gobject-introspection' 'git')
provides=('gstreamer='$pkgver)
conflicts=('gstreamer')
options=('!libtool')

_gitname='gstreamer'

source=('git+git://anongit.freedesktop.org/gstreamer/gstreamer')
md5sums=('SKIP')

pkgver() {
  cd $_gitname
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  arch-meson gstreamer build \
    -Ddbghelp=disabled -Ddoc=disabled
  ninja -C build
}

#check() {
#  cd $_gitname
#  make check
#}

package() {
  DESTDIR="${pkgdir}" ninja -C build install
}