upgpkg: ocaml-integers 0.5.0-1
[arch-packages.git] / qt6-multimedia / trunk / PKGBUILD
blobdc801f070ff3781c7d4f8062cb000e4ccbec8341
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Maintainer: Felix Yan <felixonmars@archlinux.org>
4 pkgname=qt6-multimedia
5 _qtver=6.2.2
6 pkgver=${_qtver/-/}
7 pkgrel=1
8 arch=(x86_64)
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')
19 groups=(qt6)
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')
24 build() {
25   cmake -B build -S $_pkgfn -G Ninja
26   cmake --build build
29 package() {
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