summaryrefslogtreecommitdiff
path: root/games-rpg/kqlives
diff options
context:
space:
mode:
Diffstat (limited to 'games-rpg/kqlives')
-rw-r--r--games-rpg/kqlives/Manifest4
-rw-r--r--games-rpg/kqlives/files/kqlives.xpm48
-rw-r--r--games-rpg/kqlives/kqlives-0.99-r1.ebuild47
-rw-r--r--games-rpg/kqlives/metadata.xml14
4 files changed, 113 insertions, 0 deletions
diff --git a/games-rpg/kqlives/Manifest b/games-rpg/kqlives/Manifest
new file mode 100644
index 000000000000..822922ec5520
--- /dev/null
+++ b/games-rpg/kqlives/Manifest
@@ -0,0 +1,4 @@
+AUX kqlives.xpm 1404 BLAKE2B f2aae7268857f5c5e4e9a724a2b3a97a930741bf051bbd59cb6e36e4dabe09c29cc17d5b010c1c1ffb0cfaf9f2440e2350cca88adbea76d7429be176b74b6caf SHA512 32aeaa6e80c906f894773a12fa3bfdd2c52f15b11fe00bd99020d1577441a13573abb02a1fb0f11bb875fc1c61bfdc56285b805a5fd423d9ecc42ceb32eb8e66
+DIST kq-0.99.tar.gz 3642143 BLAKE2B 7279d3ab2808caab77c08283cc6aaab84fcef3814c3c259528320d6516fa8937a62d033b899aaaca4b562affed113faab5fac443ed3487565796377092df0f90 SHA512 fa343561679baf2201fb7107153ca07b715c1e56c9a4cb17db0f04759dd859436e8daa6a364d62ad57d138dbb5d8c680e35cafecea1a8f7f217ec190bfdd7918
+EBUILD kqlives-0.99-r1.ebuild 866 BLAKE2B 2f57b51fd1bf7a548e7f967a9f1e46092fa9a180387973c70f6743de4bb78258561a63496975602f43318874e08982371f9e1cf4c57039eac0397f68e3291774 SHA512 91d23559953cbc02bb30f50f62a5467b8cf3e90347501fbaf9abc8c73292eb8730fa6dde2d59fd4d627db7b4c300d1287b2d34e41d1008ab0326eecc0af616a0
+MISC metadata.xml 409 BLAKE2B 9429ac5342781ed6109743d9b39da1e2094276c6464b7ad982cdbd5d30d8634400890edbb70abbd8c709b3a8c3def37e09a17d60df37e1ce8caeda41ff3869e7 SHA512 d341ddc4a801b649ae83022f3ea04480f59569b2cf91c106ace77735d1d7902fd10a739f41014c1928aae05f66643826390bdfc7917fbfa7106b3656a286edbc
diff --git a/games-rpg/kqlives/files/kqlives.xpm b/games-rpg/kqlives/files/kqlives.xpm
new file mode 100644
index 000000000000..58baadb615ed
--- /dev/null
+++ b/games-rpg/kqlives/files/kqlives.xpm
@@ -0,0 +1,48 @@
+/* XPM */
+static char *kq__[] = {
+/* columns rows colors chars-per-pixel */
+"32 32 10 1",
+" c #000000",
+". c #800000",
+"X c #808000",
+"o c #000080",
+"O c #0000FF",
+"+ c #008080",
+"@ c #00FFFF",
+"# c #808080",
+"$ c #C0C0C0",
+"% c None",
+/* pixels */
+"%%$$%%%%%%%%%%%%%%%%%%%%%%%%%%%%",
+"%%$$$%%%%%%%%%%%%%%%%%%%%%%%%$#%",
+"%%%#$$$%%%%%%%%%%%%%%%%%%%%$$#$%",
+"%%%%$$$#$%%%%%%%%%%%%%%%%$$$$%%%",
+"%%%%%#$$$#$%%%%%%%%%%%%$$$$#$%%%",
+"%%%%%%$$$$#$$%%%%%%%%%$$$$$%%%%%",
+"%%%%%%%##$$##$$$$$$%$##$$#$%%%%%",
+"%%%%%%%%$####$$$$$$######%%%%%%%",
+"%%%%%%%%%##$%$$####$$###$%%%%%%%",
+"%%%%%%%%%%$%$oOOOOO##$#%%%%%%%%%",
+"%%%%%%%%%#$##OO+++OOo$#%%%%%%%%%",
+"%%%%%%%%%%%oo++++++OO$$%%%%%%%%%",
+"%%%%%%%%%$$OO++@@++OO$$%%%%%%%%%",
+"%%%%%%%%%$$OO++@@++OO%$%%%%%%%%%",
+"%%%%%%%%%#$ooO+++++Oo%%%%%%%%%%%",
+"%%%%%%%%%##$#OOOOOOo#%$%%%%%%%%%",
+"%%%%%%%%%##$$##ooo#%%#$%%%%%%%%%",
+"%%%%%%%$$####$$$$$%%$$$$$%%%%%%%",
+"%%%%%%%##$%%%###$$$#$$###%%%%%%%",
+"%%%%%$#$$%%%%##$#$$#$%%$##$%%%%%",
+"%%%%%$$%%%%%%###$###$%%%%##%%%%%",
+"%%%%%%%%%%%%%##$$$##$%%%%%%%%%%%",
+"%%%%%%%%%%%%%##$$$$ #%%%%%%%%%%%",
+"%%%%%%%%%%%%%##$$$$ #%%%%%%%%%%%",
+"%%%%%%%%%%%%%##$$$# #%%%%%%%%%%%",
+"%%%%%%%%%%%%%$#XXXX$%%%%%%%%%%%%",
+"%%%%%%%%%%%%%%$XXXX%%%%%%%%%%%%%",
+"%%%%%%%%%%%%%%$XXXX%%%%%%%%%%%%%",
+"%%%%%%%%%%%%%%$.XXX%%%%%%%%%%%%%",
+"%%%%%%%%%%%%%%$.XXX%%%%%%%%%%%%%",
+"%%%%%%%%%%%%%%$XXXX%%%%%%%%%%%%%",
+"%%%%%%%%%%%%%%$XXXX%%%%%%%%%%%%%"
+};
diff --git a/games-rpg/kqlives/kqlives-0.99-r1.ebuild b/games-rpg/kqlives/kqlives-0.99-r1.ebuild
new file mode 100644
index 000000000000..f743549a0f44
--- /dev/null
+++ b/games-rpg/kqlives/kqlives-0.99-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils
+
+MY_P=${P/lives}
+
+DESCRIPTION="A console-style role playing game"
+HOMEPAGE="http://kqlives.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cheats nls"
+
+RDEPEND="
+ dev-lang/lua:0
+ >=gnome-base/libglade-2.4
+ media-libs/aldumb
+ media-libs/allegro:0
+ >=x11-libs/gtk+-2.8:2
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/${MY_P}
+
+src_configure() {
+ econf \
+ $(use_enable cheats) \
+ $(use_enable nls)
+}
+
+src_install() {
+ default
+
+ local x
+ for x in diff draw draw2 dump; do
+ mv -vf "${D}/etc"/map${x} "${D}/etc"/kq-map${x}
+ done
+
+ doicon "${FILESDIR}"/${PN}.xpm
+ make_desktop_entry kq KqLives ${PN}
+}
diff --git a/games-rpg/kqlives/metadata.xml b/games-rpg/kqlives/metadata.xml
new file mode 100644
index 000000000000..6cc3c22df52e
--- /dev/null
+++ b/games-rpg/kqlives/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <use>
+ <flag name="cheats">Enable cheating mode</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">kqlives</remote-id>
+ </upstream>
+</pkgmetadata>