aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-01-12 21:12:15 +0100
committerRasmus Thomsen <oss@cogitri.dev>2020-01-12 21:13:14 +0100
commitd61ee7184b756a6af190e207cbfd97287e42ecbd (patch)
tree410af6c4d0341a7421e72649bc436eb5c57c55b7 /testing
parentd11a26218fdef2790daafdd5bbe6fd5147ff2ad6 (diff)
downloadaports-d61ee7184b756a6af190e207cbfd97287e42ecbd.tar.bz2
aports-d61ee7184b756a6af190e207cbfd97287e42ecbd.tar.xz
community/supertuxkart: move from testing
Additionally, remove stale patches
Diffstat (limited to 'testing')
-rw-r--r--testing/supertuxkart/APKBUILD57
-rw-r--r--testing/supertuxkart/no-sysctl.patch38
-rw-r--r--testing/supertuxkart/va_list.patch27
3 files changed, 0 insertions, 122 deletions
diff --git a/testing/supertuxkart/APKBUILD b/testing/supertuxkart/APKBUILD
deleted file mode 100644
index 946aa49bd9..0000000000
--- a/testing/supertuxkart/APKBUILD
+++ /dev/null
@@ -1,57 +0,0 @@
-# Contributor: Bart Ribbers <bribbers@disroot.org>
-# Maintainer: Bart Ribbers <bribbers@disroot.org>
-pkgname=supertuxkart
-pkgver=1.1
-pkgrel=0
-arch="all"
-url="https://supertuxkart.net/"
-pkgdesc="Kart racing game featuring Tux and his friends"
-license="GPL-3.0-or-later"
-depends="$pkgname-data"
-makedepends="cmake glew-dev jpeg-dev libpng-dev libxrandr-dev wayland-dev libxkbcommon-dev bluez-dev openal-soft-dev libvorbis-dev freetype-dev fribidi-dev curl-dev harfbuzz-dev"
-source="$pkgname-$pkgver.tar.xz::https://downloads.sourceforge.net/supertuxkart/supertuxkart-$pkgver-src.tar.xz"
-subpackages="$pkgname-static $pkgname-data::noarch"
-builddir="$srcdir/$pkgname-$pkgver-src"
-
-prepare() {
- default_prepare
-
- mkdir "$builddir"/build
-}
-
-build() {
- cd "$builddir"/build
-
- case "$CARCH" in
- arm*|aarch64) GLES2_RENDERER=ON ;;
- * ) GLES2_RENDERER=OFF ;;
- esac
-
- cmake "$builddir" \
- -DCMAKE_BUILD_TYPE=RelWithDebInfo \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DBUILD_RECORDER=0 \
- -DUSE_GLES2=$GLES2_RENDERER
- make
-}
-
-check() {
- cd "$builddir"/build
- CTEST_OUTPUT_ON_FAILURE=TRUE ctest
-}
-
-package() {
- cd "$builddir"/build
- DESTDIR="$pkgdir" make install
-}
-
-data() {
- pkgdesc="$pkgdesc (data files)"
-
- mkdir -p "$subpkgdir"/usr/share/supertuxkart
- mv "$pkgdir"/usr/share/supertuxkart/data \
- "$subpkgdir"/usr/share/supertuxkart
-}
-
-sha512sums="81d5ff59bb33eba8a00547239d54cacfde25eed0c56c857712a00a62032e4cf371cdd367159eaa4bfec6d4dd5781b705e41b58a26b864aa43678cfe9926bb804 supertuxkart-1.1.tar.xz"
diff --git a/testing/supertuxkart/no-sysctl.patch b/testing/supertuxkart/no-sysctl.patch
deleted file mode 100644
index 07e77f4197..0000000000
--- a/testing/supertuxkart/no-sysctl.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From f6ee1ebab1d5fb14dfee70b287c51a77d48a5d55 Mon Sep 17 00:00:00 2001
-From: Bart Ribbers <bribbers@disroot.org>
-Date: Thu, 26 Dec 2019 04:52:46 +0100
-Subject: [PATCH] Include linux/sysctl.h rather than sys/sysctl.h on non-glibc
- systems (#4174)
-
----
- lib/irrlicht/source/Irrlicht/COSOperator.cpp | 2 +-
- src/network/protocols/lobby_protocol.hpp | 1 +
- 2 files changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/lib/irrlicht/source/Irrlicht/COSOperator.cpp b/lib/irrlicht/source/Irrlicht/COSOperator.cpp
-index ba9612fc96..1274740057 100644
---- a/lib/irrlicht/source/Irrlicht/COSOperator.cpp
-+++ b/lib/irrlicht/source/Irrlicht/COSOperator.cpp
-@@ -14,7 +14,7 @@
- #if !defined(_IRR_SOLARIS_PLATFORM_) && !defined(__CYGWIN__)
- #include <sys/param.h>
- #include <sys/types.h>
--#ifdef ANDROID
-+#if defined(ANDROID) || (defined(__linux__) && !defined(__GLIBC__))
- #include <linux/sysctl.h>
- #else
- #include <sys/sysctl.h>
-diff --git a/src/network/protocols/lobby_protocol.hpp b/src/network/protocols/lobby_protocol.hpp
-index 0075b8d50..efb61d5ef 100644
---- a/src/network/protocols/lobby_protocol.hpp
-+++ b/src/network/protocols/lobby_protocol.hpp
-@@ -31,6 +31,7 @@ class Track;
- #include <cassert>
- #include <map>
- #include <memory>
-+#include <string>
- #include <thread>
- #include <vector>
-
-
-
diff --git a/testing/supertuxkart/va_list.patch b/testing/supertuxkart/va_list.patch
deleted file mode 100644
index 29cdd17957..0000000000
--- a/testing/supertuxkart/va_list.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 32c2798c6bff06071bb61b772e2687946055c44d Mon Sep 17 00:00:00 2001
-From: Bart Ribbers <bribbers@disroot.org>
-Date: Fri, 27 Dec 2019 18:43:37 +0100
-Subject: [PATCH] Define VALIST as va_list rather than char* on non-glibc
- systems
-
----
- src/utils/log.hpp | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/utils/log.hpp b/src/utils/log.hpp
-index 6959b6cf1f..a3a15f9c5a 100644
---- a/src/utils/log.hpp
-+++ b/src/utils/log.hpp
-@@ -30,10 +30,10 @@
- #include <vector>
-
-
--#ifdef __GNUC__
-+#if defined(__GLIBC__)
- # define VALIST __gnuc_va_list
- #else
--# define VALIST char*
-+# define VALIST va_list
- #endif
-
- #if defined(_WIN32) && defined(_MSC_VER) && _MSC_VER < 1800