diff options
-rw-r--r-- | user/supertux/APKBUILD | 11 | ||||
-rw-r--r-- | user/supertux/find-sdl2.patch | 11 |
2 files changed, 18 insertions, 4 deletions
diff --git a/user/supertux/APKBUILD b/user/supertux/APKBUILD index 583293327..9247e8200 100644 --- a/user/supertux/APKBUILD +++ b/user/supertux/APKBUILD @@ -1,7 +1,7 @@ # Contributor: A. Wilcox <awilfox@adelielinux.org> # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=supertux -pkgver=0.6.2 +pkgver=0.6.3 pkgrel=0 pkgdesc="Platform game featuring Tux the Penugin" url="https://www.supertux.org/" @@ -10,9 +10,11 @@ license="GPL-3.0+" depends="" makedepends="boost-dev cmake curl-dev glew-dev libogg-dev libvorbis-dev zlib-dev mesa-dev openal-soft-dev physfs-dev sdl2-dev sdl2_image-dev doxygen - freetype-dev libpng-dev" + freetype-dev glm libpng-dev" subpackages="$pkgname-doc" -source="https://github.com/SuperTux/supertux/releases/download/v$pkgver/SuperTux-v$pkgver-Source.tar.gz" +source="https://github.com/SuperTux/supertux/releases/download/v$pkgver/SuperTux-v$pkgver-Source.tar.gz + find-sdl2.patch + " builddir="$srcdir"/SuperTux-v$pkgver-Source build() { @@ -38,4 +40,5 @@ package() { make DESTDIR="$pkgdir" install } -sha512sums="5baa783ee589b42a9bbce3740659dbb7b617ebfcc00c0a038c03d31b56700e3923c8548700ccebe42b325ca03bd85186bc5edef9f6580d93dc48d8aca88cbf74 SuperTux-v0.6.2-Source.tar.gz" +sha512sums="c6540bab1b3befbd975756031c4587e5569d9613d9539dc829c728b574d1a4da92816d6a7e68947b32963cc13d9b8b52312701c199138640e9f89e5885433798 SuperTux-v0.6.3-Source.tar.gz +9e229d837d8006d618320ef3f7465ef88f8903853ed1ef3e291373d25f8542010f7dad6c1c5859e857db48e1447337ddbed0619228f5eac6aba916b69567fd94 find-sdl2.patch" diff --git a/user/supertux/find-sdl2.patch b/user/supertux/find-sdl2.patch new file mode 100644 index 000000000..ec9fbd32d --- /dev/null +++ b/user/supertux/find-sdl2.patch @@ -0,0 +1,11 @@ +--- SuperTux-v0.6.3-Source/external/SDL_ttf/CMakeLists.txt.old 2021-12-22 17:02:04.000000000 -0600 ++++ SuperTux-v0.6.3-Source/external/SDL_ttf/CMakeLists.txt 2022-06-12 16:39:33.440000000 -0500 +@@ -4,7 +4,7 @@ + project(SDL2_TTF C) + + find_path(SDL_INCLUDE_DIR SDL2/SDL.h) +-find_library(SDL_LIBRARY NAMES SDL2d SDL2) ++find_library(SDL_LIBRARY NAMES SDL2d SDL2-2.0) + find_package(Freetype REQUIRED) + + add_library(SDL2_ttf SDL_ttf.c version.rc) |