desktop/qt-gstreamer/PKGBUILD
2014-07-26 20:02:00 +00:00

37 lines
961 B
Bash

# Neophytos Kolokotronis <tetris4@gmail.com>
# Contributor: laloch <laloch@atlas.cz>
pkgname=qt-gstreamer
pkgver=1.2.0
pkgrel=1
pkgdesc="Qt bindings for GStreamer"
arch=('x86_64')
url="http://gstreamer.freedesktop.org/modules/qt-gstreamer.html"
license=('LGPL2.1')
depends=('qt' 'gstreamer' 'gst-plugins-base')
makedepends=('cmake' 'automoc4' 'boost' 'flex' 'bison' 'doxygen')
optdepends=('libgles: required for OpenGLES rendering support in qtvideosink (embedded only)')
source=("http://gstreamer.freedesktop.org/src/qt-gstreamer/${pkgname}-$pkgver.tar.xz")
md5sums=('fd794045a828c184acc1794b08a463fd')
prepare() {
mkdir build
}
build() {
cd build
cmake "$srcdir/${pkgname}-$pkgver" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_BUILD_TYPE=Release \
-DQTGSTREAMER_EXAMPLES=OFF \
-DQTGSTREAMER_TESTS=OFF ${srcdir}/${pkgname}-${pkgver}
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}