diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2021-11-16 09:36:52 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2021-11-16 09:37:00 +0100 |
commit | 3e49068c74510e380ca7f848ce6dd5ca5c5b7145 (patch) | |
tree | 7052095531ee452b5149ec0d99bafa24a575c18e /media-sound/schismtracker | |
parent | dev-java/pdfbox: bump to 2.0.24 - CVE-2021-31812 (diff) | |
download | gentoo-3e49068c74510e380ca7f848ce6dd5ca5c5b7145.tar.gz gentoo-3e49068c74510e380ca7f848ce6dd5ca5c5b7145.tar.bz2 gentoo-3e49068c74510e380ca7f848ce6dd5ca5c5b7145.zip |
media-sound/schismtracker: bump to 20211115
Package-Manager: Portage-3.0.28, Repoman-3.0.3
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-20211115.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/media-sound/schismtracker/Manifest b/media-sound/schismtracker/Manifest index ff3fbd237e20..070f0f5dfed9 100644 --- a/media-sound/schismtracker/Manifest +++ b/media-sound/schismtracker/Manifest @@ -1 +1,2 @@ DIST schismtracker-20210525.tar.gz 1309489 BLAKE2B acc295bed4236d3161fd67a8c97ddadaa07d6d6319a0ad75710fb4d3c7ea251edd2648932533e9181b512fd78b54db929b07e3472ff754220f16cca2bd610932 SHA512 1f20535e4e3b5175ceea803a45b7286a99cab248829c39d11bc85780bc63e0e26c49ad78997a13e290fb4ad2c292d15eeb494a975d53fbe25dec80499e675b16 +DIST schismtracker-20211115.tar.gz 1309568 BLAKE2B 0cfd67c0d5acb1052c679179162538908ccaae5c858b657b0c00abc4c239278ab9b9e73844660b6eb59c091b4ec9feac1b5e1d3f166db3a6dbbb20f04db4a6b6 SHA512 100ce23c0569237ab21bdca74f2d6ef3ef140ee39d8db9dbc35683c04f1db9db9fad247c4aab7df2c16297ee5d5460db3474810cb45cb77ccf8c260317642aa7 diff --git a/media-sound/schismtracker/schismtracker-20211115.ebuild b/media-sound/schismtracker/schismtracker-20211115.ebuild new file mode 100644 index 000000000000..1647d1e38ba2 --- /dev/null +++ b/media-sound/schismtracker/schismtracker-20211115.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2021 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 +} |