[arch-commits] Commit in amdvlk/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Laurent Carlier lcarlier at archlinux.org
Thu Nov 19 07:25:57 UTC 2020


    Date: Thursday, November 19, 2020 @ 07:25:57
  Author: lcarlier
Revision: 401373

archrelease: copy trunk to extra-x86_64

Added:
  amdvlk/repos/extra-x86_64/PKGBUILD
    (from rev 401372, amdvlk/trunk/PKGBUILD)
Deleted:
  amdvlk/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |  126 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 63 insertions(+), 63 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-19 07:25:52 UTC (rev 401372)
+++ PKGBUILD	2020-11-19 07:25:57 UTC (rev 401373)
@@ -1,63 +0,0 @@
-# Maintainer: Laurent Carlier <lordheavym at gmail.com>
-# Contributor: lod <aur at cyber-anlage.de>
-
-pkgname=amdvlk
-pkgver=2020.Q4.4
-pkgrel=1
-pkgdesc="AMD's standalone Vulkan driver"
-arch=(x86_64)
-url="https://github.com/GPUOpen-Drivers"
-license=('MIT')
-provides=('vulkan-driver')
-makedepends=('perl-xml-xpath' 'python' 'wayland' 'libxrandr' 'xorg-server-devel' 'cmake' 'ninja' 'git')
-makedepends+=('python2') # spvgen
-source=("https://github.com/GPUOpen-Drivers/AMDVLK/archive/v-${pkgver}.tar.gz")
-sha256sums=('6ba377de4a26a51d90531390f1d261f9ad193c9d15a41a29525988f848b2e4ff')
-            
-prepare() {
-  local nrepos path name revision
-  
-  nrepos=$(xpath -q -e //project AMDVLK-v-${pkgver}/default.xml | wc -l)
-  
-  while (($nrepos>0))
-  do
-    path=$(xpath -q -e //project[$nrepos]/@path AMDVLK-v-${pkgver}/default.xml | sed 's/ path="drivers\/\(.*\)"/\1/g')
-    name=$(xpath -q -e //project[$nrepos]/@name AMDVLK-v-${pkgver}/default.xml | sed 's/ name="\(.*\)"/\1/g')
-    revision=$(xpath -q -e //project[$nrepos]/@revision AMDVLK-v-${pkgver}/default.xml | sed 's/ revision="\(.*\)"/\1/g')
-    git clone https://github.com/GPUOpen-Drivers/$name $path
-      pushd $path
-        git checkout $revision
-      popd
-    (( nrepos-- ))
-  done
-  
-  # fix build with gcc9 
-  sed -i "s/-Werror//g" ${srcdir}/pal/shared/gpuopen/cmake/AMD.cmake
-}
-
-build() {
-  cd ${srcdir}/spvgen/external
-  python2 fetch_external_sources.py
-
-  cd ${srcdir}/xgl
-  cmake -H. -Bbuilds/Release64 \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DBUILD_WAYLAND_SUPPORT=On \
-    -G Ninja
-    
-  ninja -C builds/Release64
-  ninja -C builds/Release64 spvgen
-}
-
-package() {
-  install -m755 -d "${pkgdir}"/usr/lib
-  install -m755 -d "${pkgdir}"/usr/share/vulkan/icd.d
-  install -m755 -d "${pkgdir}"/usr/share/licenses/${pkgname}
-
-  install xgl/builds/Release64/icd/amdvlk64.so "${pkgdir}"/usr/lib/
-  install xgl/builds/Release64/spvgen/spvgen.so ${pkgdir}/usr/lib/
-  install AMDVLK/json/Redhat/amd_icd64.json "${pkgdir}"/usr/share/vulkan/icd.d/
-  install AMDVLK/LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/
-  
-  sed -i "s#/lib64#/lib#g" "${pkgdir}"/usr/share/vulkan/icd.d/amd_icd64.json
-}

Copied: amdvlk/repos/extra-x86_64/PKGBUILD (from rev 401372, amdvlk/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-19 07:25:57 UTC (rev 401373)
@@ -0,0 +1,63 @@
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+# Contributor: lod <aur at cyber-anlage.de>
+
+pkgname=amdvlk
+pkgver=2020.Q4.5
+pkgrel=1
+pkgdesc="AMD's standalone Vulkan driver"
+arch=(x86_64)
+url="https://github.com/GPUOpen-Drivers"
+license=('MIT')
+provides=('vulkan-driver')
+makedepends=('perl-xml-xpath' 'python' 'wayland' 'libxrandr' 'xorg-server-devel' 'cmake' 'ninja' 'git')
+makedepends+=('python2') # spvgen
+source=("https://github.com/GPUOpen-Drivers/AMDVLK/archive/v-${pkgver}.tar.gz")
+sha256sums=('83a6dd7bdd5d9602aa7ee6263074c9d453caed0ba3b2c8441a74cb0feea0f2d6')
+            
+prepare() {
+  local nrepos path name revision
+  
+  nrepos=$(xpath -q -e //project AMDVLK-v-${pkgver}/default.xml | wc -l)
+  
+  while (($nrepos>0))
+  do
+    path=$(xpath -q -e //project[$nrepos]/@path AMDVLK-v-${pkgver}/default.xml | sed 's/ path="drivers\/\(.*\)"/\1/g')
+    name=$(xpath -q -e //project[$nrepos]/@name AMDVLK-v-${pkgver}/default.xml | sed 's/ name="\(.*\)"/\1/g')
+    revision=$(xpath -q -e //project[$nrepos]/@revision AMDVLK-v-${pkgver}/default.xml | sed 's/ revision="\(.*\)"/\1/g')
+    git clone https://github.com/GPUOpen-Drivers/$name $path
+      pushd $path
+        git checkout $revision
+      popd
+    (( nrepos-- ))
+  done
+  
+  # fix build with gcc9 
+  sed -i "s/-Werror//g" ${srcdir}/pal/shared/gpuopen/cmake/AMD.cmake
+}
+
+build() {
+  cd ${srcdir}/spvgen/external
+  python2 fetch_external_sources.py
+
+  cd ${srcdir}/xgl
+  cmake -H. -Bbuilds/Release64 \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_WAYLAND_SUPPORT=On \
+    -G Ninja
+    
+  ninja -C builds/Release64
+  ninja -C builds/Release64 spvgen
+}
+
+package() {
+  install -m755 -d "${pkgdir}"/usr/lib
+  install -m755 -d "${pkgdir}"/usr/share/vulkan/icd.d
+  install -m755 -d "${pkgdir}"/usr/share/licenses/${pkgname}
+
+  install xgl/builds/Release64/icd/amdvlk64.so "${pkgdir}"/usr/lib/
+  install xgl/builds/Release64/spvgen/spvgen.so ${pkgdir}/usr/lib/
+  install AMDVLK/json/Redhat/amd_icd64.json "${pkgdir}"/usr/share/vulkan/icd.d/
+  install AMDVLK/LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/
+  
+  sed -i "s#/lib64#/lib#g" "${pkgdir}"/usr/share/vulkan/icd.d/amd_icd64.json
+}



More information about the arch-commits mailing list