blob: f5d1e6d51195d83054e28418041ae82041fb0de6 (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Maintainer: Mopigames <mopigames@proton.me>
pkgname=vanilla-wiiu-git
_pkgname=vanilla
pkgver=r486.g066aefd
pkgrel=1
pkgdesc="A work-in-progress Wii U GamePad software clone for Linux"
arch=('x86_64')
url="https://github.com/vanilla-wiiu/vanilla"
license=('GPL-2.0-only')
depends=(
'ffmpeg'
'glib2'
'glibc'
'libdrm'
'libgcc'
'libglvnd'
'libnl'
'libnm'
'libva'
'libx11'
'libxml2'
'openssl'
'polkit'
'sdl2'
'sdl2_image'
'sdl2_ttf'
)
makedepends=('cmake' 'git' 'pkgconf')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("$_pkgname::git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd "$_pkgname"
printf "r%s.g%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cmake -B build -S "$_pkgname" \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DVANILLA_BUILD_VENDORED=OFF \
-DVANILLA_BUILD_TESTS=OFF \
-Wno-dev
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|