summaryrefslogtreecommitdiff
path: root/games-arcade/digger
diff options
context:
space:
mode:
Diffstat (limited to 'games-arcade/digger')
-rw-r--r--games-arcade/digger/Manifest6
-rw-r--r--games-arcade/digger/digger-20140423.ebuild30
-rw-r--r--games-arcade/digger/files/digger-20140423-ldflags.patch21
-rw-r--r--games-arcade/digger/metadata.xml8
4 files changed, 65 insertions, 0 deletions
diff --git a/games-arcade/digger/Manifest b/games-arcade/digger/Manifest
new file mode 100644
index 000000000000..20ecc3b6d244
--- /dev/null
+++ b/games-arcade/digger/Manifest
@@ -0,0 +1,6 @@
+AUX digger-20140423-ldflags.patch 659 SHA256 9305c6766e1371732c029df8bb019903392ecd86cd316a8d456ca33f4ef4eebb SHA512 69ebbe64576df62927389087f22f4871582bde0507be7cd80f1ea96abb14819c844d7adbbfd13c89e2e6921d1accd289e5cc2246a25a962639dc5bdf40b23fd1 WHIRLPOOL 203ad8011a11b5106a55f25bf86770278dcf8115a3bebe1b4a4c91b097cc249d635e371cb27e83baf62a1a771b0ba030966169823aa03d2e2d460892fca97863
+DIST digger-20140423.tar.gz 117375 SHA256 44a77e1b88409f7427bd2958d1f18648b18a1e9631d0e78fee90957e5ad5cfa0 SHA512 9277c6dc4d7f74aeede379b42aeeef881d8fd927ef0e6f6c0e1a5f76be257244c4353758557209647812b942d215dd992939b190ef11f854b41ee2ceaab7eece WHIRLPOOL 15d08563b32e766f8f18888136c004a263a1951ea56f4d0a666d222cad966d8647f3d4ecebfa2d960fc6b0ae7fdf8538c7bfe432f03baec4352d0a99f676437b
+EBUILD digger-20140423.ebuild 570 SHA256 b32b149f54906fa34ec9a498be110c126dc8aa310330049337832c1551db9ded SHA512 8a0f0e5359faa69893c4019d9fb65b46a1817c10e56486bf08d4ac691aa1713ae36bc6938b8b2cf0a8f77a7ed0fcda1039c2aaf629a949784740c463b57e25d9 WHIRLPOOL e90c84644ddd2542f41ddacdb73649f8ced27d27f1f7b541ac3657d40afd5a84f3baafa2d9205d7bf433706640223508e5d0553bc3921fba362b60d07aea12bb
+MISC ChangeLog 2649 SHA256 0f06d682e0fa5a3e418448385ed67e1afaa2f4fcbf44943f7e3505229438df61 SHA512 4c10c8e9547c842899490adc4a71564f3c024ab291cdb1921cafc167ac9778174dd128fc24bb7ed99326a53500af11f82dec86e4a764da5b2b7a6d7085758b4d WHIRLPOOL 648f0793ebe9b40fcb9862a10bbe1fa87df06e68bc4c7fcb0f6a7a74253945481f4c2d0f2392f0cbb5747970ca94c96786a6d24300fb2a1b35337e17110c9b6f
+MISC ChangeLog-2015 2352 SHA256 d188dee5a75ad9173838f3393acd6d30e1dd104a55028a4881d96af15eca39c6 SHA512 f987c28267f0a78c53d17b9b495efa2ba702df8a9639ad0826223e219b1c747da715eb0cab63fa12d9ca3019563143145a8be806858546107ab51982dcc30a02 WHIRLPOOL 8c46b5e42a73dd57ec20acff7d8b6317c35ec17aa79df9d31b24156dcb9e85c432f20285683aec6151eae4c5bc3eb9a3fcbe2f67327c722f3e166badda0ddfa0
+MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088
diff --git a/games-arcade/digger/digger-20140423.ebuild b/games-arcade/digger/digger-20140423.ebuild
new file mode 100644
index 000000000000..22c26861b43f
--- /dev/null
+++ b/games-arcade/digger/digger-20140423.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils games
+
+DESCRIPTION="Digger Remastered"
+HOMEPAGE="http://www.digger.org/"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc64 x86 ~x86-fbsd"
+
+DEPEND="media-libs/libsdl[X,video]
+ x11-libs/libX11"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${PN}-${PN}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-ldflags.patch
+}
+
+src_install() {
+ dogamesbin digger
+ dodoc digger.txt
+ make_desktop_entry digger Digger
+ prepgamesdirs
+}
diff --git a/games-arcade/digger/files/digger-20140423-ldflags.patch b/games-arcade/digger/files/digger-20140423-ldflags.patch
new file mode 100644
index 000000000000..fd1e9953b634
--- /dev/null
+++ b/games-arcade/digger/files/digger-20140423-ldflags.patch
@@ -0,0 +1,21 @@
+diff -ru digger-digger.orig/Makefile digger-digger/Makefile
+--- digger-digger.orig/Makefile 2013-10-11 04:56:41.000000000 -0400
++++ digger-digger/Makefile 2014-04-24 13:11:58.749211920 -0400
+@@ -26,7 +26,7 @@
+ ifeq ($(ARCH),"LINUX")
+ OBJS += fbsd_sup.o # strup()
+ RCFLAGS += -DLINUX $(shell sdl-config --cflags)
+-LIBS += $(shell sdl-config --libs) -lz
++LIBS += $(shell sdl-config --libs) -lX11 -lz
+ ESUFFIX =
+ endif
+
+@@ -40,7 +40,7 @@
+ all: digger$(ESUFFIX)
+
+ digger$(ESUFFIX): $(OBJS)
+- $(CC) -o digger$(ESUFFIX) $(OBJS) $(LIBS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o digger$(ESUFFIX) $(OBJS) $(LIBS)
+
+ $(OBJS): %.o: %.c
+ $(CC) -c $(RCFLAGS) $(CFLAGS) $< -o $@
diff --git a/games-arcade/digger/metadata.xml b/games-arcade/digger/metadata.xml
new file mode 100644
index 000000000000..78274e0fa550
--- /dev/null
+++ b/games-arcade/digger/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>