[arch-commits] Commit in lib32-vulkan-icd-loader/repos/multilib-x86_64 (2 files)

Laurent Carlier lcarlier at archlinux.org
Wed Apr 29 10:04:17 UTC 2020


    Date: Wednesday, April 29, 2020 @ 10:04:16
  Author: lcarlier
Revision: 622228

archrelease: copy trunk to multilib-x86_64

Added:
  lib32-vulkan-icd-loader/repos/multilib-x86_64/PKGBUILD
    (from rev 622227, lib32-vulkan-icd-loader/trunk/PKGBUILD)
Deleted:
  lib32-vulkan-icd-loader/repos/multilib-x86_64/PKGBUILD

----------+
 PKGBUILD |  101 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 47 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-29 10:04:10 UTC (rev 622227)
+++ PKGBUILD	2020-04-29 10:04:16 UTC (rev 622228)
@@ -1,54 +0,0 @@
-# Maintainer: Laurent Carlier <lordheavym at gmail.com>
-
-pkgname=lib32-vulkan-icd-loader
-pkgver=1.2.135
-pkgrel=1
-arch=(x86_64)
-pkgdesc="Vulkan Installable Client Driver (ICD) Loader (32-bit)"
-url="https://www.khronos.org/vulkan/"
-license=('custom')
-makedepends=(cmake python lib32-libx11 lib32-libxrandr lib32-wayland vulkan-headers git)
-depends=(lib32-glibc)
-optdepends=('lib32-vulkan-driver: packaged vulkan driver')
-source=("https://github.com/KhronosGroup/Vulkan-Loader/archive/v${pkgver}.tar.gz")
-#source=("git+https://github.com/KhronosGroup/Vulkan-Loader.git#commit=e1eafa18e17d00374253bcd37d015befa89fcc43")
-sha256sums=('9a45c9bfce00026f5c12d4b869f87f2708cb28be49f3cd6c5044c7f8121071b6')
-
-#pkgver() {
-#  cd "${srcdir}/Vulkan-Loader"
-#
-#  echo 1.1.99+$(git rev-list --count HEAD)+$(git rev-parse --short HEAD)
-#}
-
-build() {
-  export ASFLAGS=--32
-  export CFLAGS=-m32
-  export CXXFLAGS=-m32                                                                                                                                                                                                            
-  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" 
-
-  cd "${srcdir}"/Vulkan-Loader*
-
-  rm -rf build ; mkdir build ; cd build
-  cmake -DCMAKE_INSTALL_PREFIX=/usr \
-    -DVULKAN_HEADERS_INSTALL_DIR=/usr \
-    -DCMAKE_INSTALL_SYSCONFDIR=/etc \
-    -DCMAKE_INSTALL_LIBDIR=lib32 \
-    -DCMAKE_INSTALL_DATADIR=/share \
-    -DCMAKE_SKIP_RPATH=True \
-    -DBUILD_TESTS=Off \
-    -DBUILD_WSI_XCB_SUPPORT=On \
-    -DBUILD_WSI_XLIB_SUPPORT=On \
-    -DBUILD_WSI_WAYLAND_SUPPORT=On \
-    -DCMAKE_BUILD_TYPE=Release \
-    ..
-  make
-}
-
-package() {
-  cd "${srcdir}"/Vulkan-Loader*/build
-  
-  make DESTDIR="${pkgdir}" install
-
-  install -dm755 ${pkgdir}/usr/share/licenses/${pkgname}
-  install -m644 ../LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/
-}

Copied: lib32-vulkan-icd-loader/repos/multilib-x86_64/PKGBUILD (from rev 622227, lib32-vulkan-icd-loader/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-29 10:04:16 UTC (rev 622228)
@@ -0,0 +1,47 @@
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+
+pkgname=lib32-vulkan-icd-loader
+pkgver=1.2.137
+pkgrel=1
+arch=(x86_64)
+pkgdesc="Vulkan Installable Client Driver (ICD) Loader (32-bit)"
+url="https://www.khronos.org/vulkan/"
+license=('custom')
+makedepends=(cmake python lib32-libx11 lib32-libxrandr lib32-wayland vulkan-headers git)
+depends=(lib32-glibc)
+optdepends=('lib32-vulkan-driver: packaged vulkan driver')
+source=("vulkan-loader-${pkgver}.tar.gz::https://github.com/KhronosGroup/Vulkan-Loader/archive/v${pkgver}.tar.gz")
+sha256sums=('098a59996fcb32daeda6423fa3fb8a74cff532ec37b33235601ac06f0df00485')
+
+build() {
+  export ASFLAGS=--32
+  export CFLAGS=-m32
+  export CXXFLAGS=-m32                                                                                                                                                                                                            
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" 
+
+  cd "${srcdir}"/Vulkan-Loader*
+
+  rm -rf build ; mkdir build ; cd build
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+    -DVULKAN_HEADERS_INSTALL_DIR=/usr \
+    -DCMAKE_INSTALL_SYSCONFDIR=/etc \
+    -DCMAKE_INSTALL_LIBDIR=lib32 \
+    -DCMAKE_INSTALL_DATADIR=/share \
+    -DCMAKE_SKIP_RPATH=True \
+    -DBUILD_TESTS=Off \
+    -DBUILD_WSI_XCB_SUPPORT=On \
+    -DBUILD_WSI_XLIB_SUPPORT=On \
+    -DBUILD_WSI_WAYLAND_SUPPORT=On \
+    -DCMAKE_BUILD_TYPE=Release \
+    ..
+  make
+}
+
+package() {
+  cd "${srcdir}"/Vulkan-Loader*/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