# Maintainer: Mark Wagie # Contributor: Victor Fuentes # Contributor: Filipe Laíns (FFY00) # Contributor: Michael DeGuzis # Contributor: Frederik “Freso” S. Olesen # Contributor: Maxime Gauduin pkgname=lutris-git pkgver=0.5.10.beta1.r0.g69e3a6c8 pkgrel=1 pkgdesc='Open Gaming Platform' arch=('any') url='https://lutris.net/' license=('GPL3') depends=('python-gobject' 'python-yaml' 'python-evdev' 'python-dbus' 'gtk3' 'glib2' 'psmisc' 'cabextract' 'unzip' 'p7zip' 'curl' 'xorg-xrandr' 'python-pillow' 'python-requests' 'gnome-desktop' 'webkit2gtk' 'mesa-utils' 'python-dbus' 'python-distro' 'python-magic' 'python-lxml') makedepends=('git' 'meson') checkdepends=('appstream-glib') optdepends=( 'wine: easiest way to get all the libraries missing from the Lutris runtime' 'winetricks: use system winetricks' 'vulkan-icd-loader: Vulkan support' 'lib32-vulkan-icd-loader: Vulkan support' 'vkd3d: Vulkan 3D support' 'lib32-vkd3d: Vulkan 3D support' 'gvfs: GVFS backend' 'lib32-glibc: for 32bit games support' 'gamemode: Allows games to request a temporary set of optimisations' 'lib32-gamemode: Allows games to request a temporary set of optimisations' "mangohud: Display the games' FPS + other information" "lib32-mangohud: Display the games' FPS + other information" 'innoextract: Extract Inno Setup installers' 'xorg-xgamma: Restore gamma on game exit' 'gamescope: draw the game window isolated from your desktop' 'linux-steam-integration: start Steam with LSI') provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") source=('git+https://github.com/lutris/lutris.git') sha256sums=('SKIP') pkgver() { cd "$srcdir/${pkgname%-git}" git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { arch-meson "${pkgname%-git}" build meson compile -C build } check() { appstream-util validate-relax --nonet build/net.lutris.Lutris.metainfo.xml } package() { meson install -C build --destdir "$pkgdir" }