mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
Maelstrom: fix build for gcc8
* add gentoo patches * add hvif icon
This commit is contained in:
@@ -16,11 +16,19 @@ home..."
|
||||
HOMEPAGE="http://www.libsdl.org/projects/Maelstrom"
|
||||
COPYRIGHT="1996-2005 Sam Lantinga"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="3"
|
||||
REVISION="4"
|
||||
SOURCE_URI="http://www.libsdl.org/projects/Maelstrom/src/Maelstrom-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="e7983c2c7376cdcca1944db1706d92aedd529638cf13358c88a60df982ba7b46"
|
||||
SOURCE_DIR="Maelstrom-$portVersion"
|
||||
PATCHES="maelstrom-$portVersion.patchset"
|
||||
PATCHES="
|
||||
maelstrom-3.0.6-64bits.patch
|
||||
maelstrom-3.0.6-gcc34.patch
|
||||
maelstrom-3.0.6-gcc53.patch
|
||||
maelstrom-3.0.6-security.patch
|
||||
maelstrom-3.0.6-warnings.patch
|
||||
maelstrom-$portVersion.patchset
|
||||
"
|
||||
ADDITIONAL_FILES="maelstrom.rdef.in"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
@@ -71,5 +79,20 @@ INSTALL()
|
||||
cp Maelstrom $appsDir/Maelstrom/
|
||||
cp Maelstrom-netd $binDir
|
||||
|
||||
local APP_SIGNATURE="application/x-vnd.maelstrom"
|
||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||
local MINOR="`echo "$portVersion" | cut -d. -f3`"
|
||||
local LONG_INFO="$SUMMARY"
|
||||
sed \
|
||||
-e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \
|
||||
-e "s|@MAJOR@|$MAJOR|" \
|
||||
-e "s|@MIDDLE@|$MIDDLE|" \
|
||||
-e "s|@MINOR@|$MINOR|" \
|
||||
-e "s|@LONG_INFO@|$LONG_INFO|" \
|
||||
$portDir/additional-files/maelstrom.rdef.in > $sourceDir/maelstrom.rdef
|
||||
|
||||
addResourcesToBinaries $sourceDir/maelstrom.rdef $appsDir/Maelstrom/Maelstrom
|
||||
|
||||
addAppDeskbarSymlink $appsDir/Maelstrom/Maelstrom
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user