summaryrefslogtreecommitdiff
path: root/games-action/snipes
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-action/snipes
reinit the tree, so we can have metadata
Diffstat (limited to 'games-action/snipes')
-rw-r--r--games-action/snipes/Manifest7
-rw-r--r--games-action/snipes/files/snipes-1.0.4-nongnulinker.patch20
-rw-r--r--games-action/snipes/metadata.xml8
-rw-r--r--games-action/snipes/snipes-1.0.4-r1.ebuild34
-rw-r--r--games-action/snipes/snipes-1.0.4.ebuild35
5 files changed, 104 insertions, 0 deletions
diff --git a/games-action/snipes/Manifest b/games-action/snipes/Manifest
new file mode 100644
index 000000000000..4bedfd29e576
--- /dev/null
+++ b/games-action/snipes/Manifest
@@ -0,0 +1,7 @@
+AUX snipes-1.0.4-nongnulinker.patch 711 SHA256 4095a2752356f8f318786855b4249856cdf366a999d019a951f2cc291b6e418c SHA512 20ecb0e76e79b91fae7d9a8f3448cc88161ebbb8ee10e82c3f3eabf120c53c14392e0df4eb61530ae89f2ebbcf84db69affa9239e376c6a3d93b4f2f5dca1259 WHIRLPOOL e9d8add5db3ff3581d86686508d82029334cf4826bf32dfb23834497afe0f7762771fca34742a213cd3cf90c778afad11160d549f4ba13d47a78f8188e24a390
+DIST snipes-1.0.4.tar.gz 39150 SHA256 61096e82e2467e3b8ada0560e08d0745022cfe674cdf333e2ee7e140e841a913 SHA512 de2cfdc3062055bfd04766f11894786af2ccd57ee1c8bcfe28d2d6894fe543830061ad7d16fa5e0363a25dcfd4a4c297ec0b81e449392a7b2b7d65da2e2a2f9b WHIRLPOOL 38c801035217a68ee43a209011fd17f66a4acace1e3f6896984aa9e9242366c897a344d35c4775a20b6439f16b098569156718f720c11b2c1f30bf616615abc5
+EBUILD snipes-1.0.4-r1.ebuild 643 SHA256 64f99b5c8392b55f0edbada702f1c050f7176d63a23ade2b18c78dffa8a118af SHA512 dc9b4c48a03190d611ea15d32b2a4177748f522808c776c7211a1cf891a043588b9f1f16bd30b5a3af713a9f5e309f738e92a831de78274ed099164819fae7b3 WHIRLPOOL e640ba5e2fa25ed8dea092924c84d749e0017b031566f4a60e9970920f011d38321787ff88daf0de68b803a820c2b6432c423b1ace8b93c40cfc3335a8f54605
+EBUILD snipes-1.0.4.ebuild 680 SHA256 40f7fa0e5a14e790cb82011c69b27612c47a33e02d4aa4bc76a49d2637affdbf SHA512 e7e31bf9eceee71008edd1a3f43cb164e476241463d7f2e497423f3571543ba413b895f532616977d9baa8ac0fdc8c34daff02b53fc3e42eb61aed4356fdc2fd WHIRLPOOL e314d6ed315a019e6a805942aff91a33509cda5e9a31b973f919134bafd671075ab636406a6d228262dc3563c3291193cb57d203de6e98153433fa0d85d2f665
+MISC ChangeLog 2694 SHA256 cfb4d65adba6edfd9ec7993e143d698f66ef62e5a4b37780ac0fbe6c2fe9a72c SHA512 94a06a2c7abb80224f26dbc439c98a1abad40d19d3e586d6008ec1f4e829cf571761c3f2b7d00e392e0acbf09a975aa36b286e29c7d798de98a395099b98f00c WHIRLPOOL 6877ee42f63f980ff72fb243f12ddfcfac09c9b1c88cffb853861668b7b17e6cf343deafaab12d183ce710e4d808c2e7248f1f34031d58e99dec78094807ccb0
+MISC ChangeLog-2015 1434 SHA256 1dc01580d31349b36808cfc8386f15082318a1ef2be4df474dd15233225b2306 SHA512 e7d51f355668860c18cb9587b8f84b4c330532a4a350fe401df01f26cab8b8f03d6167f9563826496206b9964e05157ec00edbf752dec7333d1d2e24ca792e83 WHIRLPOOL 380cc18b8d7d361b20915e89545c09534358a00b3a8289187d57bc97dcdc3d46d2d0d56f5b69e19e82c08593a7d1838424cf207937c6bdc74947801cbcb87284
+MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088
diff --git a/games-action/snipes/files/snipes-1.0.4-nongnulinker.patch b/games-action/snipes/files/snipes-1.0.4-nongnulinker.patch
new file mode 100644
index 000000000000..8bdaeef3e356
--- /dev/null
+++ b/games-action/snipes/files/snipes-1.0.4-nongnulinker.patch
@@ -0,0 +1,20 @@
+--- a/Makefile 2011-12-18 17:24:28.795315064 +0100
++++ b/Makefile 2011-12-18 17:24:59.005311478 +0100
+@@ -33,7 +33,7 @@
+ IMGOBJ = $(OIMGS:%.pbm=$(INTERMEDIATE)/%.o)
+
+ CFLAGS += `sdl-config --cflags` -I$(INTERMEDIATE)
+-LDLIBS += `sdl-config --libs`
++LDLIBS += `sdl-config --libs` -lm
+ LDFLAGS += -Wl,-z,noexecstack
+
+
+@@ -52,7 +52,7 @@
+
+ # Why does this result in an executable stack? Can I run my bitmaps? Do bitmaps behave like Conway's game of life, when run?
+ $(INTERMEDIATE)/%.o: $(IMG)/%.pbm
+- $(LD) -r -b binary -z noexecstack -z really_noexecstack -z pretty_please_noexecstack -o $@ $<
++ $(LD) -r -b binary -z noexecstack -o $@ $<
+
+ snipes.6: snipes.6.in
+ sed s/'`VERSION`'/`cat VERSION`/ < $< > $@
diff --git a/games-action/snipes/metadata.xml b/games-action/snipes/metadata.xml
new file mode 100644
index 000000000000..78274e0fa550
--- /dev/null
+++ b/games-action/snipes/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>
diff --git a/games-action/snipes/snipes-1.0.4-r1.ebuild b/games-action/snipes/snipes-1.0.4-r1.ebuild
new file mode 100644
index 000000000000..9d8e9a36c48b
--- /dev/null
+++ b/games-action/snipes/snipes-1.0.4-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs eutils
+
+DESCRIPTION="2D scrolling shooter, resembles the old DOS game of same name"
+HOMEPAGE="https://cyp.github.com/snipes/"
+SRC_URI="https://cyp.github.com/snipes/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl[sound,video]"
+RDEPEND=${DEPEND}
+
+PATCHES=(
+ "${FILESDIR}"/${P}-nongnulinker.patch
+)
+
+src_compile() {
+ tc-getLD
+ default
+}
+
+src_install() {
+ dobin snipes
+ doman snipes.6
+ dodoc ChangeLog
+ doicon ${PN}.png
+ make_desktop_entry snipes "Snipes"
+}
diff --git a/games-action/snipes/snipes-1.0.4.ebuild b/games-action/snipes/snipes-1.0.4.ebuild
new file mode 100644
index 000000000000..e7acfa91955d
--- /dev/null
+++ b/games-action/snipes/snipes-1.0.4.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit toolchain-funcs eutils games
+
+DESCRIPTION="2D scrolling shooter, resembles the old DOS game of same name"
+HOMEPAGE="https://cyp.github.com/snipes/"
+SRC_URI="https://cyp.github.com/snipes/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl[sound,video]"
+RDEPEND=${DEPEND}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-nongnulinker.patch
+}
+
+src_compile() {
+ tc-getLD
+ default
+}
+
+src_install() {
+ dogamesbin snipes
+ doman snipes.6
+ dodoc ChangeLog
+ doicon ${PN}.png
+ make_desktop_entry snipes "Snipes"
+ prepgamesdirs
+}