media-sound/schismtracker: bump to 20211115

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
Miroslav Šulc
2021-11-16 09:36:52 +01:00
parent 660b5533ea
commit 3e49068c74
2 changed files with 53 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST schismtracker-20210525.tar.gz 1309489 BLAKE2B acc295bed4236d3161fd67a8c97ddadaa07d6d6319a0ad75710fb4d3c7ea251edd2648932533e9181b512fd78b54db929b07e3472ff754220f16cca2bd610932 SHA512 1f20535e4e3b5175ceea803a45b7286a99cab248829c39d11bc85780bc63e0e26c49ad78997a13e290fb4ad2c292d15eeb494a975d53fbe25dec80499e675b16
DIST schismtracker-20211115.tar.gz 1309568 BLAKE2B 0cfd67c0d5acb1052c679179162538908ccaae5c858b657b0c00abc4c239278ab9b9e73844660b6eb59c091b4ec9feac1b5e1d3f166db3a6dbbb20f04db4a6b6 SHA512 100ce23c0569237ab21bdca74f2d6ef3ef140ee39d8db9dbc35683c04f1db9db9fad247c4aab7df2c16297ee5d5460db3474810cb45cb77ccf8c260317642aa7

View File

@@ -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
}