diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2022-05-07 09:37:46 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2022-05-07 09:37:46 +0200 |
commit | 13e2231175a82abca716013a6dc53843a2fac032 (patch) | |
tree | c21a4be8df5e37ef043bb50424fbb364a7f98dd0 /media-sound/schismtracker | |
parent | media-sound/abcmidi: bump to 2022.05.05 (diff) | |
download | gentoo-13e2231175a82abca716013a6dc53843a2fac032.tar.gz gentoo-13e2231175a82abca716013a6dc53843a2fac032.tar.bz2 gentoo-13e2231175a82abca716013a6dc53843a2fac032.zip |
media-sound/schismtracker: bump to 20220506
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound/schismtracker')
-rw-r--r-- | media-sound/schismtracker/Manifest | 1 | ||||
-rw-r--r-- | media-sound/schismtracker/schismtracker-20220506.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/media-sound/schismtracker/Manifest b/media-sound/schismtracker/Manifest index ecd87ef35c59..0c61e19d31c2 100644 --- a/media-sound/schismtracker/Manifest +++ b/media-sound/schismtracker/Manifest @@ -1 +1,2 @@ DIST schismtracker-20220125.tar.gz 1309919 BLAKE2B 54fedd4936e51db248b8b237d53b2338488c8332866a221bdd03bc1598aabca80f644052bdc48d8be2f95ad3b10bc6cfc9065a37b62f09df7c0ef4d304a8adde SHA512 c34979cf6cda75a4e5533631b8134b2994a5491f1182b69bfa6e1c97fd2f2e0dc90d883c6184fb24e68e60351e91ca1a2bcccb3708fc0099d0051452b5a44851 +DIST schismtracker-20220506.tar.gz 1310121 BLAKE2B a9740c2a8909a533523de18c8cd4c4457bdaa8f6198598fb0e73089fdb2c7bac3211024d5d9cb695aa5758710d0fa16a407ce0e150d0a3ef0071522f2937eec1 SHA512 8dacd1fd719c20fdc8ef157d1487202a39d4f36a37560ad62680655addde0ceb78bbce51e4f640d3979c91f6a4dfe4bc006785aa35d45a00206773d41adf9f42 diff --git a/media-sound/schismtracker/schismtracker-20220506.ebuild b/media-sound/schismtracker/schismtracker-20220506.ebuild new file mode 100644 index 000000000000..c5e2f717127a --- /dev/null +++ b/media-sound/schismtracker/schismtracker-20220506.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2022 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/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2 public-domain" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + media-libs/alsa-lib + media-libs/libsdl[X] + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXv +" +DEPEND="${RDEPEND} + virtual/os-headers + x11-base/xorg-proto +" + +src_prepare() { + default + eautoreconf + + sed -e "/^Categories/ s/Audio/AudioVideo;Audio/" -i sys/fd.org/schism.desktop || die + + # 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 + + # 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 +} |