add lutris 0.4.23

This commit is contained in:
ace 2019-02-16 13:00:35 +03:00
parent 83b6f333b8
commit b9a0b7427c
2 changed files with 70 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST lutris-0.4.23.tar.gz 1831736 BLAKE2B 9da20d5545e9d2474bed436443fed325beb3ed2e3e945cb27e25fbce88ac7aeb9547a0a1bcd74349e5c7bda0dd6be50949b5abaa1fc091a21217b330c6fe655f SHA512 a0860920e01568888db5ac9a52c0d33a5108af33906ea411d4621dec4b059c399b17ca35c245bf9bfb506c6b242d32d917d3ade6898f619e00f9361117632fb3
EBUILD lutris-0.4.23.ebuild 1377 BLAKE2B 6228490d33bc2e502ed40995bf281813e5367300b7d189f68b287908bc4905001a4e6fb650f2d3c44aa763b1e4e28ba803d466ec8f344c62c8295133105812a7 SHA512 9894d39b9504ee331f7b171509b6cb7bafcec16e10613fe0742da169d82d3290df912bf8eecfa67cb24991d13a39f138f3dcdd59aa93123c6ed8cdf839b1be62

View File

@ -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
}