hyperrogue: update to 12.1a, adopt
This commit is contained in:
parent
6ed4695842
commit
bec37ed2ab
|
@ -1,23 +1,39 @@
|
|||
# Template file for 'hyperrogue'
|
||||
pkgname=hyperrogue
|
||||
version=11.3f
|
||||
version=12.1a
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="autoconf automake"
|
||||
build_style=gnu-makefile
|
||||
makedepends="glew-devel libpng-devel SDL-devel SDL_gfx-devel SDL_mixer-devel
|
||||
SDL_ttf-devel zlib-devel"
|
||||
depends="dejavu-fonts-ttf"
|
||||
short_desc="SDL rogue-like in a non-euclidean world"
|
||||
maintainer="B. Wilson <x@wilsonb.com>"
|
||||
maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
|
||||
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
|
||||
changelog="https://raw.githubusercontent.com/zenorogue/hyperrogue/master/changelog.txt"
|
||||
distfiles="https://github.com/zenorogue/hyperrogue/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=537cd3836aa9fc9b93df79e304979b585497e1c011c545e8eb06503662837047
|
||||
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"
|
||||
CXXFLAGS+=" -I/usr/include/SDL -DHYPERPATH='\"/usr/share/hyperrogue/\"' -DHYPERFONTPATH='\"/usr/share/fonts/TTF/\"'"
|
||||
|
||||
pre_configure() {
|
||||
autoreconf -i
|
||||
export HYPERROGUE_USE_GLEW=1
|
||||
export HYPERROGUE_USE_PNG=1
|
||||
|
||||
do_install() {
|
||||
vbin hyperrogue
|
||||
vdoc README.md
|
||||
vinstall contrib/hyperrogue.desktop 644 usr/share/applications
|
||||
vinstall hyperrogue-music.txt 644 usr/share/hyperrogue
|
||||
vinstall hyperroid/app/src/main/res/drawable-ldpi/icon.png 644 usr/share/icons/hicolor/36x36/apps hyperrogue.png
|
||||
vinstall hyperroid/app/src/main/res/drawable-mdpi/icon.png 644 usr/share/icons/hicolor/48x48/apps hyperrogue.png
|
||||
vinstall hyperroid/app/src/main/res/drawable-hdpi/icon.png 644 usr/share/icons/hicolor/72x72/apps hyperrogue.png
|
||||
vinstall hyperroid/app/src/main/res/drawable-xhdpi/icon.png 644 usr/share/icons/hicolor/96x96/apps hyperrogue.png
|
||||
vinstall hyperroid/app/src/main/res/drawable-xxhdpi/icon.png 644 usr/share/icons/hicolor/144x144/apps hyperrogue.png
|
||||
vinstall hyperroid/app/src/main/res/drawable-xxxhdpi/icon.png 644 usr/share/icons/hicolor/192x192/apps hyperrogue.png
|
||||
|
||||
vcopy music usr/share/hyperrogue
|
||||
vcopy sounds usr/share/hyperrogue
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue