diff --git a/games-util/lutris/Manifest b/games-util/lutris/Manifest new file mode 100644 index 0000000..202b15a --- /dev/null +++ b/games-util/lutris/Manifest @@ -0,0 +1 @@ +DIST lutris-0.4.18.1.tar.gz 1784577 BLAKE2B 4484480eea6c307bdab301e2fbfb17114f8667e3e9d810fc11bbb366631cf3941a77d292da24175da643f20f89831c02cbd8cb1c41c8dbdcf15a0c6a7f931de5 SHA512 aa726da36caecb7d36a4471ab56e37aa77a31c975508c9cb71e90e75539f9ed15c6c8acc5f560fbf53e0ada2b6199585db7c5373465dc027dda0a6b5fd1026c2 diff --git a/games-util/lutris/lutris-0.4.18.1.ebuild b/games-util/lutris/lutris-0.4.18.1.ebuild new file mode 100644 index 0000000..960cafe --- /dev/null +++ b/games-util/lutris/lutris-0.4.18.1.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 +} diff --git a/games-util/lutris/metadata.xml b/games-util/lutris/metadata.xml new file mode 100644 index 0000000..5d9c019 --- /dev/null +++ b/games-util/lutris/metadata.xml @@ -0,0 +1,18 @@ + + + + + games@gentoo.org + Gentoo Games Project + + + Lutris is a gaming platform for GNU/Linux. Its goal is to make + gaming on Linux as easy as possible by taking care of installing + and setting up the game for the user. The only thing you have to + do is play the game. It aims to support every game that is playable + on Linux. + + + lutris/lutris + +