# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=retroarch _pkgname=RetroArch pkgver=1.7.8.4 pkgrel=0 arch="all" url="https://retroarch.com" pkgdesc="Reference frontend for the libretro API" license="GPL-2.0-only" depends="retroarch-assets retroarch-joypad-autoconfig libretro-core-info libretro-database" makedepends="linux-headers mesa-dev qt5-qtbase-dev wayland-dev wayland-protocols zlib-dev alsa-lib-dev pulseaudio-dev sdl2-dev flac-dev mbedtls-dev libusb-dev ffmpeg-dev libxkbcommon-dev eudev-dev vulkan-loader-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/libretro/retroarch/archive/v$pkgver.tar.gz config.patch" subpackages="$pkgname-doc" builddir="$srcdir/$_pkgname-$pkgver" options="!check" # No tests build() { CFLAGS="$CFLAGS -I/usr/include/directfb" ./configure \ --prefix=/usr \ --enable-dynamic \ --disable-vg \ --disable-discord \ --disable-builtinminiupnpc \ --disable-builtinmbedtls \ --disable-builtinflac \ --disable-builtinzlib make } package() { DESTDIR="$pkgdir" make install } sha512sums="7d7f26b3e617b5b898ef163b02b9809f6aa6a669d8e257501a00137287fbe668b0d72a84ff46e5ea336c14e29c5712bfad08fd156c2e280dd02b6469188145c0 retroarch-1.7.8.4.tar.gz 55c08dc1d32c24b7fa15d9d843180d04147d0233eaf8cee6fb83d7393fc470f94aa16f22f6d10e75f2c66675979b2365993918fa11aaa32dc1f7951c7bca7038 config.patch"