[arch-commits] Commit in vulkan-tools/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Laurent Carlier
lcarlier at archlinux.org
Mon Feb 8 09:03:49 UTC 2021
Date: Monday, February 8, 2021 @ 09:03:49
Author: lcarlier
Revision: 407636
archrelease: copy trunk to extra-x86_64
Added:
vulkan-tools/repos/extra-x86_64/PKGBUILD
(from rev 407635, vulkan-tools/trunk/PKGBUILD)
Deleted:
vulkan-tools/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 95 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 50 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-08 09:03:44 UTC (rev 407635)
+++ PKGBUILD 2021-02-08 09:03:49 UTC (rev 407636)
@@ -1,45 +0,0 @@
-# Maintainer: Laurent Carlier <lordheavym at gmail.com>
-
-pkgname=vulkan-tools
-pkgver=1.2.162
-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=('98a3a00471da65df833b4ffeb1ab29ec1d169d5feab54270cf4cd8f50f82e682')
-
-build() {
- cd "${srcdir}"/Vulkan-Tools*
-
- rm -rf build ; mkdir build ; cd 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 407635, vulkan-tools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-02-08 09:03:49 UTC (rev 407636)
@@ -0,0 +1,50 @@
+# 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}/
+}
More information about the arch-commits
mailing list