Files
guru/games-engines/boxtron/boxtron-0.5.4-r2.ebuild
Andreas Zuber 9d8ba38edf games-engines/boxtron: python 3.10/3.11 support
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Zuber <a.zuber@gmx.ch>
2022-10-02 00:09:23 +02:00

43 lines
981 B
Bash

# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10,11} )
inherit python-single-r1
DESCRIPTION="Steam Play compatibility tool to run DOS games using native Linux DOSBox"
HOMEPAGE="https://github.com/dreamer/boxtron/"
SRC_URI="https://github.com/dreamer/boxtron/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
BDEPEND="
sys-devel/make
app-arch/tar"
RDEPEND="
${PYTHON_DEPS}
>=games-emulation/dosbox-staging-0.75.0
media-sound/fluid-soundfont
media-sound/timidity++
sys-fs/inotify-tools"
src_prepare() {
default
sed -i '/README.md/d' Makefile || die "sed failed"
}
src_compile() { :; }
src_install() {
emake DESTDIR="${D}" prefix=/usr install || die "died running emake"
dodoc README.md
python_fix_shebang "${D}"/usr/share/boxtron/run-dosbox
python_fix_shebang "${D}"/usr/bin/install-gog-game
}