blob: a0dddd6e89f38d9752ea65ae653e0d5e11cfec1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=gulkan
pkgver=0.16.0
pkgrel=3
pkgdesc="GLib library for Vulkan abstraction"
arch=('i686' 'x86_64')
url="https://gitlab.freedesktop.org/xrdesktop/gulkan"
license=('MIT')
depends=('glibc' 'cairo' 'gdk-pixbuf2' 'glib2' 'graphene' 'vulkan-icd-loader')
makedepends=('meson' 'glew' 'glfw' 'gtk-doc' 'json-glib' 'libdrm' 'libegl'
'libxkbcommon' 'pango' 'shaderc' 'vulkan-headers' 'wayland' 'wayland-protocols'
'xcb-util-keysyms')
source=("https://gitlab.freedesktop.org/xrdesktop/gulkan/-/archive/$pkgver/gulkan-$pkgver.tar.gz")
sha256sums=('20f7a562bf7058322ecfbfcf75de7a76d80a0b33c3bdea62d873d353d1fe4ced')
build() {
cd "$pkgname-$pkgver"
meson setup \
--buildtype=plain \
--prefix="/usr" \
"_build"
meson compile -C "_build"
}
check() {
cd "$pkgname-$pkgver"
#meson test -C "_build"
}
package() {
cd "$pkgname-$pkgver"
meson install -C "_build" --destdir "$pkgdir"
install -Dm644 "LICENSE" -t "$pkgdir/usr/share/licenses/gulkan"
}
|