summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1a0ef32288e3e437505c54416a0a2c616e5f876e (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
50
51
52
# Original Package: Jan de Groot <jgc@archlinux.org>
# Maintainer: Lubosz Sarnecki <lubosz@gmail.com>
# Maintainer: Solomon Choina <shlomochoina@gmail.com>

pkgname=gst-plugins-good-git
pkgver=1.16.0.r258.g0998c1643
pkgrel=1
pkgdesc="GStreamer Multimedia Framework Good Plugins"
arch=('i686' 'x86_64')
license=('LGPL')
provides=('gst-plugins-good='$pkgver)
conflicts=('gst-plugins-good')
url="http://gstreamer.freedesktop.org/"
depends=('libpulse' 'jack2' 'libsoup' 
        'gst-plugins-base-git' 'wavpack' 'aalib' 
        'taglib' 'libdv' 'libshout' 'libvpx' 
        'gdk-pixbuf2' 'libcaca' 'libavc1394' 
        'libiec61883' 'libxdamage' 'v4l-utils' 
        'cairo' 'lame' 'mpg123' 
        'qt5-wayland' 'twolame'
      )
makedepends=('git' 'meson' 'gstreamer' 
             'speex' 'flac' 'libraw1394'
             'qt5-base' 'qt5-declarative')
options=()
source=('git+https://anongit.freedesktop.org/git/gstreamer/gst-plugins-good.git'
        'gst-common::git+https://gitlab.freedesktop.org/gstreamer/common.git')
sha256sums=('SKIP'
            'SKIP')

prepare(){
  cd gst-plugins-good

  git submodule init
  git config --local submodule.common.url "$srcdir/gst-common"
  git submodule update
}

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

build() {
  arch-meson gst-plugins-good build \
    -Ddoc=disabled
  ninja -C build
}

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