[arch-commits] Commit in qt6-shadertools/repos (2 files)
Antonio Rojas
arojas at gemini.archlinux.org
Thu Jun 16 16:47:48 UTC 2022
Date: Thursday, June 16, 2022 @ 16:47:48
Author: arojas
Revision: 448810
archrelease: copy kde-unstable to kde-unstable-x86_64
Added:
qt6-shadertools/repos/kde-unstable-x86_64/
qt6-shadertools/repos/kde-unstable-x86_64/PKGBUILD
(from rev 448809, qt6-shadertools/kde-unstable/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: qt6-shadertools/repos/kde-unstable-x86_64/PKGBUILD (from rev 448809, qt6-shadertools/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD (rev 0)
+++ kde-unstable-x86_64/PKGBUILD 2022-06-16 16:47:48 UTC (rev 448810)
@@ -0,0 +1,32 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=qt6-shadertools
+_qtver=6.4.0-beta1
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=(x86_64)
+url='https://www.qt.io'
+license=(GPL3)
+pkgdesc='Provides functionality for the shader pipeline that allows Qt Quick to operate on Vulkan, Metal, and Direct3D, in addition to OpenGL'
+depends=(qt6-base)
+makedepends=(cmake ninja)
+groups=(qt6)
+options=(debug)
+_pkgfn=${pkgname/6-/}-everywhere-src-$_qtver
+source=(https://download.qt.io/development_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz)
+sha256sums=('a196e2ebf8491d5606eac91065df539309e6f4deb1d5cbd1cf6ad3acfe83a0fd')
+
+build() {
+ cmake -B build -S $_pkgfn -G Ninja \
+ -DCMAKE_MESSAGE_LOG_LEVEL=STATUS
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+
+ install -d "$pkgdir"/usr/share/licenses
+ ln -s /usr/share/licenses/qt6-base "$pkgdir"/usr/share/licenses/$pkgname
+}
More information about the arch-commits
mailing list