diff --git a/media-sound/drumcircle/drumcircle-1.0.4.recipe b/media-sound/drumcircle/drumcircle-1.0.4.recipe index d1c7067a3..21dc52dfc 100644 --- a/media-sound/drumcircle/drumcircle-1.0.4.recipe +++ b/media-sound/drumcircle/drumcircle-1.0.4.recipe @@ -1,13 +1,14 @@ 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" +HOMEPAGE="https://github.com/steffenyount/DrumCircle" COPYRIGHT="2000-2022 Steffen Yount" LICENSE="Apache v2" -REVISION="1" +REVISION="2" SOURCE_URI="https://github.com/steffenyount/DrumCircle/archive/refs/tags/v$portVersion.zip" CHECKSUM_SHA256="31e0ef5cd7199ccfb4a5bdef056e6debda6330fb756d6720cfd098c4772e0f49" SOURCE_DIR="DrumCircle-$portVersion" +PATCHES="$portName-$portVersion.patchset" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" @@ -20,6 +21,7 @@ PROVIDES=" " REQUIRES=" haiku$secondaryArchSuffix + timgmsoundfont " BUILD_REQUIRES=" @@ -38,4 +40,6 @@ BUILD() INSTALL() { make install bindir=$appsDir datadir=$dataDir/drumcircle settingsdir=$settingsDir/drumcircle + + addAppDeskbarSymlink $appsDir/DrumCircle } diff --git a/media-sound/drumcircle/patches/drumcircle-1.0.4.patchset b/media-sound/drumcircle/patches/drumcircle-1.0.4.patchset new file mode 100644 index 000000000..f666e7984 --- /dev/null +++ b/media-sound/drumcircle/patches/drumcircle-1.0.4.patchset @@ -0,0 +1,25 @@ +From 45b8a9bca252ad032cbbd5e974b01f79b8a96dc0 Mon Sep 17 00:00:00 2001 +From: Chris Roberts +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 +