mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
pathological, bump version, kudos to Debian (#8556)
This commit is contained in:
1197
games-puzzle/pathological/patches/pathological-1.1.3_17.patchset
Normal file
1197
games-puzzle/pathological/patches/pathological-1.1.3_17.patchset
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,43 +0,0 @@
|
||||
SUMMARY="A puzzle game consisting of marbles that roll along paths"
|
||||
DESCRIPTION="Pathological is an enriched clone of the game Logical by Rainbow \
|
||||
Arts.
|
||||
To solve a level, fill each wheel with four marbles of matching color.
|
||||
Various board elements such as teleporters, switches, filters, etc., make the \
|
||||
game interesting and challenging.
|
||||
New levels can be created using your favorite text editor."
|
||||
HOMEPAGE="http://pathological.sourceforge.net/"
|
||||
COPYRIGHT="2003 John-Paul Gignac"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://sourceforge.net/projects/pathological/files/pathological/$portVersion/pathological-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="813ef0812ba6b3218b35c2ddea423c9c6ee912925824497f52d5310bc76f85de"
|
||||
|
||||
ARCHITECTURES="!all"
|
||||
|
||||
PROVIDES="
|
||||
pathological = $portVersion
|
||||
app:pathological = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
#paths are hardcoded in the makefile,
|
||||
#they should point to the correct installation paths
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install DESTDIR=$appsDir/Pathological
|
||||
}
|
||||
70
games-puzzle/pathological/pathological-1.1.3_17.recipe
Normal file
70
games-puzzle/pathological/pathological-1.1.3_17.recipe
Normal file
@@ -0,0 +1,70 @@
|
||||
SUMMARY="A puzzle game consisting of marbles that roll along paths"
|
||||
DESCRIPTION="Pathological is an enriched clone of the game Logical by Rainbow Arts. \
|
||||
To solve a level, fill each wheel with four marbles of matching color.
|
||||
Various board elements such as teleporters, switches, filters, etc., make the \
|
||||
game interesting and challenging.
|
||||
New levels can be created using your favorite text editor."
|
||||
HOMEPAGE="http://pathological.sourceforge.net/"
|
||||
COPYRIGHT="2003 John-Paul Gignac
|
||||
2013 Debian Games Team
|
||||
2013 Markus Koschany
|
||||
Barry deFreese
|
||||
Reiner Herrmann"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://salsa.debian.org/games-team/pathological/-/archive/debian/1.1.3-17/pathological-debian-1.1.3-17.tar.bz2"
|
||||
CHECKSUM_SHA256="3a4ed34d9f1d70a918e0aff6ef48e598c80bf3f3cdea9430b96a2dd51cd3e20a"
|
||||
SOURCE_DIR="pathological-debian-1.1.3-17"
|
||||
PATCHES="pathological-1.1.3_17.patchset"
|
||||
|
||||
# pygame is secondary architecture, so we can't use primary for 32bit
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
GLOBAL_WRITABLE_FILES="var/games/pathological_scores keep-old"
|
||||
|
||||
PROVIDES="
|
||||
pathological$secondaryArchSuffix = $portVersion
|
||||
app:Pathological = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
pygame$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pngtopnm
|
||||
cmd:ppmcolormask
|
||||
cmd:pnmcomp
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make DESTDIR=$prefix \
|
||||
BINDIR=$appsDir \
|
||||
DATADIR=$dataDir/pathological \
|
||||
DOCDIR=$docDir \
|
||||
LIBDIR=$prefix/lib \
|
||||
MANDIR=$manDir $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
sed -i 's,\/usr/share/games,\/system/data,g' pathological
|
||||
sed -i 's,\.pathological_scores,\config/settings/pathological_scores,g' pathological.py
|
||||
|
||||
mkdir -p $appsDir $dataDir/pathological
|
||||
make install DESTDIR=$prefix \
|
||||
BINDIR=$appsDir \
|
||||
DATADIR=$dataDir/pathological \
|
||||
DOCDIR=$docDir \
|
||||
LIBDIR=$prefix/lib \
|
||||
MANDIR=$manDir
|
||||
rm -rf $prefix/usr # pixmaps
|
||||
mv $appsDir/pathological $appsDir/Pathological
|
||||
}
|
||||
Reference in New Issue
Block a user