neverball: update to 1.6.0.

This commit is contained in:
Juan RP 2014-05-23 08:48:21 +02:00
parent 12e7c2027e
commit be5ee0dcda
2 changed files with 8 additions and 24 deletions

View File

@ -1,13 +0,0 @@
$NetBSD: patch-share_base__image.c,v 1.1 2013/02/26 11:16:19 joerg Exp $
--- share/base_image.c.orig 2013-02-25 20:30:28.000000000 +0000
+++ share/base_image.c
@@ -94,7 +94,7 @@ static void *image_load_png(const char *
default: longjmp(png_jmpbuf(readp), -1);
}
- if (!(bytep = png_malloc(readp, h * png_sizeof(png_bytep))))
+ if (!(bytep = png_malloc(readp, h * sizeof(*bytep))))
longjmp(png_jmpbuf(readp), -1);
/* Allocate the final pixel buffer and read pixels there. */

View File

@ -1,28 +1,25 @@
# Template file for 'neverball'
pkgname=neverball
version=1.5.4
revision=9
makedepends="libpng-devel>=1.6 libjpeg-turbo-devel libvorbis-devel
SDL_ttf-devel physfs-devel"
version=1.6.0
revision=1
makedepends="libpng-devel>=1.6 libjpeg-turbo-devel libvorbis-devel SDL2_ttf-devel physfs-devel desktop-file-utils"
depends="desktop-file-utils"
short_desc="Puzzle/action game similar to Super Monkey Ball"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.neverball.org"
license="GPL-2"
distfiles="http://www.neverball.org/$pkgname-$version.tar.gz"
checksum=ea31ca9f6eec70c8e66eaa20d7ce9e48295fdb077313b97637c503b16b7b0da6
checksum=73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0
do_build() {
HOME=/ LANG=C LC_ALL=C LDFLAGS="-lm -lX11" make ${makejobs} \
ENABLE_NLS=1 DATADIR=/usr/share/neverball \
LOCALEDIR=/usr/share/locale
make ${makejobs} ENABLE_NLS=1 DATADIR=/usr/share/neverball LOCALEDIR=/usr/share/locale
}
do_install() {
for dir in usr/bin usr/share/neverball usr/share/locale \
usr/share/applications usr/share/pixmaps \
usr/share/doc/neverball; do
install -d ${DESTDIR}/${dir}
vmkdir ${dir}
done
for f in neverball neverputt mapc; do
@ -38,8 +35,8 @@ do_install() {
ln -s neverball_48.png ${DESTDIR}/usr/share/pixmaps/neverball.png
ln -s neverputt_48.png ${DESTDIR}/usr/share/pixmaps/neverputt.png
install -m644 doc/* ${DESTDIR}/usr/share/doc/neverball
install -m644 doc/manual.txt ${DESTDIR}/usr/share/doc/neverball
install -D -m644 dist/mapc.1 ${DESTDIR}/usr/share/man/man1/mapc.1
install -d ${DESTDIR}/usr/share/man/man6
vmkdir usr/share/man/man6
install -m644 dist/*.6 ${DESTDIR}/usr/share/man/man6
}