Browse Source

initial transfer

master
artoo 4 years ago
parent
commit
4b6b5f4de6
  1. 48
      repos/extra-x86_64/PKGBUILD
  2. 48
      trunk/PKGBUILD

48
repos/extra-x86_64/PKGBUILD

@ -0,0 +1,48 @@
# Maintainer: Laurent Carlier <lordheavym@gmail.com>
pkgname=vulkan-icd-loader
pkgver=1.1.92+2999+abe5c2b3c
pkgrel=1
arch=(x86_64)
pkgdesc="Vulkan Installable Client Driver (ICD) Loader"
url="https://www.khronos.org/vulkan/"
license=('custom')
makedepends=(cmake python-lxml libx11 libxrandr wayland vulkan-headers git)
depends=(glibc)
optdepends=('vulkan-driver: packaged vulkan driver') # vulkan-driver: vulkan-intel/vulkan-radeon/nvidia-utils/....
#source=("https://github.com/KhronosGroup/Vulkan-Loader/archive/sdk-${pkgver}.tar.gz"
source=("git+https://github.com/KhronosGroup/Vulkan-Loader.git#commit=abe5c2b3c33e42fff883d32d4c168556fb29b3ba")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/Vulkan-Loader"
echo 1.1.92+$(git rev-list --count HEAD)+$(git rev-parse --short HEAD)
}
build() {
cd "${srcdir}/Vulkan-Loader"
rm -rf build ; mkdir build ; cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
-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}/
}

48
trunk/PKGBUILD

@ -0,0 +1,48 @@
# Maintainer: Laurent Carlier <lordheavym@gmail.com>
pkgname=vulkan-icd-loader
pkgver=1.1.92+2999+abe5c2b3c
pkgrel=1
arch=(x86_64)
pkgdesc="Vulkan Installable Client Driver (ICD) Loader"
url="https://www.khronos.org/vulkan/"
license=('custom')
makedepends=(cmake python-lxml libx11 libxrandr wayland vulkan-headers git)
depends=(glibc)
optdepends=('vulkan-driver: packaged vulkan driver') # vulkan-driver: vulkan-intel/vulkan-radeon/nvidia-utils/....
#source=("https://github.com/KhronosGroup/Vulkan-Loader/archive/sdk-${pkgver}.tar.gz"
source=("git+https://github.com/KhronosGroup/Vulkan-Loader.git#commit=abe5c2b3c33e42fff883d32d4c168556fb29b3ba")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/Vulkan-Loader"
echo 1.1.92+$(git rev-list --count HEAD)+$(git rev-parse --short HEAD)
}
build() {
cd "${srcdir}/Vulkan-Loader"
rm -rf build ; mkdir build ; cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
-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}/
}
Loading…
Cancel
Save