mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
drumcircle: cleanup, add resources and deskbar symlink (#7406)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
25
media-sound/drumcircle/patches/drumcircle-1.0.4.patchset
Normal file
25
media-sound/drumcircle/patches/drumcircle-1.0.4.patchset
Normal file
@@ -0,0 +1,25 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user