1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: Andrea Scarpino <andrea@archlinux.org>
3 # Contributor: laloch <laloch@atlas.cz>
9 pkgdesc="Qt bindings for GStreamer"
10 url='https://gstreamer.freedesktop.org/modules/qt-gstreamer.html'
12 depends=(qt5-declarative gst-plugins-good)
13 makedepends=(cmake boost doxygen python)
14 source=("https://gstreamer.freedesktop.org/src/$pkgname/$pkgname-$pkgver.tar.xz"
17 qt-gstreamer-1.18.patch)
18 sha256sums=('9f3b492b74cad9be918e4c4db96df48dab9c012f2ae5667f438b64a4d92e8fd4'
19 'adffd16ceb13a324858ff38b7bc01ea5129a439bda170e322598df4c7fa24637'
20 'dfc2681ab1d157e08b838fb48f51d64fddf3b8ac25a4ec00051632db4f938668'
21 'c62ddf19ef0079eed669585459d7031f69ddd18f7db2122c6e84f221ccb8afb5')
25 patch -p1 -i ../gstreamer-1.6.patch # Fix build with gstreamer 1.6
26 patch -p1 -i ../gstreamer-1.16.patch # Fix build with gstreamer 1.16
27 patch -p1 -i ../qt-gstreamer-1.18.patch # Fix build with gstreamer 1.18
31 cmake -B build -S $pkgname-$pkgver \
32 -DCMAKE_INSTALL_PREFIX=/usr \
33 -DQTGSTREAMER_EXAMPLES=OFF \
39 DESTDIR="$pkgdir" cmake --install build