diff options
author | Chocobo1 | 2021-09-05 23:27:32 +0800 |
---|---|---|
committer | Chocobo1 | 2021-09-05 23:33:04 +0800 |
commit | e18346fb39c96eee9ee162d627d707c93a867adc (patch) | |
tree | 6023754840612c7c9570c7f65b7316d5273ad078 /PKGBUILD | |
parent | ca37d2540b1e930408e1feaa0d7002d69922adba (diff) | |
download | aur-e18346fb39c96eee9ee162d627d707c93a867adc.tar.gz |
upgpkg: gulkan 0.15.2-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -1,7 +1,7 @@ # Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net> pkgname=gulkan -pkgver=0.15.1 +pkgver=0.15.2 pkgrel=1 pkgdesc="GLib library for Vulkan abstraction" arch=('i686' 'x86_64') @@ -10,10 +10,18 @@ license=('MIT') depends=('glibc' 'cairo' 'gdk-pixbuf2' 'glib2' 'graphene' 'vulkan-icd-loader') makedepends=('meson' 'glslang' 'gtk-doc' 'vulkan-headers') optdepends=('glew' 'glfw' 'libdrm') -source=("https://gitlab.freedesktop.org/xrdesktop/gulkan/-/archive/$pkgver/gulkan-$pkgver.tar.bz2") -sha256sums=('85ebbb1bad1e98434df374d9f78d0c3c104e0c9a153097463f71935ef69b2d85') +source=("https://gitlab.freedesktop.org/xrdesktop/gulkan/-/archive/$pkgver/gulkan-$pkgver.tar.bz2" + "fix_incompatible_types.patch::https://gitlab.freedesktop.org/xrdesktop/gulkan/-/commit/ea94e97a58538090f65fae3b94395e5c08d4b8ee.patch") +sha256sums=('f462688927817b7ca02fd8f493b34af33d795c72f146df100ac87143bb27d5ee' + '8d949d3b1a3bdddb2189cbd7490740aaf661ab3a7f5a666dc9aac53525f80f35') +prepare() { + cd "$pkgname-$pkgver" + + patch -Np1 -i "$srcdir/fix_incompatible_types.patch" +} + build() { cd "$pkgname-$pkgver" @@ -21,7 +29,7 @@ build() { --buildtype=plain \ --prefix="/usr" \ "_build" - ninja -C "_build" + meson compile -C "_build" } check() { |