summaryrefslogtreecommitdiff
path: root/games-emulation/kigb
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-emulation/kigb
reinit the tree, so we can have metadata
Diffstat (limited to 'games-emulation/kigb')
-rw-r--r--games-emulation/kigb/Manifest6
-rw-r--r--games-emulation/kigb/files/kigb15
-rw-r--r--games-emulation/kigb/kigb-2.02.ebuild40
-rw-r--r--games-emulation/kigb/metadata.xml8
4 files changed, 69 insertions, 0 deletions
diff --git a/games-emulation/kigb/Manifest b/games-emulation/kigb/Manifest
new file mode 100644
index 000000000000..298b5ef649fb
--- /dev/null
+++ b/games-emulation/kigb/Manifest
@@ -0,0 +1,6 @@
+AUX kigb 328 SHA256 f60453db500f4d4faf58bbfbf00cac0a2a3dcaff5d78278392d59a7b4e11edae SHA512 4316e4b6ece9ce9d1f8e36a1d69d4a3c33ee635c4758ce8e4a6b85b3a13a1cae703340e2479e6615b655312db33c21d8d7ee84233049e63716e83efed1cc3128 WHIRLPOOL 4f8b2e8025dd47e88a7e9ed60877dc07ef9429911d14099c0d2738af5a0f1aa2829c10814e88ae7c19baafffa2af510df5b2d6f41aa66a47a816781a613b7cd6
+DIST kigb_lin.tar.gz 477324 SHA256 71adb8018ba80b80b7aa454161d47ec447e74c4797ba752b130d46e79ffcf3b3 SHA512 ca8b10cc05884c92157dde2b034c7e95f28ed7eed771d0383265f942f0cacea791284516b551e96ba07a035068a7039c8faa19ec417ee117b6a350692bbff01d WHIRLPOOL 1772c689e28bd7a6095737b7327867624fe381a452fbf8ec984e8becdb06da37aa914cecf45c2ee3059db8a9563f445c33f8b3f30854304fed6e20c3c42a9f01
+EBUILD kigb-2.02.ebuild 862 SHA256 d6457ef42b9ebe52f7b6c67dab81d413dfedf5712cb3088794ab07ae3000c9dc SHA512 9165baaa5347f20fff793f6f4ca2f82dbca3db3053ebe087e3b967a7b6a29a3101e349f81c3423a3250d1757764c1f1b840d2d9192efc26dbf0e84121d29a9f0 WHIRLPOOL a54d7e004e1ab2acecd40a457d5294565c6e664123d905742b50d640a771fc561f0c5a23464d99917c237e6433af6ccd835df587d70ffc3f962d844b546ea901
+MISC ChangeLog 2436 SHA256 c1930f5180d913f707bed442dbe7e9735f0c1a6e69c06acb5f21f7332d121cb7 SHA512 b60690857fb3337f1e53452ba04b2358c6f0752fd02b19abae9bc41289d787df2900703200029ae11eb8dbaeefaf0da3cc58551e831eb7ba8b4b961c26fb17d1 WHIRLPOOL 35fd8bcba4963c958f76dd94065e7f87ab060fc17d4eeb2ecaeacf4df59ad03b56b1c490896ca694fb634b8b11bdcdef5a57c9147e3c7b9158aecd417c1a5ac1
+MISC ChangeLog-2015 2053 SHA256 13d5cb84b8f5db41d070389ec966234e09842e7861793df09a6521098291b6bc SHA512 2aa1e83091aeb0564e2a3c87e30e5a872554af46be7f5e7d711fd17a652f1e1a4e71b8807aafa6060699cfe3b60451fcf75ba8d1af27c12b0ef3f255d18c1c2e WHIRLPOOL 4b2e37032c5ae73b1124e781c1cd309a0e73262a32a25406f3635f541cad2c6ec6faf287c6725bf494b1fcfffe69a81aca3d089faa5f4fc3aa05affccf85518b
+MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088
diff --git a/games-emulation/kigb/files/kigb b/games-emulation/kigb/files/kigb
new file mode 100644
index 000000000000..c07095bb53ee
--- /dev/null
+++ b/games-emulation/kigb/files/kigb
@@ -0,0 +1,15 @@
+#!/bin/bash
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+kigb_dir="${HOME}/.kigb"
+
+if [[ ! -d "${kigb_dir}" ]] ; then
+ mkdir -p "${kigb_dir}"
+ cd "${kigb_dir}"
+ mkdir cfg inp rom save snap state
+ ln -s GENTOODIR/kigb/kigb kigb
+fi
+
+cd "${kigb_dir}"
+exec ./kigb "$@"
diff --git a/games-emulation/kigb/kigb-2.02.ebuild b/games-emulation/kigb/kigb-2.02.ebuild
new file mode 100644
index 000000000000..565a69cb2abf
--- /dev/null
+++ b/games-emulation/kigb/kigb-2.02.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit games
+
+DESCRIPTION="A Gameboy (GB, SGB, GBA) Emulator for Linux"
+HOMEPAGE="http://kigb.emuunlim.com/"
+SRC_URI="http://kigb.emuunlim.com/${PN}_lin.tar.gz"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="-* x86"
+IUSE=""
+RESTRICT="mirror bindist strip"
+
+RDEPEND="x11-libs/libXext
+ sys-libs/zlib
+ dev-games/hawknl
+ =virtual/libstdc++-3*"
+
+S=${WORKDIR}
+
+src_prepare() {
+ # use the system version
+ rm -f libNL.so*
+ # wrapper script creates these in the users' home directories.
+ rm -rf cfg inp snap state rom save
+ cp "${FILESDIR}/kigb" "${T}/" || die
+ sed -i \
+ -e "s:GENTOODIR:${GAMES_PREFIX_OPT}:" "${T}/kigb" || die
+}
+
+src_install() {
+ dogamesbin "${T}/kigb"
+ exeinto "${GAMES_PREFIX_OPT}/${PN}"
+ doexe kigb
+ dodoc doc/*
+ prepgamesdirs
+}
diff --git a/games-emulation/kigb/metadata.xml b/games-emulation/kigb/metadata.xml
new file mode 100644
index 000000000000..78274e0fa550
--- /dev/null
+++ b/games-emulation/kigb/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>