blob: c132e45fd3d90e553cfdd8734ab97923750c0165 (
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
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=retroarch
pkgver=1.8.2
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/RetroArch-$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="0f2feae787d3c327641a85f16220149881c5fdc74a36d7e9b763b4e2dc6689ccddde7f48fa148e1ed654fe8aaa9f15a2f0144071e02292d4a671475ad212324f retroarch-1.8.2.tar.gz
55c08dc1d32c24b7fa15d9d843180d04147d0233eaf8cee6fb83d7393fc470f94aa16f22f6d10e75f2c66675979b2365993918fa11aaa32dc1f7951c7bca7038 config.patch"
|