mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 04:53:07 -04:00
Closes: https://bugs.gentoo.org/897622 Bug: https://bugs.gentoo.org/921890 Bug: https://bugs.gentoo.org/921916 Bug: https://bugs.gentoo.org/927563 Signed-off-by: Julien Roy <julien@jroy.ca>
45 lines
996 B
Bash
45 lines
996 B
Bash
# Copyright 2020-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{10..12} )
|
|
# Fails to compile with PEP517
|
|
# DISTUTILS_USE_PEP517=setuptools
|
|
DISTUTILS_SINGLE_IMPL=1
|
|
|
|
inherit distutils-r1 optfeature xdg
|
|
|
|
DESCRIPTION="A simple GOG client for Linux"
|
|
HOMEPAGE="https://github.com/sharkwouter/minigalaxy"
|
|
SRC_URI="https://github.com/sharkwouter/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="GPL-3+"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
RDEPEND="
|
|
$(python_gen_cond_dep '
|
|
>=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
|
|
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
|
')
|
|
>=net-libs/webkit-gtk-2.6:4
|
|
>=x11-libs/gtk+-3
|
|
"
|
|
BDEPEND="
|
|
test? (
|
|
$(python_gen_cond_dep '
|
|
dev-python/simplejson[${PYTHON_USEDEP}]
|
|
')
|
|
)
|
|
"
|
|
|
|
distutils_enable_tests unittest
|
|
|
|
pkg_postinst() {
|
|
xdg_pkg_postinst
|
|
|
|
optfeature "running games with system dosbox" games-emulation/dosbox
|
|
optfeature "running games with system scummvm" games-engines/scummvm
|
|
}
|