summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2024-04-09 09:22:29 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2024-04-09 09:22:29 +0200
commit120663166750cc461a6395d66fe15bc5f851138b (patch)
treee1ac17a6756e42480cc1e37f08b9efd5ecdb06b6 /media-sound
parentmedia-plugins/vamp-libxtract-plugins: EAPI8 bump (diff)
downloadgentoo-120663166750cc461a6395d66fe15bc5f851138b.tar.gz
gentoo-120663166750cc461a6395d66fe15bc5f851138b.tar.bz2
gentoo-120663166750cc461a6395d66fe15bc5f851138b.zip
media-sound/schismtracker: bump to 20240409
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-20240409.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/media-sound/schismtracker/Manifest b/media-sound/schismtracker/Manifest
index 91b939a68325..0ce0dec7f6c8 100644
--- a/media-sound/schismtracker/Manifest
+++ b/media-sound/schismtracker/Manifest
@@ -1,3 +1,4 @@
DIST schismtracker-20240129.source.tar.gz 1400110 BLAKE2B df6f84ca08670c45a9085970ab3e3b2fd52eddd20c1ccdc983acb0c8cc04737a78d130648e460c95f7f1553d6f9b787a9ad0dfbcf6fbf81de52f28953b740c75 SHA512 fa80ec394fa3fd603dd0ef4703edff2fda0ce8f8100343dbf3bdfb7fc48e2633b42ac3a6205fb5c08873a217f0eb301b6b529b540b96ce5d685c5aa3dd082707
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
diff --git a/media-sound/schismtracker/schismtracker-20240409.ebuild b/media-sound/schismtracker/schismtracker-20240409.ebuild
new file mode 100644
index 000000000000..9f693420ffe6
--- /dev/null
+++ b/media-sound/schismtracker/schismtracker-20240409.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
+}