blob: 62fd08d4436daa53a49146785863e66284e96144 (
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
|
# Maintainer: Mopigames <mopigames@proton.me>
pkgname=vanilla-wiiu-git
pkgver=continuous.15.g7788aeb
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')
depends=('qt6-base' 'qt6-multimedia' 'qt6-svg' 'ffmpeg' 'libnl' 'sdl2' 'dhclient')
makedepends=('git' 'cmake' 'make')
source=("$pkgname::git+$url")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --tags --long | sed 's/^v//' | sed 's/-/./g' | tr -d ':'
}
build() {
cd "$pkgname"
git submodule update --init --recursive
mkdir -p build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd "$pkgname/build"
install -Dm755 "bin/vanilla-gui" "$pkgdir/usr/bin/vanilla-gui"
install -Dm644 /dev/stdin "$pkgdir/usr/share/applications/vanilla-gui.desktop" <<EOF
[Desktop Entry]
Version=1.0
Type=Application
Name=Vanilla Wii U GamePad
Comment=A work-in-progress Wii U GamePad software clone for Linux
Exec=vanilla-gui
Terminal=false
Categories=Game;Emulator;
EOF
}
|