DrumCircle: update to 1.0.5 (#7417)

* DrumCircle: update to 1.0.5

* DrumCircle: move recipe to haiku-apps

* DrumCircle: disable build for secondaryArch (just in case)
This commit is contained in:
OscarL
2022-11-15 05:02:46 -03:00
committed by GitHub
parent 1718b0eb45
commit adf630d7e3
2 changed files with 4 additions and 30 deletions

View File

@@ -1,45 +0,0 @@
SUMMARY="Simple sequencer with Hippie AI"
DESCRIPTION="A simple MIDI sequencer with a knack for simulating Hippie Drum Circles. \
Tweek the Tweekables and have fun!"
HOMEPAGE="https://github.com/steffenyount/DrumCircle"
COPYRIGHT="2000-2022 Steffen Yount"
LICENSE="Apache v2"
REVISION="3"
SOURCE_URI="https://github.com/steffenyount/DrumCircle/archive/refs/tags/v$portVersion.zip"
CHECKSUM_SHA256="31e0ef5cd7199ccfb4a5bdef056e6debda6330fb756d6720cfd098c4772e0f49"
SOURCE_DIR="DrumCircle-$portVersion"
PATCHES="drumcircle-$portVersion.patchset"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
GLOBAL_WRITABLE_FILES="settings/drumcircle directory keep-old"
PROVIDES="
drumcircle$secondaryArchSuffix = $portVersion
app:DrumCircle = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
timgmsoundfont
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:make
"
BUILD()
{
make datadir=$dataDir/drumcircle settingsdir=$settingsDir/drumcircle $jobArgs
}
INSTALL()
{
make install bindir=$appsDir datadir=$dataDir/drumcircle settingsdir=$settingsDir/drumcircle
addAppDeskbarSymlink $appsDir/DrumCircle
}

View File

@@ -1,25 +0,0 @@
From 45b8a9bca252ad032cbbd5e974b01f79b8a96dc0 Mon Sep 17 00:00:00 2001
From: Chris Roberts <cpr420@gmail.com>
Date: Sun, 13 Nov 2022 13:03:29 -0700
Subject: Add resources to executable
diff --git a/Makefile b/Makefile
index e9bc249..f4db6d0 100644
--- a/Makefile
+++ b/Makefile
@@ -22,8 +22,10 @@ LDFLAGS=-lstdc++ -lbe -lmidi -ltracker -ltranslation
%.o: %.cpp
gcc -c -o $@ $< $(CXXFLAGS)
-DrumCircle: $(OBJS)
+DrumCircle: $(OBJS) code/DrumCircle.rsrc
gcc -o $@ $(OBJS) $(LDFLAGS)
+ xres -o $@ code/DrumCircle.rsrc
+ mimeset -F $@
.PHONY: install
install: DrumCircle
--
2.37.3