mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
freedroidrpg: bump to version 1.0
This should fix the data package for x86 (untested there).
This commit is contained in:
@@ -18,12 +18,11 @@ People having - or trying to acquire - programming, map editing, or writing \
|
||||
skills will find FreedroidRPG to be an exciting, fast-moving project in which \
|
||||
they can fully express their creativity."
|
||||
HOMEPAGE="https://freedroid.org"
|
||||
COPYRIGHT="2002-2019 The Freedroid team"
|
||||
COPYRIGHT="2002-2023 The Freedroid team"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="4"
|
||||
SOURCE_URI="ftp://ftp.osuosl.org/pub/freedroid/freedroidRPG-${portVersion%\~*}/freedroidRPG-${portVersion//\~}.tar.gz"
|
||||
CHECKSUM_SHA256="feb3e8118422ce4a1c4a5b2b0b3095bee08ca8bdbb4ba25791095ed194b25382"
|
||||
SOURCE_DIR="freedroidrpg-1.0RC2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="ftp://ftp.osuosl.org/pub/freedroid/freedroidRPG-$portVersion/freedroidRPG-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="7995b70b594248ea14d1b4ef595397a60183031c99163b01c1a8a70ccef3bbcf"
|
||||
PATCHES="freedroidrpg-$portVersion.patchset"
|
||||
ADDITIONAL_FILES="freedroidrpg.rdef.in"
|
||||
|
||||
@@ -32,13 +31,7 @@ SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
freedroidrpg$secondaryArchSuffix = $portVersion
|
||||
app:freedroidrpg$secondaryArchSuffix = $portVersion
|
||||
cmd:croppy$secondaryArchSuffix = $portVersion
|
||||
cmd:explode_atlas$secondaryArchSuffix = $portVersion
|
||||
cmd:explodefont$secondaryArchSuffix = $portVersion
|
||||
cmd:gluefont$secondaryArchSuffix = $portVersion
|
||||
cmd:make_atlas$secondaryArchSuffix = $portVersion
|
||||
cmd:pngtoico$secondaryArchSuffix = $portVersion
|
||||
app:freedroidrpg = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
freedroidrpg_data == $portVersion
|
||||
@@ -54,6 +47,7 @@ REQUIRES="
|
||||
lib:libSDL_1.2$secondaryArchSuffix
|
||||
lib:libSDL_gfx$secondaryArchSuffix
|
||||
lib:libSDL_image_1.2$secondaryArchSuffix
|
||||
lib:libSDL_mixer_1.2$secondaryArchSuffix
|
||||
lib:libvorbis$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
@@ -73,12 +67,14 @@ BUILD_REQUIRES="
|
||||
devel:libglew$secondaryArchSuffix
|
||||
devel:libGLU$secondaryArchSuffix
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
devel:libintl$secondaryArchSuffix
|
||||
devel:libjpeg$secondaryArchSuffix
|
||||
devel:libogg$secondaryArchSuffix
|
||||
devel:libpng16$secondaryArchSuffix
|
||||
devel:libSDL$secondaryArchSuffix
|
||||
devel:libSDL_gfx$secondaryArchSuffix
|
||||
devel:libSDL_image$secondaryArchSuffix
|
||||
devel:libSDL_mixer$secondaryArchSuffix
|
||||
devel:libvorbis$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
@@ -92,7 +88,7 @@ BUILD_PREREQUIRES="
|
||||
cmd:libtoolize
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:python
|
||||
cmd:python3
|
||||
cmd:which
|
||||
"
|
||||
|
||||
@@ -122,6 +118,8 @@ BUILD()
|
||||
automake
|
||||
|
||||
local APPDIR="$appsDir/FreedroidRPG/"
|
||||
export GLEW_CFLAGS=" " # workaround for broken pkg-config file
|
||||
export GLEW_LIBS="-lGLEW"
|
||||
|
||||
./configure \
|
||||
--prefix=$APPDIR \
|
||||
@@ -132,7 +130,8 @@ BUILD()
|
||||
--mandir=$manDir \
|
||||
--docdir=$docDir \
|
||||
--disable-sdltest \
|
||||
--with-embedded-lua
|
||||
--with-embedded-lua \
|
||||
--with-open-cmd=open
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
@@ -147,7 +146,8 @@ INSTALL()
|
||||
|
||||
local APP_SIGNATURE="application/x-vnd.freedroidrpg"
|
||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2 | cut -d~ -f1`"
|
||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||
local MINOR="0"
|
||||
local LONG_INFO="$SUMMARY"
|
||||
sed \
|
||||
-e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \
|
||||
Reference in New Issue
Block a user