diff --git a/repos/community-x86_64/PKGBUILD b/repos/community-x86_64/PKGBUILD index 4a6729f..dd5fb9b 100644 --- a/repos/community-x86_64/PKGBUILD +++ b/repos/community-x86_64/PKGBUILD @@ -5,17 +5,23 @@ pkgname=supertuxkart pkgver=1.4 -pkgrel=1 +pkgrel=2 pkgdesc='Kart racing game featuring Tux and his friends' arch=('x86_64') url='https://supertuxkart.net' license=('GPL3') -depends=('openal' 'libvorbis' 'fribidi' 'curl' 'bluez-libs' 'libxrandr' 'glu' - 'wayland' 'libxkbcommon-x11' 'sqlite' 'libjpeg-turbo' 'libraqm' - 'hicolor-icon-theme' 'sdl2') -makedepends=('cmake' 'subversion' 'mesa' 'imagemagick' 'setconf' 'mesa-libgl' 'ninja') -source=("https://github.com/supertuxkart/stk-code/releases/download/${pkgver}/SuperTuxKart-${pkgver}-src.tar.xz") -sha512sums=('e88f3fb5ccdb38d0ef75e92d73b43c5cc7a1f6c76ac9502033df099a00d6dc3e86b2c5442b806237d2420c44ada7dd23a2c90ecf94785a44d2348c933770a5ab') +depends=('openal' 'libvorbis' 'freetype2' 'harfbuzz' 'curl' 'bluez-libs' + 'sqlite' 'libjpeg-turbo' 'libpng' 'hicolor-icon-theme' 'sdl2' 'shaderc') +makedepends=('cmake' 'setconf' 'ninja') +source=("https://github.com/supertuxkart/stk-code/releases/download/${pkgver}/SuperTuxKart-${pkgver}-src.tar.xz" + "fix-missing-rotation.patch::https://github.com/supertuxkart/stk-code/commit/0c2b81ac1f9ff29f5012a98f530880b87f416337.patch") +sha512sums=('e88f3fb5ccdb38d0ef75e92d73b43c5cc7a1f6c76ac9502033df099a00d6dc3e86b2c5442b806237d2420c44ada7dd23a2c90ecf94785a44d2348c933770a5ab' + '8719ab359c462cf3758c38351d7bae7b49e759cc97c053fd1cd07c354eb1732d52ed7a02b50f4499525cd9ea1d65b85ec18538d4bf7970f318768a9ad36fbd6f') + +prepare() { + cd "$srcdir"/SuperTuxKart-${pkgver}-src + patch -Np1 -i ../fix-missing-rotation.patch +} build() { cd "$srcdir"/SuperTuxKart-${pkgver}-src