1 |
commit: ffd7ecdff6b97361f0583adff90bd8c077773422 |
2 |
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Jul 12 20:14:04 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=ffd7ecdf |
7 |
|
8 |
games-fps/dhewm3: remove old |
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 |
games-fps/dhewm3/dhewm3-1.5.1_pre1.ebuild | 66 ------------------------------- |
14 |
1 file changed, 66 deletions(-) |
15 |
|
16 |
diff --git a/games-fps/dhewm3/dhewm3-1.5.1_pre1.ebuild b/games-fps/dhewm3/dhewm3-1.5.1_pre1.ebuild |
17 |
deleted file mode 100644 |
18 |
index cdb8cdb..0000000 |
19 |
--- a/games-fps/dhewm3/dhewm3-1.5.1_pre1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,66 +0,0 @@ |
22 |
-# Copyright 1999-2019 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=7 |
26 |
- |
27 |
-inherit cmake-utils |
28 |
- |
29 |
-MY_PV=${PV/_pre/_PRE} |
30 |
- |
31 |
-DESCRIPTION="A Doom 3 GPL source modification." |
32 |
-HOMEPAGE="https://github.com/dhewm/dhewm3" |
33 |
-SRC_URI="https://github.com/dhewm/dhewm3/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" |
34 |
- |
35 |
-LICENSE="GPL-3" |
36 |
-SLOT="0" |
37 |
-KEYWORDS="~amd64" |
38 |
-IUSE="dedicated" |
39 |
- |
40 |
-DEPEND=" |
41 |
- virtual/jpeg:0 |
42 |
- media-libs/libogg |
43 |
- media-libs/libsdl2 |
44 |
- media-libs/libvorbis |
45 |
- media-libs/openal |
46 |
- net-misc/curl |
47 |
- sys-libs/zlib:= |
48 |
-" |
49 |
-RDEPEND="${DEPEND}" |
50 |
- |
51 |
-S="${WORKDIR}/${PN}-${MY_PV}" |
52 |
-CMAKE_USE_DIR="${S}/neo" |
53 |
- |
54 |
-DATADIR=/usr/share/dhewm3 |
55 |
-DOCS="README.md" |
56 |
- |
57 |
-# TODO: patch for common games-dir with roe and doom3-data |
58 |
- |
59 |
-src_configure() { |
60 |
- mycmakeargs=( |
61 |
- -DDEDICATED=ON |
62 |
- -DSDL2=ON |
63 |
- -DCORE=$(usex dedicated OFF ON) |
64 |
- -DBASE=$(usex dedicated OFF ON) |
65 |
- -DD3XP=$(usex dedicated OFF ON) |
66 |
- ) |
67 |
- cmake-utils_src_configure |
68 |
-} |
69 |
- |
70 |
-src_compile() { |
71 |
- cmake-utils_src_compile |
72 |
-} |
73 |
- |
74 |
-src_install() { |
75 |
- keepdir "${DATADIR}" |
76 |
- cmake-utils_src_install |
77 |
- |
78 |
- newicon "${CMAKE_USE_DIR}"/sys/linux/setup/image/doom3.png "${PN}".png |
79 |
- make_desktop_entry "${PN}" "Doom 3 - dhewm" |
80 |
-} |
81 |
- |
82 |
-pkg_postinst() { |
83 |
- elog "You need to copy *.pk4 from either your installation media or your hard drive to" |
84 |
- elog "${DATADIR}/base before running the game," |
85 |
- elog "or 'emerge games-fps/doom3-data' to install from CD." |
86 |
- echo |
87 |
-} |