summaryrefslogtreecommitdiff
path: root/libre/gst-plugins-bad-libre/PKGBUILD
blob: da800f9655daa1ef173404a71e3e58169801e1ed (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# $Id: PKGBUILD 178027 2013-02-13 20:38:52Z heftig $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>

pkgbase=gst-plugins-bad
pkgname=gst-plugins-bad-libre
pkgver=1.0.5
pkgrel=1
pkgdesc='GStreamer Multimedia Framework Bad Plugins, without nonfree faac support'
arch=(
  i686
  x86_64
  mips64el
)
license=(
  LGPL
)
url="http://gstreamer.freedesktop.org/"
depends=(
  celt
  chromaprint
  curl
  faad2
  gst-plugins-base-libs
  libdca
  libdvdnav
  libgme
  libmms
  libmodplug
  mjpegtools
  mpg123
  opus
  soundtouch
  spandsp
  wayland
)
makedepends=(
  libdvdread
  libexif
  libmpeg2
  libvdpau
  schroedinger
)
provides=(
  $pkgbase=$pkgver
)
conflicts=(
  $pkgbase
)
replaces=(
  $pkgbase 
)
options=(
  '!libtool'
  '!emptydirs'
)
source=(
  "$url/src/$pkgbase/$pkgbase-$pkgver.tar.xz"
)
sha256sums=(
  2e8f5b9a2fd274142d0a916b6425b9466028978b85858dc835dc80de744b276a
)

build() {
  cd $pkgbase-$pkgver
  sed -i '/AC_PATH_XTRA/d' configure.ac
  aclocal -I m4 -I common/m4
  autoconf
  automake --add-missing
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
    --disable-static --enable-experimental \
    --with-package-name='GStreamer Bad Plugins (Parabola)' \
    --with-package-origin='http://parabolagnulinux.org/' \
    --with-gtk=3.0
  make
}

check() {
  cd $pkgbase-$pkgver
  make check
}

package() {
  cd $pkgbase-$pkgver
  make DESTDIR=$pkgdir install
}