Date: Thursday, December 26, 2019 @ 05:47:42 Author: lcarlier Revision: 372303
archrelease: copy trunk to extra-x86_64 Added: vulkan-tools/repos/extra-x86_64/PKGBUILD (from rev 372302, vulkan-tools/trunk/PKGBUILD) Deleted: vulkan-tools/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 102 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 51 insertions(+), 51 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-12-26 05:47:37 UTC (rev 372302) +++ PKGBUILD 2019-12-26 05:47:42 UTC (rev 372303) @@ -1,51 +0,0 @@ -# Maintainer: Laurent Carlier <lordhea...@gmail.com> - -pkgname=vulkan-tools -pkgver=1.1.128 -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) -source=("https://github.com/KhronosGroup/Vulkan-Tools/archive/v${pkgver}.tar.gz") -#source=("git+https://github.com/KhronosGroup/Vulkan-Tools.git#commit=534747d770a84a18a20949430679aa1b7bf0f398") -sha256sums=('ea660f23cd7f53b4272a49e9581eb40cf95a9586e5a5ebd30ce0e8722c363319') - -#pkgver() { -# cd "${srcdir}"/Vulkan-Tools* -# -# echo 1.1.97.0+$(git rev-list --count HEAD)+$(git rev-parse --short HEAD) -#} - -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 \ - -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 372302, vulkan-tools/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-12-26 05:47:42 UTC (rev 372303) @@ -0,0 +1,51 @@ +# Maintainer: Laurent Carlier <lordhea...@gmail.com> + +pkgname=vulkan-tools +pkgver=1.1.130 +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) +source=("https://github.com/KhronosGroup/Vulkan-Tools/archive/v${pkgver}.tar.gz") +#source=("git+https://github.com/KhronosGroup/Vulkan-Tools.git#commit=534747d770a84a18a20949430679aa1b7bf0f398") +sha256sums=('5de87f7c13ee2fcdd9c35c1ca9540c04c12900d6d6d77efa3426a4dcf931ec2a') + +#pkgver() { +# cd "${srcdir}"/Vulkan-Tools* +# +# echo 1.1.97.0+$(git rev-list --count HEAD)+$(git rev-parse --short HEAD) +#} + +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 \ + -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}/ +}