blob: 6136050ec59308612a8eacadb71f5f1ddf08265f (
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
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=retroarch
_pkgname=RetroArch
pkgver=1.7.7
pkgrel=5
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/$pkgname/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="4ad70f092d1de34de5c4d2d83bae93ca26a1461e45e6bc17bbce9f3d6498d5639a3f97aa5881af29750377a819d4710c94a144450a3af54e0014b60790ba7155 retroarch-1.7.7.tar.gz
5a52f852831f7cef272373e100bd740c98a50ed52531ef1c5a715a4e648ca859f6243104ff13d2ba243f579d06b9658389155d3a09dc324712d3d63a56ebf578 config.patch"
|