parent
36a1564f72
commit
a5692fb02b
1 changed files with 6 additions and 5 deletions
|
@ -1,21 +1,22 @@
|
||||||
# Template file for 'retroarch'
|
# Template file for 'retroarch'
|
||||||
pkgname=retroarch
|
pkgname=retroarch
|
||||||
version=1.6.7
|
version=1.6.7
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="RetroArch-$version"
|
wrksrc="RetroArch-$version"
|
||||||
conf_files="/etc/retroarch.cfg"
|
conf_files="/etc/retroarch.cfg"
|
||||||
build_style=configure
|
build_style=configure
|
||||||
build_options="ffmpeg opengl jack pulseaudio sdl2 x11"
|
build_options="ffmpeg opengl jack pulseaudio sdl2 x11 vulkan"
|
||||||
configure_args="--prefix=/usr --global-config-dir=/etc --enable-udev
|
configure_args="--prefix=/usr --global-config-dir=/etc --enable-udev
|
||||||
--enable-networking
|
--enable-networking
|
||||||
$(vopt_enable ffmpeg) $(vopt_enable jack) $(vopt_enable pulseaudio pulse)
|
$(vopt_enable ffmpeg) $(vopt_enable jack) $(vopt_enable pulseaudio pulse)
|
||||||
$(vopt_enable sdl2) $(vopt_enable x11)"
|
$(vopt_enable sdl2) $(vopt_enable x11) $(vopt_enable vulkan)"
|
||||||
hostmakedepends="pkg-config python unzip"
|
hostmakedepends="pkg-config python unzip"
|
||||||
makedepends="zlib-devel libxml2-devel freetype-devel libxkbcommon-devel
|
makedepends="zlib-devel libxml2-devel freetype-devel libxkbcommon-devel
|
||||||
alsa-lib-devel eudev-libudev-devel $(vopt_if opengl MesaLib-devel)
|
alsa-lib-devel eudev-libudev-devel $(vopt_if opengl MesaLib-devel)
|
||||||
$(vopt_if pulseaudio pulseaudio-devel) $(vopt_if jack jack-devel)
|
$(vopt_if pulseaudio pulseaudio-devel) $(vopt_if jack jack-devel)
|
||||||
$(vopt_if ffmpeg ffmpeg-devel) $(vopt_if sdl2 SDL2-devel)
|
$(vopt_if ffmpeg ffmpeg-devel) $(vopt_if sdl2 SDL2-devel)
|
||||||
$(vopt_if x11 'libXext-devel libXinerama-devel libXv-devel libXxf86vm-devel')"
|
$(vopt_if x11 'libXext-devel libXinerama-devel libXv-devel libXxf86vm-devel')
|
||||||
|
$(vopt_if vulkan 'vulkan-loader')"
|
||||||
short_desc="Official reference frontend for the libretro API"
|
short_desc="Official reference frontend for the libretro API"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
|
@ -26,7 +27,7 @@ checksum=212f281d3febde1df27d2edd5de3ced5be86c816b3f13614754495e4a62e778f
|
||||||
build_options_default="ffmpeg"
|
build_options_default="ffmpeg"
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
i686*|x86_64*) build_options_default+=" opengl pulseaudio sdl2 x11";;
|
i686*|x86_64*) build_options_default+=" opengl pulseaudio sdl2 x11 vulkan";;
|
||||||
armv[67]*) makedepends+=" rpi-userland-devel";;
|
armv[67]*) makedepends+=" rpi-userland-devel";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue