36 lines
754 B
Bash
36 lines
754 B
Bash
# Copyright 1999-2019 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
PYTHON_COMPAT=( python3_{5,6,7} )
|
|
|
|
inherit distutils-r1
|
|
|
|
if [[ ${PV} = *9999* ]]; then
|
|
inherit git-r3
|
|
EGIT_REPO_URI="https://github.com/Matoking/protontricks.git"
|
|
KEYWORDS=""
|
|
else
|
|
KEYWORDS="~amd64 ~x86"
|
|
EGIT_COMMIT="${PV}"
|
|
SRC_URI="https://github.com/Matoking/protontricks/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
|
fi
|
|
|
|
DESCRIPTION="A simple wrapper that does winetricks things for Proton enabled games"
|
|
HOMEPAGE="https://github.com/Matoking/protontricks"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
RDEPEND="
|
|
app-emulation/winetricks
|
|
dev-python/vdf
|
|
"
|
|
DEPEND="
|
|
${RDEPEND}
|
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
|
"
|