diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2024-01-30 10:47:35 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2024-01-30 10:47:53 +0100 |
commit | 7dc2aeae580b1b6c8a56fae5bb4c09792e3087e2 (patch) | |
tree | d01de2b5d0ba2a6eceab3094de156750ede0a2d0 /media-sound | |
parent | sys-apps/fwts: update bug references again (diff) | |
download | gentoo-7dc2aeae580b1b6c8a56fae5bb4c09792e3087e2.tar.gz gentoo-7dc2aeae580b1b6c8a56fae5bb4c09792e3087e2.tar.bz2 gentoo-7dc2aeae580b1b6c8a56fae5bb4c09792e3087e2.zip |
media-sound/schismtracker: bump to 20240129
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/schismtracker/Manifest | 1 | ||||
-rw-r--r-- | media-sound/schismtracker/schismtracker-20240129.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/media-sound/schismtracker/Manifest b/media-sound/schismtracker/Manifest index 42fa6903ac4e..f31c18847dd1 100644 --- a/media-sound/schismtracker/Manifest +++ b/media-sound/schismtracker/Manifest @@ -1 +1,2 @@ DIST schismtracker-20231029.source.tar.gz 1402347 BLAKE2B 80d1b1da9cf0704068b96ea92d81e12ad4b19cb9b4d96d536d1214b8c9deac948fadb7f4f21cd38159086e6757f4237c1c33c13cff6227eb5216482e2d4b6c74 SHA512 42b01e6945380f346d2bca6c650fcd282df29ddcec0692014e1abb3d215110b455ae95cb0c11de981369adf8d03109e3517c34fb433081d01170d7bc8c29a67d +DIST schismtracker-20240129.source.tar.gz 1400110 BLAKE2B df6f84ca08670c45a9085970ab3e3b2fd52eddd20c1ccdc983acb0c8cc04737a78d130648e460c95f7f1553d6f9b787a9ad0dfbcf6fbf81de52f28953b740c75 SHA512 fa80ec394fa3fd603dd0ef4703edff2fda0ce8f8100343dbf3bdfb7fc48e2633b42ac3a6205fb5c08873a217f0eb301b6b529b540b96ce5d685c5aa3dd082707 diff --git a/media-sound/schismtracker/schismtracker-20240129.ebuild b/media-sound/schismtracker/schismtracker-20240129.ebuild new file mode 100644 index 000000000000..dfda6bf5d54d --- /dev/null +++ b/media-sound/schismtracker/schismtracker-20240129.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools 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" +S="${WORKDIR}" + +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 +} |