2024-08-26 19:42:49 +00:00
|
|
|
SUMMARY="Gaming frontend for your multi-platform collection"
|
|
|
|
DESCRIPTION="ES-DE (EmulationStation Desktop Edition) is a frontend for browsing and launching games from your \
|
|
|
|
multi-platform collection. It comes preconfigured for use with a large selection \
|
|
|
|
of emulators and game engines."
|
|
|
|
HOMEPAGE="https://es-de.org"
|
|
|
|
COPYRIGHT="2024 Northwestern Software AB"
|
|
|
|
LICENSE="MIT"
|
|
|
|
REVISION="1"
|
2024-09-14 12:54:09 +00:00
|
|
|
srcGitRev="842c9966eb73efb3436a4df2dfdd66063ce7361c"
|
2024-08-26 20:11:18 +00:00
|
|
|
SOURCE_URI="https://gitlab.com/es-de/emulationstation-de/-/archive/$srcGitRev/emulationstation-de-$srcGitRev.tar.gz"
|
2024-09-14 12:54:09 +00:00
|
|
|
CHECKSUM_SHA256="52c820beddba7e08014f589120c087d6b84b79a88b6213bf13a4e025fd728285"
|
2024-08-26 19:42:49 +00:00
|
|
|
SOURCE_FILENAME="emulationstation-de-$portVersion-$srcGitRev.tar.gz"
|
2024-08-26 20:11:18 +00:00
|
|
|
SOURCE_DIR="emulationstation-de-$srcGitRev"
|
2024-09-28 10:15:55 +00:00
|
|
|
ADDITIONAL_FILES="es-de.rdef.in"
|
2024-08-26 19:42:49 +00:00
|
|
|
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
|
|
|
|
PROVIDES="
|
|
|
|
es_de = $portVersion
|
|
|
|
app:es_de = $portVersion
|
|
|
|
"
|
|
|
|
|
|
|
|
REQUIRES="
|
|
|
|
haiku$secondaryArchSuffix
|
|
|
|
lib:libGL$secondaryArchSuffix
|
|
|
|
lib:libavcodec$secondaryArchSuffix
|
|
|
|
lib:libavformat$secondaryArchSuffix
|
|
|
|
lib:libavutil$secondaryArchSuffix
|
|
|
|
lib:libcurl$secondaryArchSuffix
|
|
|
|
lib:libfreeimage$secondaryArchSuffix
|
|
|
|
lib:libfreetype$secondaryArchSuffix
|
|
|
|
lib:libharfbuzz$secondaryArchSuffix
|
2024-10-04 21:06:53 +00:00
|
|
|
lib:libgit2$secondaryArchSuffix
|
2024-08-26 19:42:49 +00:00
|
|
|
lib:libicuuc$secondaryArchSuffix
|
|
|
|
lib:libintl$secondaryArchSuffix
|
|
|
|
lib:libpoppler$secondaryArchSuffix
|
|
|
|
lib:libpugixml$secondaryArchSuffix
|
|
|
|
lib:libSDL2_2.0$secondaryArchSuffix
|
|
|
|
"
|
|
|
|
|
|
|
|
BUILD_REQUIRES="
|
|
|
|
haiku${secondaryArchSuffix}_devel
|
|
|
|
devel:libGL$secondaryArchSuffix
|
|
|
|
devel:libavcodec$secondaryArchSuffix
|
|
|
|
devel:libavformat$secondaryArchSuffix
|
|
|
|
devel:libavutil$secondaryArchSuffix
|
|
|
|
devel:libcurl$secondaryArchSuffix
|
|
|
|
devel:libfreeimage$secondaryArchSuffix
|
|
|
|
devel:libfreetype$secondaryArchSuffix
|
|
|
|
devel:libharfbuzz$secondaryArchSuffix
|
2024-10-05 15:32:34 +00:00
|
|
|
devel:libgit2$secondaryArchSuffix >= 1.5
|
2024-08-26 19:42:49 +00:00
|
|
|
devel:libicuuc$secondaryArchSuffix
|
|
|
|
devel:libintl$secondaryArchSuffix
|
|
|
|
devel:libpoppler$secondaryArchSuffix
|
|
|
|
devel:libpugixml$secondaryArchSuffix
|
|
|
|
devel:libSDL2_2.0$secondaryArchSuffix
|
|
|
|
"
|
|
|
|
|
|
|
|
BUILD_PREREQUIRES="
|
2024-09-28 11:27:27 +00:00
|
|
|
cmd:cmake
|
2024-08-26 19:42:49 +00:00
|
|
|
cmd:g++$secondaryArchSuffix
|
|
|
|
cmd:ld$secondaryArchSuffix
|
2024-09-28 11:27:27 +00:00
|
|
|
cmd:make
|
2024-08-26 19:42:49 +00:00
|
|
|
cmd:msgfmt$secondaryArchSuffix
|
|
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
|
|
"
|
|
|
|
|
|
|
|
BUILD()
|
|
|
|
{
|
2024-10-03 20:58:28 +00:00
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=$prefix -DCMAKE_BUILD_TYPE=Release .
|
2024-08-26 19:42:49 +00:00
|
|
|
make $jobArgs
|
|
|
|
}
|
|
|
|
|
|
|
|
INSTALL()
|
|
|
|
{
|
|
|
|
make install
|
|
|
|
|
|
|
|
local APP_SIGNATURE="application/x-vnd.ES-DE"
|
|
|
|
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
|
|
|
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
|
|
|
local MINOR="`echo "$portVersion" | cut -d. -f3`"
|
|
|
|
sed \
|
|
|
|
-e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \
|
|
|
|
-e "s|@MAJOR@|$MAJOR|" \
|
|
|
|
-e "s|@MIDDLE@|$MIDDLE|" \
|
|
|
|
-e "s|@MINOR@|$MINOR|" \
|
2024-09-28 10:15:55 +00:00
|
|
|
$portDir/additional-files/es-de.rdef.in > es-de.rdef
|
2024-08-26 19:42:49 +00:00
|
|
|
|
|
|
|
addResourcesToBinaries es-de.rdef \
|
|
|
|
"$appsDir"/es-de
|
|
|
|
|
|
|
|
addAppDeskbarSymlink "$appsDir"/es-de "ES-DE"
|
|
|
|
}
|