From ae757729dc4ef8d6bcdf3687d351881d48f70d85 Mon Sep 17 00:00:00 2001 From: "B. Wilson" Date: Mon, 30 Mar 2020 14:29:52 +0900 Subject: [PATCH] New package: hyperrogue-11.3f Closes: #20454 [via git-merge-pr] --- srcpkgs/hyperrogue/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/hyperrogue/template diff --git a/srcpkgs/hyperrogue/template b/srcpkgs/hyperrogue/template new file mode 100644 index 00000000000..7f0b8da5750 --- /dev/null +++ b/srcpkgs/hyperrogue/template @@ -0,0 +1,23 @@ +# Template file for 'hyperrogue' +pkgname=hyperrogue +version=11.3f +revision=1 +build_style=gnu-configure +hostmakedepends="autoconf automake" +makedepends="glew-devel libpng-devel SDL-devel SDL_gfx-devel SDL_mixer-devel + SDL_ttf-devel zlib-devel" +short_desc="SDL rogue-like in a non-euclidean world" +maintainer="B. Wilson " +license="GPL-2.0-or-later, CC-BY-SA-4.0, CC-BY-SA-3.0, CC-BY-3.0, Public Domain" +homepage="https://www.roguetemple.com/z/hyper/" +distfiles="https://github.com/zenorogue/hyperrogue/archive/v${version}.tar.gz" +checksum=5451b35860c940adc422d455e42d702a76eb6595450e92cb2c0e432cf77ddd9b +nocross="Generates code from build output that must run on host" + +# SDL_gfx-devel headers require that SDL.h be under the header search paths, +# which are not set correctly by upstream. +CXXFLAGS+=" -I/usr/include/SDL" + +pre_configure() { + autoreconf -i +}