blob: b7facf76fb7f13b884879742b6c93aaa436ba45a (
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
|
# $Id: PKGBUILD 191181 2013-07-19 01:56:55Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
pkgbase=gstreamer-vaapi
pkgname=(gst-vaapi gstreamer0.10-vaapi)
pkgver=0.5.5.1
pkgrel=1
pkgdesc="GStreamer Multimedia Framework VA Plugins"
arch=(i686 x86_64)
license=(LGPL)
url="http://www.freedesktop.org/software/vaapi/releases/gstreamer-vaapi/"
makedepends=(gst-plugins-base gst-plugins-bad gstreamer0.10-base-plugins gstreamer0.10-bad-plugins libva
libxrandr)
options=(!libtool !emptydirs)
source=($url/$pkgbase-${pkgver}.tar.bz2)
sha1sums=('f4f28d04a2f6dc2b68151af700231ff8e47a7596')
prepare() {
cd $pkgbase-$pkgver
mkdir build-1.0 build-0.10
}
build() {
cd $pkgbase-$pkgver/build-1.0
../configure --prefix=/usr --disable-static --with-gstreamer-api=1.0
make
cd ../build-0.10
../configure --prefix=/usr --disable-static --with-gstreamer-api=0.10
make
}
check() {
cd $pkgbase-$pkgver/build-1.0
make check
cd ../build-0.10
make check
}
package_gst-vaapi() {
depends=(gst-plugins-base gst-plugins-bad libva libxrandr)
cd $pkgbase-$pkgver/build-1.0
make DESTDIR="$pkgdir" install
}
package_gstreamer0.10-vaapi() {
depends=(gstreamer0.10-base-plugins gstreamer0.10-bad-plugins libva libxrandr)
cd $pkgbase-$pkgver/build-0.10
make DESTDIR="$pkgdir" install
}
|