diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-25 15:26:24 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-25 15:26:24 +0200 |
commit | b6af1e02efe594039707cd882517663d5370f375 (patch) | |
tree | ff9c2d55873e051e82972ba64c017352d3a75d34 /unmaintained/etracer | |
parent | a71346b7acebc600960a98c84fb32cfd72fe864b (diff) | |
download | aports-b6af1e02efe594039707cd882517663d5370f375.tar.bz2 aports-b6af1e02efe594039707cd882517663d5370f375.tar.xz |
testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been
updated for atleast 6 months. If you are affected by this commit please follow
this proceddure:
* make sure your packages build on all architectures
* move your pacakge(s) back to testing
* if you want to keep this package and can maintain it (or find somebody to
maintain it for you) for a minimum of 6 months ask it to be moved to community
Diffstat (limited to 'unmaintained/etracer')
-rw-r--r-- | unmaintained/etracer/APKBUILD | 43 | ||||
-rw-r--r-- | unmaintained/etracer/etracer-finite.patch | 11 | ||||
-rw-r--r-- | unmaintained/etracer/etracer-png.patch | 38 |
3 files changed, 92 insertions, 0 deletions
diff --git a/unmaintained/etracer/APKBUILD b/unmaintained/etracer/APKBUILD new file mode 100644 index 0000000000..0642b7c5b4 --- /dev/null +++ b/unmaintained/etracer/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: William Pitcock <nenolod@dereferenced.org> +pkgname=etracer +pkgver=0.6.0 +pkgrel=0 +pkgdesc="A racing game where you race tux down a mountain" +url="http://extremetuxracer.com/" +arch="all" +license="GPL2+" +depends="" +makedepends="sdl-dev mesa-dev sdl_mixer-dev tcl-dev freetype-dev libpng-dev + libx11-dev libxext-dev libxmu-dev libxi-dev libxt-dev glu-dev autoconf + automake sdl_image-dev" +install="" +source="http://downloads.sourceforge.net/extremetuxracer/etr-$pkgver.tar.xz" + +_builddir="${srcdir}"/etr-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done + autoreconf -f -s -i -m +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="c85690864b14f9d422b73025cb01aa8d etr-0.6.0.tar.xz" +sha256sums="44312719a1e9aa33e5aa0c8ad50bb52df702d64fd2d16bf2abda62ee27bf893a etr-0.6.0.tar.xz" +sha512sums="c3127dd1f8d9b856cc42808713a53b48a64821f020ecf3bfaae8be96e36eaddfadfedcf394d445ea1f49df650763b50d35a5ad9cac03308bcb1a4a473e4906d8 etr-0.6.0.tar.xz" diff --git a/unmaintained/etracer/etracer-finite.patch b/unmaintained/etracer/etracer-finite.patch new file mode 100644 index 0000000000..ecfca4f260 --- /dev/null +++ b/unmaintained/etracer/etracer-finite.patch @@ -0,0 +1,11 @@ +--- extremetuxracer-0.4.orig/src/etracer.h ++++ extremetuxracer-0.4/src/etracer.h +@@ -142,7 +142,7 @@ + #elif defined( HAVE__ISNAN ) + # define FINITE(x) (!_isnan(x)) + #else +-# error "You don't have finite(), _finite(), isnan(), or _isnan() on your system!" ++# define FINITE(x) (isfinite(x)) + #endif + + diff --git a/unmaintained/etracer/etracer-png.patch b/unmaintained/etracer/etracer-png.patch new file mode 100644 index 0000000000..4a3469cd1f --- /dev/null +++ b/unmaintained/etracer/etracer-png.patch @@ -0,0 +1,38 @@ +--- extremetuxracer-0.4.orig/src/ppgltk/images/png_reader.cpp ++++ extremetuxracer-0.4/src/ppgltk/images/png_reader.cpp +@@ -77,7 +77,7 @@ + + + png_get_IHDR(png_ptr, info_ptr, &width, &height, +- &bit_depth, &color_type, &interlace_type,int_p_NULL, int_p_NULL); ++ &bit_depth, &color_type, &interlace_type, (int *) NULL, (int *) NULL); + + if(bit_depth == 16) + png_set_strip_16(png_ptr); +@@ -88,7 +88,7 @@ + png_set_expand(png_ptr); + png_read_update_info(png_ptr, info_ptr); + png_get_IHDR(png_ptr, info_ptr, &width, &height, +- &bit_depth, &color_type, &interlace_type,int_p_NULL, int_p_NULL); ++ &bit_depth, &color_type, &interlace_type, (int *) NULL, (int *) NULL); + } + + if( color_type == PNG_COLOR_TYPE_GRAY || +@@ -96,7 +96,7 @@ + png_set_gray_to_rgb(png_ptr); + png_read_update_info(png_ptr, info_ptr); + png_get_IHDR(png_ptr, info_ptr, &width, &height, +- &bit_depth, &color_type, &interlace_type,int_p_NULL, int_p_NULL); ++ &bit_depth, &color_type, &interlace_type, (int *) NULL, (int *) NULL); + } + + this->width=width; +@@ -114,7 +114,7 @@ + } + + png_read_end(png_ptr, info_ptr); +- png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL); ++ png_destroy_read_struct(&png_ptr, &info_ptr, NULL); + fclose(fp); + } + |