From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 787371396DA for ; Fri, 10 Nov 2017 22:18:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B3649E0E4F; Fri, 10 Nov 2017 22:18:07 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 946F9E0E56 for ; Fri, 10 Nov 2017 22:18:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 47B2C33C6B6 for ; Fri, 10 Nov 2017 22:18:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0B81E9899 for ; Fri, 10 Nov 2017 22:18:05 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1510352278.884a68127be03b06905c8963a54091e6310eb630.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-util/lutris/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-util/lutris/lutris-9999.ebuild X-VCS-Directories: games-util/lutris/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 884a68127be03b06905c8963a54091e6310eb630 X-VCS-Branch: master Date: Fri, 10 Nov 2017 22:18:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 89e55124-08b6-4f1b-8f69-3c59786180e9 X-Archives-Hash: 9a18848f4ca91a96742ce1a69ac4a11a commit: 884a68127be03b06905c8963a54091e6310eb630 Author: soredake krutt org> AuthorDate: Wed Nov 8 14:03:35 2017 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Fri Nov 10 22:17:58 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=884a6812 games-util/lutris: add live version Closes: https://github.com/gentoo/gentoo/pull/6150 games-util/lutris/lutris-9999.ebuild | 68 ++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/games-util/lutris/lutris-9999.ebuild b/games-util/lutris/lutris-9999.ebuild new file mode 100644 index 00000000000..960cafec846 --- /dev/null +++ b/games-util/lutris/lutris-9999.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 +}