SIDPlayer: build the BeOS version with GUI.

- Fix the license (it's GPL v2 not v1)
- Use the BeOS makefile instead of the Linux/SDL one and adjust the
  dependencies
- Adjust some ifdefs to enable relevant code on Haiku
- Intentionally not added to the Deskbar menu: this can only be used by
  loading files. There is nothing that can be done from the UI if not
  started with a file.
This commit is contained in:
Adrien Destugues
2020-05-16 10:49:44 +02:00
parent 1b2801e932
commit 1661045b76
2 changed files with 64 additions and 11 deletions

View File

@@ -6,42 +6,38 @@ SIDPlayer can be used as a stand-alone player or, under Haiku, as a plug-in \
for CL-Amp and SoundPlay."
HOMEPAGE="http://sidplayer.cebix.net/"
COPYRIGHT="2003 Christian Bauer"
LICENSE="GNU GPL v1"
REVISION="1"
LICENSE="GNU GPL v2"
REVISION="2"
SOURCE_URI="http://sidplayer.cebix.net/downloads/SIDPlayer-4.4.tar.gz"
CHECKSUM_SHA256="fd1f73047abeb8234f850975786c805262678e77013835a8e621dcfd237624d7"
SOURCE_DIR="SIDPlayer-$portVersion"
PATCHES="sidplayer-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 !x86 !x86_64"
PROVIDES="
sidplayer = $portVersion
cmd:sidplayer = $portVersion
app:sidplayer = $portVersion
"
REQUIRES="
haiku
lib:libsdl
"
BUILD_REQUIRES="
haiku_devel
devel:libsdl
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc
cmd:make
cmd:autoreconf
cmd:aclocal
"
BUILD()
{
autoreconf -vfi
runConfigure ./configure
make
make -f Makefile.BeOS
}
INSTALL()
{
make install
make -f Makefile.BeOS install INSTALL_DIR=$appsDir
}