Christopher Allan Webber <cweb...@dustycloud.org> writes: > Hello all! > > Can we really and truly claim ourselves to be a GNU/Linux distribution > without the token inclusion of our beloved TuxRacer? Egads! > > Well, I attempted to package it, but I'm running into trouble. Perhaps > someone here can help? > > Here is the problem I run into: > > checking for sdl-config... > /gnu/store/pvcr6n01ylrj3g9ggwp98bmrzyd0h29q-sdl-1.2.15/bin/sdl-config > checking for SDL - version >= 1.0.0... yes > checking for pkg-config... no > checking for SDLIMAGE... no > configure: error: SDL_image not found > phase `configure' failed after 7 seconds > > But sdl-image is in the inputs! What am I doing wrong? You need 'pkg-config', so add it to 'native-inputs'.
Look at the 'configure.ac', it contains: PKG_CHECK_MODULES([SDLIMAGE], [SDL_image], ...) That's all I see :-) > Thanks in advance for the help! > - Chris > > From 59222dbabb1bc68fed4eae22ef2ce580e2219b7b Mon Sep 17 00:00:00 2001 > From: Christopher Allan Webber <cweb...@dustycloud.org> > Date: Sun, 26 Apr 2015 23:40:40 -0500 > Subject: [PATCH] gnu: Add extremetuxracer > > * gnu/packages/games.scm (extremetuxracer): New variable. > --- > gnu/packages/games.scm | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 49 insertions(+) > > diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm > index 192d0db..dfb711b 100644 > --- a/gnu/packages/games.scm > +++ b/gnu/packages/games.scm > @@ -9,6 +9,7 @@ > ;;; Copyright © 2014 Mark H Weaver <m...@netris.org> > ;;; Copyright © 2015 Andreas Enge <andr...@enge.fr> > ;;; Copyright © 2015 David Hashe <david.ha...@dhashe.com> > +;;; Copyright © 2015 Christopher Allan Webber <cweb...@dustycloud.org> > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -42,6 +43,7 @@ > #:use-module (gnu packages gtk) > #:use-module (gnu packages guile) > #:use-module (gnu packages libcanberra) > + #:use-module (gnu packages libunwind) > #:use-module (gnu packages image) > #:use-module (gnu packages ncurses) > #:use-module (gnu packages python) > @@ -65,6 +67,7 @@ > #:use-module (gnu packages lua) > #:use-module (gnu packages video) > #:use-module (gnu packages xml) > + #:use-module (gnu packages tcl) > #:use-module (guix build-system trivial) > #:use-module (guix build-system gnu) > #:use-module (guix build-system cmake) > @@ -822,3 +825,49 @@ interfaces or even in Emacs. It supports the standard > game storage format > Modem Protocol).") > (home-page "http://www.gnu.org/software/gnugo/") > (license license:gpl3+))) > + > +(define-public extremetuxracer > + (package > + (name "extremetuxracer") > + (version "0.6.0") > + (source (origin > + (method url-fetch) > + (uri (string-append > + > "http://downloads.sourceforge.net/project/extremetuxracer/releases/" > + version > + "/etr-" version ".tar.xz")) > + (sha256 > + (base32 > + "0fl9pwkywqnsmgr6plfj9zb05xrdnl5xb2hcmbjk7ap9l4cjfca4")))) > + (build-system gnu-build-system) > + > + (inputs `(("freetype" ,freetype) > + ("mesa" ,mesa) > + ("glu" ,glu) > + ("libice" ,libice) > + ("libpng" ,libpng) > + ("sdl" ,sdl) > + ("sdl-mixer" ,sdl-mixer) > + ("sdl-image" ,sdl-image) > + ("libsm" ,libsm) > + ("libunwind" ,libunwind) > + ("libx11" ,libx11) > + ("libxext" ,libxext) > + ("libxi" ,libxi) > + ("libxmu" ,libxmu) > + ("libxt" ,libxt) > + ("tcl" ,tcl) > + ("zlib" ,zlib))) > + (synopsis "High speed arctic racing game based on Tux Racer") > + ;; Snarfed straight from Debian > + (description "Extreme Tux Racer, or etracer as it is called for short, is > +a simple OpenGL racing game featuring Tux, the Linux mascot. The goal of the > +game is to slide down a snow- and ice-covered mountain as quickly as > possible, > +avoiding the trees and rocks that will slow you down. > + > +Collect herrings and other goodies while sliding down the hill, but avoid > fish > +bones. > + > +This game is based on the GPL version of the famous game TuxRacer.") > + (home-page "http://sourceforge.net/projects/extremetuxracer/") > + (license license:gpl2+))) > -- > 2.1.4