1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Maintainer: Felix Yan <felixonmars@archlinux.org>
4 pkgname=qt6-quickeffectmaker
9 url='https://www.qt.io'
10 license=(GPL3 LGPL3 FDL custom)
11 pkgdesc='Qt Quick Effect Maker (QQEM) for creating and editing custom shader effects'
12 depends=(qt6-shadertools qt6-quick3d)
13 makedepends=(cmake ninja)
15 _pkgfn=${pkgname/6-/}-everywhere-src-$_qtver
16 source=(https://download.qt.io/official_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz
17 ae9e00fd.patch::https://code.qt.io/cgit/qt/qtquickeffectmaker.git/patch/?id=ae9e00fd)
18 sha256sums=('4b32c672cad0f7890f56a59486bd79cf8fa4ad208fb0f7c25e14e0aa2fb29cd7'
19 '2194f0684e5cb3955b074f46eba07bbcdf83a4f7c63a3ec5b508ce97ad75d91a')
22 patch -d $_pkgfn -p1 < ae9e00fd.patch # Set qqem as user-facing so it's symlinked in /usr/bin
26 cmake -B build -S $_pkgfn -G Ninja \
27 -DCMAKE_MESSAGE_LOG_LEVEL=STATUS \
28 -DINSTALL_PUBLICBINDIR=usr/bin
33 DESTDIR="$pkgdir" cmake --install build
35 # Install symlinks for user-facing tools
40 done < "$srcdir"/build/user_facing_tool_links.txt
42 install -d "$pkgdir"/usr/share/licenses
43 ln -s /usr/share/licenses/qt6-base "$pkgdir"/usr/share/licenses/$pkgname