mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
37 lines
961 B
Bash
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
|
|
}
|