1 |
commit: c7ca20eeeed4dcf5b1e25b0622c6d0335d891ffc |
2 |
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Mar 3 22:49:19 2020 +0000 |
4 |
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru> |
5 |
CommitDate: Tue Mar 3 22:49:19 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=c7ca20ee |
7 |
|
8 |
games-strategy/vcmi: minor fixes |
9 |
|
10 |
Removed live ebuild |
11 |
|
12 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
13 |
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com> |
14 |
|
15 |
games-strategy/vcmi/metadata.xml | 8 ++++ |
16 |
games-strategy/vcmi/vcmi-0.99.ebuild | 5 +-- |
17 |
games-strategy/vcmi/vcmi-9999.ebuild | 81 ------------------------------------ |
18 |
3 files changed, 10 insertions(+), 84 deletions(-) |
19 |
|
20 |
diff --git a/games-strategy/vcmi/metadata.xml b/games-strategy/vcmi/metadata.xml |
21 |
new file mode 100644 |
22 |
index 0000000..0fbb816 |
23 |
--- /dev/null |
24 |
+++ b/games-strategy/vcmi/metadata.xml |
25 |
@@ -0,0 +1,8 @@ |
26 |
+<?xml version="1.0" encoding="UTF-8"?> |
27 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
28 |
+<pkgmetadata> |
29 |
+<use> |
30 |
+<flag name="erm">Enable compilation of ERM scripting module</flag> |
31 |
+<flag name="launcher">Enable launcer support</flag> |
32 |
+</use> |
33 |
+</pkgmetadata> |
34 |
|
35 |
diff --git a/games-strategy/vcmi/vcmi-0.99.ebuild b/games-strategy/vcmi/vcmi-0.99.ebuild |
36 |
index bf28be7..82ccb57 100644 |
37 |
--- a/games-strategy/vcmi/vcmi-0.99.ebuild |
38 |
+++ b/games-strategy/vcmi/vcmi-0.99.ebuild |
39 |
@@ -1,6 +1,5 @@ |
40 |
-# Copyright 1999-2019 Gentoo Authors |
41 |
+# Copyright 1999-2020 Gentoo Authors |
42 |
# Distributed under the terms of the GNU General Public License v2 |
43 |
-# $Header: $ |
44 |
|
45 |
EAPI=7 |
46 |
|
47 |
@@ -12,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
48 |
|
49 |
LICENSE="GPL-2" |
50 |
SLOT="0" |
51 |
-KEYWORDS="~x86 ~amd64" |
52 |
+KEYWORDS="~amd64 ~x86" |
53 |
IUSE="+debug erm +launcher" |
54 |
|
55 |
CDEPEND=" |
56 |
|
57 |
diff --git a/games-strategy/vcmi/vcmi-9999.ebuild b/games-strategy/vcmi/vcmi-9999.ebuild |
58 |
deleted file mode 100644 |
59 |
index ce5f4b0..0000000 |
60 |
--- a/games-strategy/vcmi/vcmi-9999.ebuild |
61 |
+++ /dev/null |
62 |
@@ -1,81 +0,0 @@ |
63 |
-# Copyright 1999-2015 Gentoo Foundation |
64 |
-# Distributed under the terms of the GNU General Public License v2 |
65 |
-# $Header: $ |
66 |
- |
67 |
-EAPI=5 |
68 |
- |
69 |
-inherit eutils games cmake-utils git-r3 |
70 |
- |
71 |
-DESCRIPTION="Heroes of Might and Magic III game engine rewrite" |
72 |
-HOMEPAGE="http://forum.vcmi.eu/index.php" |
73 |
-SRC_URI="" |
74 |
-EGIT_REPO_URI="https://github.com/${PN}/${PN}" |
75 |
-EGIT_BRANCH="develop" |
76 |
- |
77 |
-LICENSE="GPL-2" |
78 |
-SLOT="0" |
79 |
-KEYWORDS="" |
80 |
-IUSE="debug editor launcher +erm" |
81 |
- |
82 |
-CDEPEND=" |
83 |
- media-libs/libsdl2[video] |
84 |
- media-libs/sdl2-image |
85 |
- media-libs/sdl2-mixer |
86 |
- media-libs/sdl2-ttf |
87 |
- virtual/ffmpeg |
88 |
- sys-libs/zlib[minizip] |
89 |
- editor? ( |
90 |
- dev-qt/qtgui |
91 |
- dev-qt/qtcore |
92 |
- dev-qt/qtwidgets |
93 |
- ) |
94 |
- launcher? ( |
95 |
- dev-qt/qtgui |
96 |
- dev-qt/qtcore |
97 |
- dev-qt/qtnetwork |
98 |
- dev-qt/qtwidgets |
99 |
- ) |
100 |
- dev-libs/fuzzylite |
101 |
-" |
102 |
- |
103 |
-DEPEND=" |
104 |
- >dev-libs/boost-1.48.0 |
105 |
- virtual/pkgconfig |
106 |
- ${CDEPEND} |
107 |
-" |
108 |
-RDEPEND=" |
109 |
- ${CDEPEND} |
110 |
-" |
111 |
-PDEPEND=" |
112 |
- games-strategy/vcmi-data |
113 |
-" |
114 |
- |
115 |
-src_configure() { |
116 |
- local MY_DATADIR="${GAMES_DATADIR#/usr/}/${PN}" |
117 |
- local MY_GAMESLIBDIR=$(games_get_libdir) |
118 |
- local MY_LIBDIR=${MY_GAMESLIBDIR#/usr/} |
119 |
- local MY_BINDIR=${GAMES_BINDIR#/usr/} |
120 |
- |
121 |
- use editor && ewarn "Editor seems to be broken. At least, it fails to build for me" |
122 |
- use debug || ewarn "Somewhy, buildsystem don't want to use cotire (compile time reducer) generated pch (precompiled header) with disabled debug, so, you will see the warnings on each target." |
123 |
- |
124 |
- local mycmakeargs=( |
125 |
- -DDATA_DIR="${MY_DATADIR}" |
126 |
- -DLIB_DIR="${MY_LIBDIR}" |
127 |
- -DBIN_DIR="${MY_BINDIR}" |
128 |
- $(cmake-utils_use_enable erm ERM) |
129 |
- $(cmake-utils_use_enable editor EDITOR) |
130 |
- $(cmake-utils_use_enable launcher LAUNCHER) |
131 |
- ) |
132 |
- export CCACHE_SLOPPINESS="time_macros" |
133 |
- cmake-utils_src_configure |
134 |
-} |
135 |
- |
136 |
-src_install() { |
137 |
- cmake-utils_src_install |
138 |
- prepgamesdirs |
139 |
-} |
140 |
- |
141 |
-pkg_postinst() { |
142 |
- games_pkg_postinst |
143 |
-} |