From 6b933047f46efec1aa747570f945344254227457 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 15 Dec 2017 17:25:28 +0000 Subject: gentoo resync : 15.12.2017 --- games-util/lutris/lutris-0.4.14.ebuild | 68 ++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 games-util/lutris/lutris-0.4.14.ebuild (limited to 'games-util/lutris/lutris-0.4.14.ebuild') diff --git a/games-util/lutris/lutris-0.4.14.ebuild b/games-util/lutris/lutris-0.4.14.ebuild new file mode 100644 index 000000000000..960cafec846a --- /dev/null +++ b/games-util/lutris/lutris-0.4.14.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{4,5,6} ) +PYTHON_REQ_USE="sqlite,threads" + +inherit distutils-r1 gnome2-utils python-r1 + +DESCRIPTION="Lutris is an open source gaming platform for GNU/Linux." +HOMEPAGE="https://lutris.net/" + +if [[ "${PV}" == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/lutris/${PN}.git" + inherit git-r3 +else + SRC_URI="https://github.com/lutris/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3" +SLOT="0" + +RDEPEND=" + dev-python/dbus-python[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/python-evdev[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + net-libs/libsoup + x11-apps/xrandr + x11-apps/xgamma" + +python_install() { + distutils-r1_python_install +} + +src_prepare() { + distutils-r1_src_prepare +} + +src_compile() { + distutils-r1_src_compile +} + +src_install() { + # README.rst contains list of optional deps + DOCS=( AUTHORS README.rst INSTALL.rst ) + distutils-r1_src_install +} + +pkg_preinst() { + gnome2_icon_savelist + gnome2_schemas_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update + gnome2_schemas_update + + elog "For a list of optional dependencies (runners) see:" + elog "/usr/share/doc/${PF}/README.rst.bz2" +} + +pkg_postrm() { + gnome2_icon_cache_update + gnome2_schemas_update +} -- cgit v1.2.3