summaryrefslogtreecommitdiff
path: root/community-testing/extremetuxracer
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/extremetuxracer')
-rw-r--r--community-testing/extremetuxracer/PKGBUILD46
-rw-r--r--community-testing/extremetuxracer/extremetuxracer.desktop12
-rw-r--r--community-testing/extremetuxracer/extremetuxracer.pngbin3611 -> 0 bytes
-rw-r--r--community-testing/extremetuxracer/libpng15.patch57
4 files changed, 0 insertions, 115 deletions
diff --git a/community-testing/extremetuxracer/PKGBUILD b/community-testing/extremetuxracer/PKGBUILD
deleted file mode 100644
index 9292787b9..000000000
--- a/community-testing/extremetuxracer/PKGBUILD
+++ /dev/null
@@ -1,46 +0,0 @@
-# $Id: PKGBUILD 77580 2012-10-12 23:39:40Z ebelanger $
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor: Eric Belanger <eric.archlinux.org>
-# Contributor: Fabio Scotoni <CCuleX.gmail.com>
-# Contributor: Alexander Rødseth <rodseth@gmail.com>
-pkgname=extremetuxracer
-pkgver=0.4
-pkgrel=4
-pkgdesc="Downhill racing game starring Tux"
-arch=('x86_64' 'i686')
-url="http://www.extremetuxracer.com"
-license=('GPL')
-depends=('gcc-libs' 'sdl_mixer' 'tcl>=8.5.0' 'libpng>=1.4.0' 'freetype2' 'glu')
-makedepends=('mesa' 'libxi' 'libxmu')
-conflicts=('ppracer' 'etracer')
-replaces=('ppracer' 'etracer')
-source=("http://downloads.sourceforge.net/extremetuxracer/extremetuxracer-$pkgver.tar.gz"
- "$pkgname.png"
- "$pkgname.desktop"
- "libpng15.patch")
-sha256sums=('5e4057f90e6854e774f251f189b0e676cfd7e2f15779c75544c9ac5b8e30273d'
- 'ec1426171fc80b07b702e373bf9528244a3b224e887ab24b52f90740691e92fb'
- '349448e8be522bbbe9fd896e875a4add7e02c35d0fafa46c5b10582562da3ca8'
- '2b693eaf421d56887615fc02d40f742e9b8bf817ae36be1f1f9e33a52719eea8')
-
-build() {
- cd "$srcdir/extremetuxracer-$pkgver"
-
- patch -Np1 -i "${srcdir}/libpng15.patch"
- sed -i -e 's/libpng12/libpng15/g' configure
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "$srcdir/extremetuxracer-$pkgver"
- make DESTDIR="$pkgdir" install
-
- # Install icon and desktop file
- install -Dm644 "$srcdir/$pkgname.desktop" \
- "$pkgdir/usr/share/applications/$pkgname.desktop"
- install -Dm644 "$srcdir/$pkgname.png" \
- "$pkgdir/usr/share/pixmaps/$pkgname.png"
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/community-testing/extremetuxracer/extremetuxracer.desktop b/community-testing/extremetuxracer/extremetuxracer.desktop
deleted file mode 100644
index 6593607b8..000000000
--- a/community-testing/extremetuxracer/extremetuxracer.desktop
+++ /dev/null
@@ -1,12 +0,0 @@
-[Desktop Entry]
-Type=Application
-Version=1.0
-Encoding=UTF-8
-Name=Extreme Tux Racer
-Comment=Open source racing game featuring Tux the Linux Penguin.
-Icon=/usr/share/pixmaps/extremetuxracer.png
-Exec=etracer
-Terminal=false
-StartupNotify=true
-Categories=Application;Game;ArcadeGame
-
diff --git a/community-testing/extremetuxracer/extremetuxracer.png b/community-testing/extremetuxracer/extremetuxracer.png
deleted file mode 100644
index 6c4aec00b..000000000
--- a/community-testing/extremetuxracer/extremetuxracer.png
+++ /dev/null
Binary files differ
diff --git a/community-testing/extremetuxracer/libpng15.patch b/community-testing/extremetuxracer/libpng15.patch
deleted file mode 100644
index 5c9999857..000000000
--- a/community-testing/extremetuxracer/libpng15.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-diff -Nur extremetuxracer-0.4.orig/src/ppgltk/images/png_reader.cpp extremetuxracer-0.4/src/ppgltk/images/png_reader.cpp
---- extremetuxracer-0.4.orig/src/ppgltk/images/png_reader.cpp 2007-09-01 19:38:12.000000000 +0300
-+++ extremetuxracer-0.4/src/ppgltk/images/png_reader.cpp 2010-01-25 03:47:21.000000000 +0200
-@@ -53,7 +53,7 @@
- if (!info_ptr)
- {
- png_destroy_read_struct(&png_ptr,
-- (png_infopp)NULL, (png_infopp)NULL);
-+ NULL, NULL);
- fclose(fp);
- return;
- }
-@@ -62,7 +62,7 @@
- if (!end_info)
- {
- png_destroy_read_struct(&png_ptr, &info_ptr,
-- (png_infopp)NULL);
-+ NULL);
- fclose(fp);
- return;
- }
-@@ -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, NULL, 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, NULL, 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, NULL, 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);
- }
-