updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / qt-gstreamer / PKGBUILD
blob5c644871158d1eb126c5898fbe660cd8ae27022e
1 # Maintainer: laloch <laloch@atlas.cz>
2 pkgname=qt-gstreamer
3 pkgver=0.10.1
4 pkgrel=4
5 pkgdesc="Qt bindings for GStreamer"
6 arch=('i686' 'x86_64')
7 url="http://gstreamer.freedesktop.org/modules/qt-gstreamer.html"
8 license=('LGPL2.1')
9 depends=('qt' 'gstreamer0.10-base')
10 makedepends=('cmake' 'automoc4' 'boost' 'flex' 'bison')
11 source=("http://cgit.freedesktop.org/gstreamer/$pkgname/snapshot/RELEASE-$pkgver.tar.bz2"
12         "fix-glib-2.29.patch::http://cgit.freedesktop.org/gstreamer/qt-gstreamer/patch/src/QGst/caps.cpp?id=a5487083433341783733858b5c153b759053f032"
13         "fix-boost-1.48.patch"
14         )
15 md5sums=('ce11806d7b4bb38509988ae17d2a1be4'
16          'dbbc9a6b6e30508b6279f62c66e8ce7f'
17          '90db17dd3061df2596a1e472bae5d4b4')
19 build() {
20   patch -d "$srcdir/RELEASE-$pkgver" -p1 < "$srcdir/fix-glib-2.29.patch"
21   patch -d "$srcdir/RELEASE-$pkgver" -p1 < "$srcdir/fix-boost-1.48.patch"
23   rm -rf "$srcdir/$pkgname-build"
24   mkdir "$srcdir/$pkgname-build"
25   cd "$srcdir/$pkgname-build"
27   cmake "$srcdir/RELEASE-$pkgver" \
28     -DCMAKE_INSTALL_PREFIX=/usr \
29     -DCMAKE_BUILD_TYPE=Release \
30     -DQTGSTREAMER_EXAMPLES=OFF \
31     -DQTGSTREAMER_TESTS=OFF
32   make
35 package() {
36   cd "$srcdir/$pkgname-build"
37   make DESTDIR="$pkgdir/" install
40 # vim:set ts=2 sw=2 et: