Gentoo Archives: gentoo-commits

From: "Azamat H. Hackimov" <winterheart@××××××.ru>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-engines/openxcom/
Date: Mon, 12 Jul 2021 20:47:18
Message-Id: 1626122759.a021a17ceda3a1dcde4fac55e171a6999ba58613.winterheart@gentoo
1 commit: a021a17ceda3a1dcde4fac55e171a6999ba58613
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Mon Jul 12 19:57:41 2021 +0000
4 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
5 CommitDate: Mon Jul 12 20:45:59 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=a021a17c
7
8 games-engines/openxcom: update ebuild
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.2
11 Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
12
13 ...1215.ebuild => openxcom-1.0.0_p20210611.ebuild} | 26 ++++++++++++----------
14 1 file changed, 14 insertions(+), 12 deletions(-)
15
16 diff --git a/games-engines/openxcom/openxcom-1.0.0_p20171215.ebuild b/games-engines/openxcom/openxcom-1.0.0_p20210611.ebuild
17 similarity index 81%
18 rename from games-engines/openxcom/openxcom-1.0.0_p20171215.ebuild
19 rename to games-engines/openxcom/openxcom-1.0.0_p20210611.ebuild
20 index 114c2b0..b4d2856 100644
21 --- a/games-engines/openxcom/openxcom-1.0.0_p20171215.ebuild
22 +++ b/games-engines/openxcom/openxcom-1.0.0_p20210611.ebuild
23 @@ -1,16 +1,16 @@
24 -# Copyright 1999-2017 Gentoo Foundation
25 +# Copyright 1999-2021 Gentoo Authors
26 # Distributed under the terms of the GNU General Public License v2
27
28 -EAPI=6
29 +EAPI=7
30
31 -inherit cmake-utils git-r3
32 +inherit cmake git-r3
33
34 DESCRIPTION="An open-source reimplementation of the popular UFO: Enemy Unknown"
35 HOMEPAGE="http://openxcom.org/"
36 # For translation files
37 #SRC_URI="http://openxcom.org/git_builds/openxcom_git_master_2015_09_25_2120.zip"
38 EGIT_REPO_URI="https://github.com/SupSuper/OpenXcom.git"
39 -EGIT_COMMIT=19efea3da04465ddc4d61a3a6aae25d0eff105a3
40 +EGIT_COMMIT=8d45159bf3e27d6aef62aff6035d9f6a59caf00b
41
42 LICENSE="GPL-3"
43 SLOT="0"
44 @@ -30,21 +30,27 @@ DEPEND="${RDEPEND}
45
46 DOCS=( README.md )
47
48 +src_prepare() {
49 + default
50 + sed -i -e "s:/man/man6:/share/man/man6:g" docs/CMakeLists.txt
51 + cmake_src_prepare
52 +}
53 +
54 src_configure() {
55 mycmakeargs=(
56 "-DCMAKE_INSTALL_BINDIR=/usr/bin"
57 "-DCMAKE_INSTALL_DATADIR=/usr/share"
58 )
59 - cmake-utils_src_configure
60 + cmake_src_configure
61 }
62
63 src_compile() {
64 - use doc && cmake-utils_src_compile doxygen
65 - cmake-utils_src_compile
66 + use doc && cmake_src_compile doxygen
67 + cmake_src_compile
68 }
69
70 src_install() {
71 - cmake-utils_src_install
72 + cmake_src_install
73 use doc && dodoc -r "${CMAKE_BUILD_DIR}/docs/html/"
74
75 # for i in "common" "standard/xcom1" "standard/xcom2" ; do
76 @@ -55,10 +61,6 @@ src_install() {
77 # doins -r "../openxcom/standard/xcom1/Language/"
78 # insinto "${GAMES_DATADIR}/${PN}/standard/xcom2/Language/"
79 # doins -r "../openxcom/standard/xcom2/Language/"
80 -
81 - doicon res/linux/icons/openxcom.svg
82 - domenu res/linux/openxcom.desktop
83 -
84 }
85
86 pkg_postinst() {