From e43cc792ddd1a56e811e8c958f12828bba996722 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 3 Oct 2017 13:18:11 +0200 Subject: [PATCH] rocksndiamonds: update to 4.0.1.0 --- srcpkgs/rocksndiamonds/template | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template index b6f07b9a63c..dd260480334 100644 --- a/srcpkgs/rocksndiamonds/template +++ b/srcpkgs/rocksndiamonds/template @@ -1,26 +1,24 @@ # Template file for 'rocksndiamonds' pkgname=rocksndiamonds -version=4.0.0.2 +version=4.0.1.0 revision=1 build_style=gnu-makefile hostmakedepends="pkg-config" -# XXX: switch to SDL2 -makedepends="SDL_image-devel SDL_mixer-devel SDL_net-devel" +makedepends="SDL2_image-devel SDL2_mixer-devel SDL2_net-devel" short_desc="Arcade style game" maintainer="Jürgen Buchmüller " license="GPL-2" homepage="http://www.artsoft.org/rocksndiamonds" distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz" -checksum=64dd10e8e543a2ff111475243c8360f4009bcf186af34f4c95d36eafe836f637 +checksum=c91a0151ff415b87561409bffca3682020a1aaccfd7c44b8f20120179b9821ea do_build() { - CFLAGS+=" -DTARGET_SDL" - CFLAGS+=" $(sdl-config --cflags)" + CFLAGS+=" -DTARGET_SDL2" CFLAGS+=" -DRO_GAME_DIR='\"/usr/share/${pkgname}\"'" CFLAGS+=" -DRW_GAME_DIR='\"/var/lib/${pkgname}\"'" - LDFLAGS+=" $(sdl-config --libs)" - LDFLAGS+=" -lSDL_image -lSDL_mixer -lSDL_net -lm" - make CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${makejobs} sdl + CFLAGS+=" $(sdl2-config --cflags)" + LDFLAGS+=" $(sdl2-config --libs) -lSDL2_image -lSDL2_mixer -lSDL2_net -lm" + make CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" sdl2 } do_install() {