Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: haikuports/haikuports
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 47d003046a11
Choose a base ref
...
head repository: haikuports/haikuports
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9c70b857d50c
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Jun 25, 2021

  1. Copy the full SHA
    9c70b85 View commit details

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
SUMMARY="A portable ZX-Spectrum emulator"
DESCRIPTION="Portable ZX-Spectrum emulator supports Z80 128K (Pentagon) AY/YM, \
Beeper, Beta Disk, Tape, Kempston Joystick/Mouse, Snapshots, Replays.
Supported formats: sna, z80, szx, rzx, tap, tzx, csw, trd, scl, fdi, td0, udi, zip."
HOMEPAGE="https://bitbucket.org/djdron/unrealspeccyp"
COPYRIGHT="2021 SMT, Dexus, Alone Coder, deathsoft, djdron, scor, 3dEyes"
LICENSE="GNU GPL v3"
REVISION="1"
SOURCE_URI="https://github.com/djdron/UnrealSpeccyP/archive/refs/tags/v$portVersion.tar.gz"
CHECKSUM_SHA256="b212e058d011f280cd6fe36a7f35c190d36a74afcd070d721cd80122bd3ffd9a"
SOURCE_DIR="UnrealSpeccyP-$portVersion"
PATCHES="unreal_speccy_portable-$portVersion.patchset"

ARCHITECTURES="!x86_gcc2 x86_64"
SECONDARY_ARCHITECTURES="x86"

PROVIDES="
unreal_speccy_portable$secondaryArchSuffix = $portVersion
app:UnrealSpeccyPortable$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libbz2$secondaryArchSuffix
lib:libcurl$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
lib:libxml2$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"

BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libbz2$secondaryArchSuffix
devel:libcurl$secondaryArchSuffix
devel:libpng16$secondaryArchSuffix
devel:libxml2$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
"

BUILD()
{
mkdir -p build/cmake/build
cd build/cmake/build
cmake .. -DCMAKE_BUILD_TYPE=Release -DUSE_HAIKU=ON
make $jobArgs
}

INSTALL()
{
mkdir -p $appsDir/UnrealSpeccyPortable

cp build/cmake/build/unreal_speccy_portable $appsDir/UnrealSpeccyPortable/UnrealSpeccyPortable
cp -R res $appsDir/UnrealSpeccyPortable

addAppDeskbarSymlink $appsDir/UnrealSpeccyPortable/UnrealSpeccyPortable "Unreal Speccy Portable"
}