wok-next rev 20128

Up celestia (1.6.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 31 11:58:18 2017 +0100 (2017-10-31)
parents d0084fe666c8
children 064e844c047a
files celestia/receipt
line diff
     1.1 --- a/celestia/receipt	Tue Oct 31 12:23:54 2017 +0200
     1.2 +++ b/celestia/receipt	Tue Oct 31 11:58:18 2017 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="celestia"
     1.7 -VERSION="1.6.0"
     1.8 +VERSION="1.6.1"
     1.9  CATEGORY="games"
    1.10  SHORT_DESC="Real-time 3D Space Simulation"
    1.11  MAINTAINER="slaxemulator@gmail.com"
    1.12 @@ -11,16 +11,17 @@
    1.13  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.14  
    1.15  DEPENDS="gtk+ glew libtheora lua5.1 gtkglext freeglut xorg-libXmu mesa libglu-mesa libjpeg jpeg zlib"
    1.16 -BUILD_DEPENDS="$DEPENDS gtk+-dev libtheora-dev lua5.1-dev gtkglext-dev freeglut-dev xorg-libXmu-dev libglu-mesa mesa-dev libpng-dev libogg-dev jpeg-dev glew-dev zlib-dev gettext autoconf"
    1.17 +BUILD_DEPENDS="$DEPENDS gtk+-dev libtheora-dev lua5.1-dev gtkglext-dev \
    1.18 +freeglut-dev xorg-libXmu-dev libglu-mesa mesa-dev libpng-dev libogg-dev \
    1.19 +jpeg-dev glew-dev zlib-dev gettext autoconf"
    1.20  
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23  {
    1.24 -	cd $src
    1.25 -	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -ldl"
    1.26 -	patch -p0 -i $stuff/celestia-1.6.0-gcc45.patch
    1.27 -	patch -p1 -i $stuff/make-dereferenced-temporaries-explicit
    1.28 -	sed -i 's/NULL/0/' src/celengine/frametree.h
    1.29 +	sed -i 's|"ray.h"|&\n#include "mathlib.h"|' src/celmath/intersect.h
    1.30 +	sed -i 's|NULL|0|' src/celengine/frametree.h
    1.31 +	sed -i 's|"png.h"|&\n#include "zlib.h"|' src/celestia/imagecapture.cpp
    1.32 +	sed -i 's|<cstdio>|&\n#include <string.h>|' src/celengine/*.cpp
    1.33  	./configure \
    1.34  		--prefix=/usr \
    1.35  		--infodir=/usr/share/info \