community/retroarch to 1.9.14-3

This commit is contained in:
Kevin Mihelich 2022-01-19 13:54:20 +00:00
parent 3c0e023b54
commit d5d5e93801

View file

@ -8,7 +8,7 @@
pkgname=retroarch
pkgver=1.9.14
pkgrel=2
pkgrel=3
pkgdesc='Reference frontend for the libretro API'
arch=(x86_64)
url=http://www.libretro.com/
@ -40,6 +40,7 @@ depends=(
)
makedepends=(
git
glslang
libx11
libxcb
libxext
@ -48,6 +49,7 @@ makedepends=(
libxrandr
libxv
libxxf86vm
spirv-tools
vulkan-icd-loader
wayland
wayland-protocols
@ -68,28 +70,24 @@ source=(
git+https://github.com/libretro/RetroArch.git#tag=${_tag}
retroarch-config.patch
)
sha256sums=(
b2sums=(
SKIP
7857cff30c45721b66666828ca9edbb2923817c6c64591be3f58fe019277103e
5ecbe57126c7f9b66bdf189f0af2f1cec031cb68ea85bb9609847ba9beb0e720c902cd3330d7c286901a73e6c2e272c3f04166cf9a47bb6f80097f19dde8ce3a
)
#pkgver() {
# cd RetroArch
#
# git describe --tags | sed 's/^v//'
#}
prepare() {
cd RetroArch
patch -Np1 -i ../retroarch-config.patch
git cherry-pick -n 685948368e6b28b97e1b91bdfe5921519359a033 # FS#66843
}
build() {
cd RetroArch
./configure \
--prefix=/usr \
--disable-builtinflac \
@ -109,9 +107,7 @@ build() {
package() {
cd RetroArch
make DESTDIR="${pkgdir}" install
install -Dm 644 libretro-common/audio/dsp_filters/*.{dsp,so} -t "${pkgdir}"/usr/lib/retroarch/filters/audio/
install -Dm 644 gfx/video_filters/*.{filt,so} -t "${pkgdir}"/usr/lib/retroarch/filters/video/
}