1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Maintainer: Felix Yan <felixonmars@archlinux.org>
9 url='https://www.qt.io'
10 license=(GPL3 LGPL3 FDL custom)
11 pkgdesc='Classes for audio, video, radio and camera functionality'
12 depends=(qt6-base gst-plugins-base)
13 makedepends=(cmake ninja qt6-declarative qt6-shadertools)
14 optdepends=('qt6-declarative: QML bindings'
15 'gst-plugins-good: camera support, additional plugins'
16 'gst-plugins-bad: camera support, additional plugins'
17 'gst-plugins-ugly: additional plugins'
18 'gst-libav: ffmpeg plugin')
20 _pkgfn="${pkgname/6-/}-everywhere-src-$_qtver"
21 source=(https://download.qt.io/official_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz)
22 sha256sums=('37ec84e7e35a818e86eee5059bd245d6c42cc11f9fa4110df35b3644b7494810')
25 cmake -B build -S $_pkgfn -G Ninja
30 DESTDIR="$pkgdir" cmake --install build
32 install -d "$pkgdir"/usr/share/licenses
33 ln -s /usr/share/licenses/qt6-base "$pkgdir"/usr/share/licenses/$pkgname