1 |
commit: 3f1b957df27ec2273692b2979030d0e1c4c0be17 |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 28 14:48:04 2019 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 28 15:14:35 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f1b957d |
7 |
|
8 |
games-roguelike/neon-chrome: New package |
9 |
|
10 |
Package-Manager: Portage-2.3.76, Repoman-2.3.17 |
11 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
12 |
|
13 |
games-roguelike/neon-chrome/Manifest | 2 + |
14 |
games-roguelike/neon-chrome/metadata.xml | 8 ++++ |
15 |
.../neon-chrome/neon-chrome-1.1.12.ebuild | 49 ++++++++++++++++++++++ |
16 |
3 files changed, 59 insertions(+) |
17 |
|
18 |
diff --git a/games-roguelike/neon-chrome/Manifest b/games-roguelike/neon-chrome/Manifest |
19 |
new file mode 100644 |
20 |
index 00000000000..2cb7683a99f |
21 |
--- /dev/null |
22 |
+++ b/games-roguelike/neon-chrome/Manifest |
23 |
@@ -0,0 +1,2 @@ |
24 |
+DIST NeonChrome-Linux-1.1.12.tar 64140772 BLAKE2B cadda4c659b96b96c4b9b2a1dfc78152a89e53a2662f5e2dc70a0d4c98a813822d8c977deb0d6d6aeca0a2d2608cb04274c0ad33554ce27ab2ddf318499c9750 SHA512 f659bbe87f3b2933346bc17a4ccdcdc37ff8bb2db7a94dc5334db7109d64cd9f5a28b14845f767aaf1e103be826d3cd0fefc528a02df2079123094436e94f2cd |
25 |
+DIST neon-chrome.png 6332 BLAKE2B 59a20952804aeb1db047deccb84cf41e532cf88e7b03e7f66df1b55b185553c5de94bad776b61b4b33856c53bec86b704cdc990a15e82dc4e66c9fb74c0e010d SHA512 fd32acda1033e12da15197f3873250e6d0b5b719b37ffc4dc48a6a233debbcd3a867028ae53d38b43043eba9ec19fba7a8286c895335aca2ee731b432dba97be |
26 |
|
27 |
diff --git a/games-roguelike/neon-chrome/metadata.xml b/games-roguelike/neon-chrome/metadata.xml |
28 |
new file mode 100644 |
29 |
index 00000000000..26079e608be |
30 |
--- /dev/null |
31 |
+++ b/games-roguelike/neon-chrome/metadata.xml |
32 |
@@ -0,0 +1,8 @@ |
33 |
+<?xml version="1.0" encoding="UTF-8"?> |
34 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
35 |
+<pkgmetadata> |
36 |
+ <maintainer type="project"> |
37 |
+ <email>games@g.o</email> |
38 |
+ <name>Gentoo Games Project</name> |
39 |
+ </maintainer> |
40 |
+</pkgmetadata> |
41 |
|
42 |
diff --git a/games-roguelike/neon-chrome/neon-chrome-1.1.12.ebuild b/games-roguelike/neon-chrome/neon-chrome-1.1.12.ebuild |
43 |
new file mode 100644 |
44 |
index 00000000000..854a639c00a |
45 |
--- /dev/null |
46 |
+++ b/games-roguelike/neon-chrome/neon-chrome-1.1.12.ebuild |
47 |
@@ -0,0 +1,49 @@ |
48 |
+# Copyright 1999-2019 Gentoo Authors |
49 |
+# Distributed under the terms of the GNU General Public License v2 |
50 |
+ |
51 |
+EAPI=7 |
52 |
+ |
53 |
+inherit eutils desktop xdg-utils |
54 |
+ |
55 |
+MY_PN="NeonChrome" |
56 |
+DESCRIPTION="A ruthless top-down cyberpunk shooter with rogue-like elements" |
57 |
+HOMEPAGE="https://neonchromegame.com/" |
58 |
+SRC_URI="${MY_PN}-Linux-${PV}.tar |
59 |
+ https://dev.gentoo.org/~chewi/distfiles/${PN}.png" |
60 |
+LICENSE="all-rights-reserved" |
61 |
+SLOT="0" |
62 |
+KEYWORDS="-* ~amd64" |
63 |
+RESTRICT="bindist mirror splitdebug" |
64 |
+ |
65 |
+RDEPEND=" |
66 |
+ media-libs/libsdl2[opengl,video] |
67 |
+ media-libs/openal |
68 |
+" |
69 |
+ |
70 |
+S="${WORKDIR}" |
71 |
+ |
72 |
+DIR="/opt/${PN}" |
73 |
+QA_PREBUILT="${DIR}/*" |
74 |
+ |
75 |
+pkg_nofetch() { |
76 |
+ einfo "Please buy and download ${SRC_URI} from:" |
77 |
+ einfo " https://www.humblebundle.com/store/${PN}" |
78 |
+ einfo "and move it to your distfiles directory." |
79 |
+} |
80 |
+ |
81 |
+src_install() { |
82 |
+ exeinto "${DIR}" |
83 |
+ doexe ${MY_PN} |
84 |
+ make_wrapper ${PN} ./${MY_PN} "${DIR}" |
85 |
+ |
86 |
+ insinto "${DIR}" |
87 |
+ doins *.pak *.xml |
88 |
+ |
89 |
+ dodoc README.txt |
90 |
+ |
91 |
+ doicon -s 64 "${DISTDIR}"/${PN}.png |
92 |
+ make_desktop_entry ${PN} "Neon Chrome" |
93 |
+} |
94 |
+ |
95 |
+pkg_postinst() { xdg_icon_cache_update; } |
96 |
+pkg_postrm() { xdg_icon_cache_update; } |