diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-09-23 19:38:48 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-09-23 19:40:05 +0200 |
commit | f91db0b30793a351d26ca80ff866f650ae3e8f32 (patch) | |
tree | b65097847cb06e3ec5ae93a8c05a1990826cfad0 /games-strategy | |
parent | games-strategy/colobot: Bump to 0.1.12 (diff) | |
download | gentoo-f91db0b30793a351d26ca80ff866f650ae3e8f32.tar.gz gentoo-f91db0b30793a351d26ca80ff866f650ae3e8f32.tar.bz2 gentoo-f91db0b30793a351d26ca80ff866f650ae3e8f32.zip |
games-strategy/colobot: Update the live ebuild
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/colobot/colobot-9999.ebuild | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/games-strategy/colobot/colobot-9999.ebuild b/games-strategy/colobot/colobot-9999.ebuild index 02e4757ef02e..b4179756b903 100644 --- a/games-strategy/colobot/colobot-9999.ebuild +++ b/games-strategy/colobot/colobot-9999.ebuild @@ -1,26 +1,22 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit cmake-utils desktop +# upstream CMakeLists.txt are buggy +CMAKE_MAKEFILE_GENERATOR=emake +inherit cmake-utils desktop git-r3 xdg-utils DESCRIPTION="Colobot is an educational real-time strategy video game featuring 3D graphics" HOMEPAGE="https://colobot.info/" - -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="https://github.com/colobot/colobot" - EGIT_SUBMODULES=() - inherit git-r3 -else - SRC_URI="https://github.com/colobot/colobot/archive/${PN}-gold-${PV}-alpha.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" - S="${WORKDIR}/${PN}-${PN}-gold-${PV}-alpha" -fi +EGIT_REPO_URI="https://github.com/colobot/colobot" +EGIT_SUBMODULES=() LICENSE="GPL-3" SLOT="0" -IUSE="devbuild test tools doc +openal" +KEYWORDS="" +IUSE="devbuild doc +openal test tools" +RESTRICT="!test? ( test )" DEPEND=" dev-games/physfs @@ -52,7 +48,10 @@ src_configure() { cmake-utils_src_configure } -src_install() { - cmake-utils_src_install - doicon -s 256 desktop/colobot.ico +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update } |