summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-arcade/digger
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-arcade/digger')
-rw-r--r--games-arcade/digger/Manifest1
-rw-r--r--games-arcade/digger/digger-20140423.ebuild31
-rw-r--r--games-arcade/digger/files/digger-20140423-ldflags.patch21
-rw-r--r--games-arcade/digger/metadata.xml5
4 files changed, 58 insertions, 0 deletions
diff --git a/games-arcade/digger/Manifest b/games-arcade/digger/Manifest
new file mode 100644
index 000000000000..a25169b14b59
--- /dev/null
+++ b/games-arcade/digger/Manifest
@@ -0,0 +1 @@
+DIST digger-20140423.tar.gz 117375 SHA256 44a77e1b88409f7427bd2958d1f18648b18a1e9631d0e78fee90957e5ad5cfa0 SHA512 9277c6dc4d7f74aeede379b42aeeef881d8fd927ef0e6f6c0e1a5f76be257244c4353758557209647812b942d215dd992939b190ef11f854b41ee2ceaab7eece WHIRLPOOL 15d08563b32e766f8f18888136c004a263a1951ea56f4d0a666d222cad966d8647f3d4ecebfa2d960fc6b0ae7fdf8538c7bfe432f03baec4352d0a99f676437b
diff --git a/games-arcade/digger/digger-20140423.ebuild b/games-arcade/digger/digger-20140423.ebuild
new file mode 100644
index 000000000000..694857006016
--- /dev/null
+++ b/games-arcade/digger/digger-20140423.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils games
+
+DESCRIPTION="Digger Remastered"
+HOMEPAGE="http://www.digger.org/"
+SRC_URI="https://gitorious.org/digger/digger/archive/8d5769c59d68b37a5b30aa7a9cbfa5a9e15e7ed3.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~ppc64 ~sparc 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..d3c2cc926f0b
--- /dev/null
+++ b/games-arcade/digger/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>