aboutsummaryrefslogblamecommitdiffstats
path: root/community/retroarch/APKBUILD
blob: 31ae6d35a8cc4dcb8aeb1efb9b3d219c872afcb2 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                  
                                                   
                 





                                                                          

            
                        
                           

                                                 
                                                                                           


                                                                                     
                                                                                              
                    
         
                          
                                    


                           
                                                




                                   


                                     


                                            
                                     






                                      
            
                                                                                                                                                        

                                                                                                                                              
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=retroarch
# If you plan to upgrade RetroArch, you also need to upgrade the following
# packages at the same time:
# - libretro-database
# - libretro-core-info
# - retroarch-assets
# - retroarch-joypad-autoconfig
pkgver=1.9.9
pkgrel=0
arch="all !mips !mips64"
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 \
		--enable-kms \
		--enable-egl \
		--disable-videocore \
		--disable-builtinminiupnpc \
		--disable-builtinmbedtls \
		--disable-builtinflac \
		--disable-builtinzlib
	make
}

package() {
	DESTDIR="$pkgdir" make install
}

sha512sums="
05d2d6c909ae5192480e4c5c0722eb248f782e329e6abbc4643e9adcf1b6008923068153ccf4f4a449305ed83625ae86c015ec2c8b7ebd309852c4d3c218f62a  retroarch-1.9.9.tar.gz
0b3a8e1fe318d783a5a34606da187d086f8ad9b543cc496c9c6d527dca40d0078a66a6ccb11b1aaf3519a37ac93c8790af0d916c628ae9286066c0a84308fa15  config.patch
"