Diff colobot-0.1.11 with a colobot-0.1.12

/usr/portage/games-strategy/colobot/colobot-0.1.12.ebuild 2019-09-24 18:09:00.000000000 +0300
1
# Copyright 1999-2018 Gentoo Foundation
1
# Copyright 1999-2019 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=6
4
EAPI=7
5 5

  
6
inherit cmake-utils desktop
6
inherit cmake-utils desktop xdg-utils
7 7

  
8 8
DESCRIPTION="Colobot is an educational real-time strategy video game featuring 3D graphics"
9 9
HOMEPAGE="https://colobot.info/"
10
SRC_URI="https://github.com/colobot/colobot/archive/${PN}-gold-${PV}-alpha.tar.gz"
11
S="${WORKDIR}/${PN}-${PN}-gold-${PV}-alpha"
10 12

  
11
if [[ ${PV} == "9999" ]] ; then
12
	EGIT_REPO_URI="https://github.com/colobot/colobot"
13
	EGIT_SUBMODULES=()
14
	inherit git-r3
15
else
16
	SRC_URI="https://github.com/colobot/colobot/archive/${PN}-gold-${PV}-alpha.tar.gz -> ${P}.tar.gz"
17
	KEYWORDS="~amd64"
18
	S="${WORKDIR}/${PN}-${PN}-gold-${PV}-alpha"
19
fi
20

  
21
LICENSE="GPL-3"
13
LICENSE="GPL-3+"
22 14
SLOT="0"
23
IUSE="devbuild test tools doc +openal"
24

  
15
KEYWORDS="~amd64"
16
IUSE="devbuild doc +openal test tools"
17
RESTRICT="!test? ( test )"
18

  
19
# perl for pod2man
20
BDEPEND="
21
	app-text/po4a
22
	dev-lang/perl
23
	sys-devel/gettext"
25 24
DEPEND="
26 25
	dev-games/physfs
27 26
	dev-libs/boost:=
......
34 33
	media-libs/sdl2-image
35 34
	media-libs/sdl2-ttf
36 35
	media-sound/vorbis-tools
37
	sys-devel/gettext
38 36
	openal? ( media-libs/openal )"
39 37
RDEPEND="${DEPEND}
40 38
	games-strategy/colobot-data"
41 39

  
40
src_prepare() {
41
	cmake-utils_src_prepare
42

  
43
	# we need to call it explicitly to help Ninja figure out the deps
44
	cd desktop || die
45
	po4a po4a.cfg || die
46
}
47

  
42 48
src_configure() {
43 49
	local mycmakeargs=(
44 50
		-DDEV_BUILD=$(usex devbuild)
......
52 58
	cmake-utils_src_configure
53 59
}
54 60

  
55
src_install() {
56
	cmake-utils_src_install
57
	doicon -s 256 desktop/colobot.ico
61
pkg_postinst() {
62
	xdg_icon_cache_update
63
}
64

  
65
pkg_postrm() {
66
	xdg_icon_cache_update
58 67
}
Thank you!