diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2023-09-07 09:45:47 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2023-09-07 09:45:47 +0200 |
commit | 6829f0a92d67ca9a4819d61d237a91a2e5c5d0a4 (patch) | |
tree | d3b4f63136f95f53a8cad9b538646259a6d75082 | |
parent | media-sound/abcmidi: bump to 2023.09.06, dropped 2023.08.31 (diff) | |
download | gentoo-6829f0a92d67ca9a4819d61d237a91a2e5c5d0a4.tar.gz gentoo-6829f0a92d67ca9a4819d61d237a91a2e5c5d0a4.tar.bz2 gentoo-6829f0a92d67ca9a4819d61d237a91a2e5c5d0a4.zip |
media-sound/schismtracker: bump to 20230906
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
-rw-r--r-- | media-sound/schismtracker/Manifest | 1 | ||||
-rw-r--r-- | media-sound/schismtracker/schismtracker-20230906.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/media-sound/schismtracker/Manifest b/media-sound/schismtracker/Manifest index c9e3bb7e1a31..90eecf904fe5 100644 --- a/media-sound/schismtracker/Manifest +++ b/media-sound/schismtracker/Manifest @@ -1 +1,2 @@ DIST schismtracker-20221201.source.tar.gz 1633099 BLAKE2B 6f376323002f85031140be7d54b1ab8bd830f8654e90c07596c9a45ce2ce76dfda51f124ff01247c1a371269b2924470faab06d7692a76ced694fdf05937f384 SHA512 062dc54b541709be0a5c8b0c5edadc9710106154c15b2a40847998db33aaba7d07740cdd32da94f56725e66834221bc5470f9a111eb41a06fbfbd70fdc920113 +DIST schismtracker-20230906.source.tar.gz 1397771 BLAKE2B aac39f9dec4eb4a0e0056aebc6f665a90cfddd18d59c480130c8b4ca3dcd2913e6802146b0a92766d6384cb185c24a9ad8d240f2c0ad3d46c5590108f0543e6c SHA512 806a265802f0e4d0b98c3d390cf865d822df7d8bcca42966970ed6593d694276d57d1b0fa7dc16d6208b44e9f0f4898b017daed7ed810f2994e4cd31fa0f6930 diff --git a/media-sound/schismtracker/schismtracker-20230906.ebuild b/media-sound/schismtracker/schismtracker-20230906.ebuild new file mode 100644 index 000000000000..afca563bb1f7 --- /dev/null +++ b/media-sound/schismtracker/schismtracker-20230906.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2023 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 + + # Can drop this once bashism patch unnecessary + eautoreconf + + # 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 +} |