1 # Maintainer: laloch <laloch@atlas.cz>
5 pkgdesc="Qt bindings for GStreamer"
7 url="http://gstreamer.freedesktop.org/modules/qt-gstreamer.html"
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"
15 md5sums=('ce11806d7b4bb38509988ae17d2a1be4'
16 'dbbc9a6b6e30508b6279f62c66e8ce7f'
17 '90db17dd3061df2596a1e472bae5d4b4')
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
36 cd "$srcdir/$pkgname-build"
37 make DESTDIR="$pkgdir/" install
40 # vim:set ts=2 sw=2 et: