1 |
commit: 608f5ce6b879a32526697c3270f7b4b8b30bbb8f |
2 |
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Nov 15 20:41:01 2018 +0000 |
4 |
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru> |
5 |
CommitDate: Thu Nov 15 20:41:01 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=608f5ce6 |
7 |
|
8 |
games-fps/dhewm3: bump to 1.5.0_rc1, removed live |
9 |
|
10 |
Minor fixes to metadata |
11 |
|
12 |
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com> |
13 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
14 |
|
15 |
...{dhewm3-9999.ebuild => dhewm3-1.5.0_rc1.ebuild} | 43 +++++++--------------- |
16 |
games-fps/dhewm3/metadata.xml | 5 +-- |
17 |
2 files changed, 15 insertions(+), 33 deletions(-) |
18 |
|
19 |
diff --git a/games-fps/dhewm3/dhewm3-9999.ebuild b/games-fps/dhewm3/dhewm3-1.5.0_rc1.ebuild |
20 |
similarity index 52% |
21 |
rename from games-fps/dhewm3/dhewm3-9999.ebuild |
22 |
rename to games-fps/dhewm3/dhewm3-1.5.0_rc1.ebuild |
23 |
index cda76dc..d07d8f9 100644 |
24 |
--- a/games-fps/dhewm3/dhewm3-9999.ebuild |
25 |
+++ b/games-fps/dhewm3/dhewm3-1.5.0_rc1.ebuild |
26 |
@@ -1,34 +1,33 @@ |
27 |
-# Copyright 1999-2017 Gentoo Foundation |
28 |
+# Copyright 1999-2018 Gentoo Authors |
29 |
# Distributed under the terms of the GNU General Public License v2 |
30 |
|
31 |
EAPI=6 |
32 |
|
33 |
-inherit cmake-utils git-r3 |
34 |
+inherit cmake-utils |
35 |
+ |
36 |
+MY_PV=${PV/_rc/_RC} |
37 |
|
38 |
DESCRIPTION="A Doom 3 GPL source modification." |
39 |
HOMEPAGE="https://github.com/dhewm/dhewm3" |
40 |
-EGIT_REPO_URI="https://github.com/dhewm/dhewm3.git" |
41 |
+SRC_URI="https://github.com/dhewm/dhewm3/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" |
42 |
|
43 |
LICENSE="GPL-3" |
44 |
SLOT="0" |
45 |
-KEYWORDS="" |
46 |
-IUSE="cdinstall dedicated roe" |
47 |
+KEYWORDS="~amd64" |
48 |
+IUSE="dedicated" |
49 |
|
50 |
DEPEND=" |
51 |
- virtual/jpeg |
52 |
+ virtual/jpeg:0 |
53 |
media-libs/libogg |
54 |
media-libs/libsdl2 |
55 |
media-libs/libvorbis |
56 |
media-libs/openal |
57 |
net-misc/curl |
58 |
- sys-libs/zlib |
59 |
+ sys-libs/zlib:= |
60 |
" |
61 |
-RDEPEND="${DEPEND} |
62 |
- cdinstall? ( |
63 |
- >=games-fps/doom3-data-1.1.1282-r1 |
64 |
- roe? ( games-fps/doom3-roe ) |
65 |
- )" |
66 |
+RDEPEND="${DEPEND}" |
67 |
|
68 |
+S="${WORKDIR}/${PN}-${MY_PV}" |
69 |
CMAKE_USE_DIR="${S}/neo" |
70 |
|
71 |
DATADIR=/usr/share/dhewm3 |
72 |
@@ -57,25 +56,11 @@ src_install() { |
73 |
|
74 |
newicon "${CMAKE_USE_DIR}"/sys/linux/setup/image/doom3.png "${PN}".png |
75 |
make_desktop_entry "${PN}" "Doom 3 - dhewm" |
76 |
- |
77 |
- # TODO: roe desktop file |
78 |
} |
79 |
|
80 |
pkg_postinst() { |
81 |
- if ! use cdinstall; then |
82 |
- elog "You need to copy *.pk4 from either your installation media or your hard drive to" |
83 |
- elog "${DATADIR}/base before running the game," |
84 |
- elog "or 'emerge games-fps/doom3-data' to install from CD." |
85 |
- echo |
86 |
- if use roe ; then |
87 |
- elog "To use the Resurrection of Evil expansion pack, you also need to copy *.pk4" |
88 |
- elog "to ${DATADIR}/d3xp from the RoE CD before running the game," |
89 |
- elog "or 'emerge doom3-roe' to install from CD." |
90 |
- fi |
91 |
- fi |
92 |
- |
93 |
- echo |
94 |
- elog "To play the game, run:" |
95 |
- elog " ${PN}" |
96 |
+ elog "You need to copy *.pk4 from either your installation media or your hard drive to" |
97 |
+ elog "${DATADIR}/base before running the game," |
98 |
+ elog "or 'emerge games-fps/doom3-data' to install from CD." |
99 |
echo |
100 |
} |
101 |
|
102 |
diff --git a/games-fps/dhewm3/metadata.xml b/games-fps/dhewm3/metadata.xml |
103 |
index c1e1824..b74872d 100644 |
104 |
--- a/games-fps/dhewm3/metadata.xml |
105 |
+++ b/games-fps/dhewm3/metadata.xml |
106 |
@@ -1,7 +1,7 @@ |
107 |
<?xml version="1.0" encoding="UTF-8"?> |
108 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
109 |
<pkgmetadata> |
110 |
-<maintainer> |
111 |
+<maintainer type="person"> |
112 |
<email>azamat.hackimov@×××××.com</email> |
113 |
<name>Azamat H. Hackimov</name> |
114 |
</maintainer> |
115 |
@@ -15,7 +15,4 @@ Compared to the original DOOM 3, the changes of dhewm 3 worth mentioning are: |
116 |
* A portable build system based on CMake |
117 |
* (Cross-)compilation with mingw-w64 |
118 |
</longdescription> |
119 |
-<use> |
120 |
- <flag name="roe">Adds support for the Resurrection of Evil expansion</flag> |
121 |
-</use> |
122 |
</pkgmetadata> |