summaryrefslogtreecommitdiff
path: root/extra/qt-gstreamer
diff options
context:
space:
mode:
Diffstat (limited to 'extra/qt-gstreamer')
-rw-r--r--extra/qt-gstreamer/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/qt-gstreamer/PKGBUILD b/extra/qt-gstreamer/PKGBUILD
new file mode 100644
index 000000000..d083ecff0
--- /dev/null
+++ b/extra/qt-gstreamer/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 161451 2012-06-11 17:44:06Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: laloch <laloch@atlas.cz>
+
+pkgname=qt-gstreamer
+pkgver=0.10.2
+pkgrel=1
+pkgdesc="Qt bindings for GStreamer"
+arch=('i686' 'x86_64')
+url='http://gstreamer.freedesktop.org/modules/qt-gstreamer.html'
+license=('LGPL2.1')
+depends=('qt' 'gstreamer0.10-base' 'libgles')
+makedepends=('cmake' 'automoc4' 'boost' 'mesa' 'doxygen')
+source=("http://gstreamer.freedesktop.org/src/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('0428aedf2874fd0884ad4c41db9da20e')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DQTGSTREAMER_EXAMPLES=OFF
+ make
+}
+
+package() {
+ cd "$srcdir/build"
+ make DESTDIR="$pkgdir" install
+}