summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2024-05-17 13:27:58 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2024-05-17 13:27:58 +0200
commit36883c1511a475b51bbe68fe6cb46907fb289b4f (patch)
tree7c86666fbe274192bae3515b2966938c58bc7346 /media-sound
parentsys-kernel/vanilla-sources: add 6.9.1 (diff)
downloadgentoo-36883c1511a475b51bbe68fe6cb46907fb289b4f.tar.gz
gentoo-36883c1511a475b51bbe68fe6cb46907fb289b4f.tar.bz2
gentoo-36883c1511a475b51bbe68fe6cb46907fb289b4f.zip
media-sound/schismtracker: bump to 20240515
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/schismtracker/Manifest1
-rw-r--r--media-sound/schismtracker/schismtracker-20240515.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/media-sound/schismtracker/Manifest b/media-sound/schismtracker/Manifest
index 7ee72a4883bb..142cd631ed95 100644
--- a/media-sound/schismtracker/Manifest
+++ b/media-sound/schismtracker/Manifest
@@ -1,2 +1,3 @@
DIST schismtracker-20240409.source.tar.gz 1162489 BLAKE2B 733ffd624e15b143c995bc124971ff49c18fb37fb65df1d8b3d1bf8b7283ddbfe9ab9906ee03230f68f85a224dcc149dce61e1d0ed1498a77e9dfcf2be2a8c7a SHA512 4ce52e4837148ff04487e1d060a4cde20f3ae924074949e225298ac6ed22a2a05186000536bdd48e38a19b09be34fa10054d68e2bda58634e92af86f0f4a2142
DIST schismtracker-20240503.source.tar.gz 1172609 BLAKE2B 3229262a47a5b87174fc1113704100b0d5ed65468df441d7d84be9e7bd4b246613e83f6d6eaf3977d01f0c09f3a02d8d6f45c72749f5d9a6b6882f31c92b544d SHA512 f9f344962419b263a57306dd49635185a7d265da771439b6186222e768061b4b65258b87705b021d33c22c92413f07e4356c2b9db6491da86aed2ef3099aab6c
+DIST schismtracker-20240515.source.tar.gz 1178544 BLAKE2B fa6275344cf15308234cd2499862ebaf980b65834c7987ee8812413afb70980ffdc1b8f1dee551763c0d68c3364b6035032b5926b3117981203845fd854c8ccb SHA512 4b2f03b017a7105eb895db1b23faa3bf1ef8bebfffa22a7452ef019a08ef7338f4a757ebefbccca5e060cdaacd801206922ac30792451e490fd299d150be3582
diff --git a/media-sound/schismtracker/schismtracker-20240515.ebuild b/media-sound/schismtracker/schismtracker-20240515.ebuild
new file mode 100644
index 000000000000..9f693420ffe6
--- /dev/null
+++ b/media-sound/schismtracker/schismtracker-20240515.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop xdg
+
+DESCRIPTION="Free implementation of Impulse Tracker, a tool used to create high quality music"
+HOMEPAGE="http://schismtracker.org/"
+SRC_URI="https://github.com/schismtracker/schismtracker/releases/download/${PV}/${P}.source.tar.gz"
+
+LICENSE="GPL-2 LGPL-2 public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=media-libs/libsdl2-2.0.5[X]
+ x11-libs/libX11
+ x11-libs/libXv
+"
+DEPEND="${RDEPEND}
+ virtual/os-headers
+ x11-base/xorg-proto
+"
+
+src_prepare() {
+ default
+
+ # workaround for temporary files (missing directory). Fixes:
+ # sh ./scripts/build-font.sh . font/default-lower.fnt font/default-upper-alt.fnt \
+ # font/default-upper-itf.fnt font/half-width.fnt >auto/default-font.c
+ # /bin/sh: auto/default-font.c: No such file or directory
+ mkdir auto || die
+
+ # sys-devel/binutils[multitarget] provides ${CHOST}-windres
+ # wine provides /usr/bin/windres
+ # and schismtracker fails to use it properly:
+ # sys/win32/schismres.rc:2:20: fatal error: winver.h: No such file or directory
+ [[ ${CHOST} = *mingw32* ]] || export WINDRES= ac_cv_prog_WINDRES= ac_cv_prog_ac_ct_WINDRES=
+}
+
+src_install() {
+ default
+
+ domenu sys/fd.org/*.desktop
+ doicon icons/schism{,-itf}-icon-128.png
+}