summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2024-04-27 10:53:45 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2024-04-27 10:53:56 +0200
commite318531e90c0d2c319c880b88bf8101802c4248f (patch)
tree8f615d139a6f78fb60bb66c38175ba16153e873a /media-sound
parentmedia-plugins/cmt-plugins: dropped obsolete 1.17-r1 (diff)
downloadgentoo-e318531e90c0d2c319c880b88bf8101802c4248f.tar.gz
gentoo-e318531e90c0d2c319c880b88bf8101802c4248f.tar.bz2
gentoo-e318531e90c0d2c319c880b88bf8101802c4248f.zip
media-sound/schismtracker: bump to 20240426
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-20240426.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/media-sound/schismtracker/Manifest b/media-sound/schismtracker/Manifest
index 24a271337a46..b5bd81773116 100644
--- a/media-sound/schismtracker/Manifest
+++ b/media-sound/schismtracker/Manifest
@@ -1,3 +1,4 @@
DIST schismtracker-20240308.source.tar.gz 1162477 BLAKE2B bfb7028322cfaccdfd5f253d90f5b609ba514421c3daae742de9dbe4b4d7a2a8fa5e85cfc85e1dcc8aeceac9d9c286e7ec5787ff071ceeab329008249e1644d8 SHA512 4a23e3c90ff464980c94e2b44a8ca4f7b41c4abc57061d022f8ff6cf2c1098ffd76f202f4ad00ae5256ca7c8a3c8fbd1c2bc7869a81828a611e219da03974f11
DIST schismtracker-20240328.source.tar.gz 1162427 BLAKE2B fe7b0337d4d3260242c30d6d6abb9cf94d88e0e4f48390499bbc27c2293f18c3db1da2ec0f3d1acc4b0912d80b48370feb7c9acefe88c2a10781726442b692c5 SHA512 83ed2e4cb9c872bb1678e32dea7195f240df6509b7f031708b8101c7a94337cafc50333ae70641f1eabab1c49dd8420443f3c5ae544317f22b8df15122c02e54
DIST schismtracker-20240409.source.tar.gz 1162489 BLAKE2B 733ffd624e15b143c995bc124971ff49c18fb37fb65df1d8b3d1bf8b7283ddbfe9ab9906ee03230f68f85a224dcc149dce61e1d0ed1498a77e9dfcf2be2a8c7a SHA512 4ce52e4837148ff04487e1d060a4cde20f3ae924074949e225298ac6ed22a2a05186000536bdd48e38a19b09be34fa10054d68e2bda58634e92af86f0f4a2142
+DIST schismtracker-20240426.source.tar.gz 1166865 BLAKE2B fc04c6ab9419bf478d45797f2787c2eead8901239999f610fbc87110a3842e08143dcd588502a672346c5240075e4e3bc8419415423813e11dbf98eedacd9b4f SHA512 eb1ec4bbce085c8f045a52f63292c73418dcabb71b63927ce2475a941373cfe501433a489a3e629fa6224d7892f4526edb3f3ccd1f7aede47ddf8237a72edb6e
diff --git a/media-sound/schismtracker/schismtracker-20240426.ebuild b/media-sound/schismtracker/schismtracker-20240426.ebuild
new file mode 100644
index 000000000000..9f693420ffe6
--- /dev/null
+++ b/media-sound/schismtracker/schismtracker-20240426.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
+}