[arch-commits] Commit in vulkan-tools/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Laurent Carlier
lcarlier at archlinux.org
Sun Feb 14 09:23:41 UTC 2021
Date: Sunday, February 14, 2021 @ 09:23:41
Author: lcarlier
Revision: 408030
archrelease: copy trunk to extra-x86_64
Added:
vulkan-tools/repos/extra-x86_64/PKGBUILD
(from rev 408029, vulkan-tools/trunk/PKGBUILD)
Deleted:
vulkan-tools/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 99 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 49 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-14 09:23:37 UTC (rev 408029)
+++ PKGBUILD 2021-02-14 09:23:41 UTC (rev 408030)
@@ -1,50 +0,0 @@
-# Maintainer: Laurent Carlier <lordheavym at gmail.com>
-
-pkgname=vulkan-tools
-pkgver=1.2.166
-pkgrel=1
-arch=(x86_64)
-url="https://www.khronos.org/vulkan/"
-pkgdesc="Vulkan Utilities and Tools"
-license=('custom')
-depends=(gcc-libs libxcb vulkan-icd-loader)
-makedepends=(git cmake python vulkan-headers libx11 wayland glslang spirv-tools)
-source=("https://github.com/KhronosGroup/Vulkan-Tools/archive/v${pkgver}.tar.gz")
-sha256sums=('700058b72f9f48321bc0dc1e597bec6528af5c9c7158623459da79c96997cd7b')
-
-prepare() {
- cd "${srcdir}"/Vulkan-Tools*
-
- rm -rf build && mkdir build
-}
-
-build() {
- cd "${srcdir}"/Vulkan-Tools*/build
-
- cmake \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_SYSCONFDIR=/etc \
- -DCMAKE_INSTALL_DATADIR=/usr/share \
- -DCMAKE_SKIP_RPATH=True \
- -DBUILD_WSI_XCB_SUPPORT=On \
- -DBUILD_WSI_XLIB_SUPPORT=On \
- -DBUILD_WSI_WAYLAND_SUPPORT=On \
- -DBUILD_CUBE=ON \
- -DBUILD_VULKANINFO=ON \
- -DBUILD_ICD=OFF \
- -DGLSLANG_INSTALL_DIR=/usr \
- -DCMAKE_BUILD_TYPE=Release \
- ..
- make
-}
-
-package() {
- groups=('vulkan-devel')
-
- cd "${srcdir}"/Vulkan-Tools*/build
-
- make DESTDIR="${pkgdir}" install
-
- install -dm755 "${pkgdir}"/usr/share/licenses/${pkgname}
- install -m644 ../LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/
-}
Copied: vulkan-tools/repos/extra-x86_64/PKGBUILD (from rev 408029, vulkan-tools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-02-14 09:23:41 UTC (rev 408030)
@@ -0,0 +1,49 @@
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+
+pkgname=vulkan-tools
+pkgver=1.2.169
+pkgrel=1
+arch=(x86_64)
+url="https://www.khronos.org/vulkan/"
+pkgdesc="Vulkan Utilities and Tools"
+license=('custom')
+depends=('libx11' 'wayland' 'vulkan-icd-loader')
+makedepends=('git' 'cmake' 'python' 'vulkan-headers' 'glslang' 'spirv-tools')
+groups=('vulkan-devel')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/KhronosGroup/Vulkan-Tools/archive/v${pkgver}.tar.gz")
+sha256sums=('ecc7d3eeb5ea92eccd2a1f209818eab7e19e78e976016e6bbafd85988921d73e')
+
+prepare() {
+ cd "${srcdir}"/Vulkan-Tools*
+
+ rm -rf build && mkdir build
+}
+
+build() {
+ cd "${srcdir}"/Vulkan-Tools*/build
+
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_SYSCONFDIR=/etc \
+ -DCMAKE_INSTALL_DATADIR=/usr/share \
+ -DCMAKE_SKIP_RPATH=True \
+ -DBUILD_WSI_XCB_SUPPORT=On \
+ -DBUILD_WSI_XLIB_SUPPORT=On \
+ -DBUILD_WSI_WAYLAND_SUPPORT=On \
+ -DBUILD_CUBE=ON \
+ -DBUILD_VULKANINFO=ON \
+ -DBUILD_ICD=OFF \
+ -DGLSLANG_INSTALL_DIR=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ ..
+ make
+}
+
+package() {
+ cd "${srcdir}"/Vulkan-Tools*/build
+
+ make DESTDIR="${pkgdir}" install
+
+ install -dm755 "${pkgdir}"/usr/share/licenses/${pkgname}
+ install -m644 ../LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/
+}
More information about the arch-commits
mailing list