Split flare's data package into its own recipe.

I learned that by PulkoMandy's comment on the GCI task to port openarena:
"With what you did, there will be one data package for each architecture
we compile the game for. This means a waste of space on our servers to
store the data several times.
The data should be a separate recipe as it is done for the openttd game
(see the openttd_sfx recipe for example)."
This commit is contained in:
Humdinger
2015-12-15 13:42:22 +01:00
parent a6344d7b8d
commit f63124f3c5
2 changed files with 38 additions and 14 deletions

View File

@@ -19,21 +19,11 @@ PROVIDES="
"
REQUIRES="
haiku$secondaryArchSuffix
flare_data == $portVersion
lib:libsdl$secondaryArchSuffix
lib:libsdl_mixer$secondaryArchSuffix
lib:libsdl_image$secondaryArchSuffix
lib:libsdl_ttf$secondaryArchSuffix
"
SUMMARY_data="Data files for the game Flare"
ARCHITECTURES_data="any"
PROVIDES_data="
flare_data = $portVersion
"
REQUIRES_data="
haiku
flare_data
"
BUILD_REQUIRES="
@@ -63,10 +53,8 @@ BUILD()
INSTALL()
{
mkdir -p $appsDir $dataDir/flare
mkdir -p $appsDir
cp flare $appsDir
cp -r mods $dataDir/flare/
packageEntries data $dataDir
addAppDeskbarSymlink $appsDir/flare "Flare"
}