mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 14:03:33 -04:00
- use the correct python eclass - move sed command to correct build phase - fix shebangs of python scripts Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Andreas Zuber <a.zuber@gmx.ch>
43 lines
981 B
Bash
43 lines
981 B
Bash
# Copyright 2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
PYTHON_COMPAT=( python3_{6,7,8} )
|
|
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
|
|
}
|