mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
fbalpha_libretro: various fixes (#2283)
* Updated libdir with addonsdir and added documentation * Replaced lib: by addon: for consistency * Bump to latest gitrev + fix portVersion * Fixed SOURCE_FILENAME
This commit is contained in:
committed by
fbrosson
parent
d8ff059adf
commit
3ed390c4bd
@@ -6,10 +6,10 @@ HOMEPAGE="https://github.com/libretro/fbalpha"
|
||||
COPYRIGHT="2000-2018 the Final Burn team, the libretro team"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
srcGitRev="c255a8335a8eeee657ae9a0bcb528f14ccc59678"
|
||||
srcGitRev="bb651e3ff70c6a4b6d93b43054a956b388e53c08"
|
||||
SOURCE_URI="https://github.com/libretro/fbalpha/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="b5ff98de2ca9e8e2123d9600ba60f088471c4542b983d79b7a9029d328c0aab3"
|
||||
SOURCE_FILENAME="fbalpha-$portVersion-$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="91fd0c3c0f3bf214a42b8526b52feeb8b833a55d59165a7f34eadccaf20b0f36"
|
||||
SOURCE_FILENAME="fbalpha-${portVersion/_/-}-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="fbalpha-$srcGitRev"
|
||||
ADDITIONAL_FILES="fbalpha_libretro.info.in"
|
||||
|
||||
@@ -18,12 +18,10 @@ SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
fbalpha_libretro$secondaryArchSuffix = $portVersion
|
||||
lib:fbalpha_libretro$secondaryArchSuffix = $portVersion
|
||||
addon:fbalpha_libretro$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
SUPPLEMENTS="
|
||||
retroarch$secondaryArchSuffix
|
||||
"
|
||||
|
||||
@@ -31,13 +29,13 @@ BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:make
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
sed -e "s/@DISPLAY_VERSION@/v${portVersion%~.*}/" \
|
||||
sed -e "s/@DISPLAY_VERSION@/v${portVersion/_/-}/" \
|
||||
$portDir/additional-files/fbalpha_libretro.info.in \
|
||||
> fbalpha_libretro.info
|
||||
make -f makefile.libretro $jobArgs
|
||||
@@ -45,8 +43,10 @@ BUILD()
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
install -d "$libDir"/libretro
|
||||
install -t "$libDir"/libretro \
|
||||
install -m 0755 -d "$docDir"
|
||||
install -m 0644 -t "$docDir" README.md
|
||||
install -m 0755 -d "$addOnsDir"/libretro
|
||||
install -m 0644 -t "$addOnsDir"/libretro \
|
||||
fbalpha_libretro.info \
|
||||
fbalpha_libretro.so
|
||||
}
|
||||
Reference in New Issue
Block a user