diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-puzzle/xpired |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-puzzle/xpired')
-rw-r--r-- | games-puzzle/xpired/Manifest | 6 | ||||
-rw-r--r-- | games-puzzle/xpired/files/xpired-1.22-ldflags.patch | 26 | ||||
-rw-r--r-- | games-puzzle/xpired/metadata.xml | 11 | ||||
-rw-r--r-- | games-puzzle/xpired/xpired-1.22.ebuild | 42 |
4 files changed, 85 insertions, 0 deletions
diff --git a/games-puzzle/xpired/Manifest b/games-puzzle/xpired/Manifest new file mode 100644 index 000000000000..5b2426645c5d --- /dev/null +++ b/games-puzzle/xpired/Manifest @@ -0,0 +1,6 @@ +AUX xpired-1.22-ldflags.patch 868 SHA256 3c528e9d093c547bf68e77e6d9b9e881deaf4dd6a9c87318ee13c59f60ffc3b7 SHA512 81987d60466c459a98ac03b8f4bdf8da7c6004a716a83051b58ec35657ab3a93672305ff9a8edcf9e056784919c9ea235f81c71176bf6d4b75d5dabc72b1b7f9 WHIRLPOOL 18cfafd2ef2c82601fe02e5aa5fcd1482edf9b64f874982fd71e3b0ec46a65fa49d9841b64f38571c6089bdc83b98df200ed74c8218a3c4ffc74ef6420fc59eb +DIST xpired-1.22-linux_source.tar.gz 478593 SHA256 7a2c0dd8bab0dc2b937684bbb3d213754921bf2d6bd891d9be00bf2db7bbb505 SHA512 08e506e6206be9346bde083a9cdd25a890c0100826a7fb2b515b60180cfd0b885712261db2e7a5d589078c0b74f2b9ad659b39d9378cb3dc92af111ab499ee10 WHIRLPOOL 166f0149290c7bcd3ae24d26152f502b157a84439c79fbcd4a34e425b857dc8965584e60c455de2b387427e3f89c841f5a52c7f1ae20ee02bc9d5c0e17d77e2a +EBUILD xpired-1.22.ebuild 903 SHA256 6b32417350307665c3cbdec4969ffb83bf1e0d9f67f492a7b84b7af216fbd014 SHA512 7aef2e27472755ddfa6db55df90463491ae534083c2e7b33041b420b00da6da8971b6255ec7a94963da9dd7cdec5313b050d3529e5e02e726106df034951c476 WHIRLPOOL c4c3eb6bb71a29abcefc8737b97c5e1fb5c4e812f24fef98b8eadbb1217648977d140ea39b1d22fc9137219a50f01e7e5fb2c8ec24574b27d741e97d56585ab8 +MISC ChangeLog 2601 SHA256 bdae208eefd5c99d9153bdc9dd43a300a2b7091108ec016ecd0f431864b69ea0 SHA512 4e23ad772b12098081fb40cfb993263d87d7e552091986b795c982961c2a6962fef8f4f872ddd8de4893f3a6a50f14032fe1526ef7ac897d77dade40e7e9dca7 WHIRLPOOL 0d8433a442beb2733360935befb50ad89bdf8ec7f0c8d7d6f597d8bde29366b3baa115d7118447ceb1f34540bd3c573f07ca33ae523548dac842eaa00cc5d885 +MISC ChangeLog-2015 1183 SHA256 a500a4815c36ece446aaf434f0699eb6dab4820a02198d73646cc6950cf9aab3 SHA512 c9487c851413b30dcd33731774fcfa80badcee1f63964eef75d7c4be01606da47896f6f5bb9d5845625861468117b55a406c09f87f24a61db3a440042c0ab672 WHIRLPOOL dbc9fe869b821fe22eecd8d9aca268e0ff9d4965748ffda414f746559a81b45a386c56cc236593df28ba49bb5a0dc694cd07e18c52a7135367b8d8cf9c15e5ed +MISC metadata.xml 329 SHA256 86295dabf74c46cea61d7093559673174b610573f965541f23c7ff8d2e007a08 SHA512 457c612953cc30db620e0315c75ecb20619ee537692e0a871d0c60e8cedaa547bc9e50eb922bf995eb68bde526c641e901d3bfc9d88a097263f5bd90c68f257e WHIRLPOOL 343ea7d76a599f99ad0c932dfbdb8a13b89899dd014f840fc1c717b2aebfc0576e838c300def03a60425ce1345119780e2c05fd783fed083f0162a1978907f93 diff --git a/games-puzzle/xpired/files/xpired-1.22-ldflags.patch b/games-puzzle/xpired/files/xpired-1.22-ldflags.patch new file mode 100644 index 000000000000..f3a1e6839cf4 --- /dev/null +++ b/games-puzzle/xpired/files/xpired-1.22-ldflags.patch @@ -0,0 +1,26 @@ +diff -ru src.orig/Makefile src/Makefile +--- src.orig/Makefile 2002-08-01 14:42:51.000000000 -0400 ++++ src/Makefile 2010-10-13 19:31:21.944183145 -0400 +@@ -1,18 +1,17 @@ + PREFIX=/usr/local + SHARE_PREFIX=$(PREFIX)/share/xpired +-CFLAGS=`sdl-config --cflags` -DUNIX -DPREFIX=\"$(PREFIX)\" -DSHARE_PREFIX=\"$(SHARE_PREFIX)\" +-LDFLAGS=`sdl-config --libs` -lSDL -lSDL_mixer -lSDL_image -lSDL_gfx +-CC=gcc ++CFLAGS+=`sdl-config --cflags` -DUNIX -DPREFIX=\"$(PREFIX)\" -DSHARE_PREFIX=\"$(SHARE_PREFIX)\" ++LDLIBS=`sdl-config --libs` -lSDL -lSDL_mixer -lSDL_image -lSDL_gfx + + BINARIES = xpired xpiredit + + all: $(BINARIES) + + xpired: xpired.o +- $(CC) -o xpired xpired.o $(LDFLAGS) ++ $(CC) $(LDFLAGS) -o xpired xpired.o $(LDLIBS) + + xpiredit: xpiredit.o xpired_unix.h +- $(CC) -o xpiredit xpiredit.o $(LDFLAGS) ++ $(CC) $(LDFLAGS) -o xpiredit xpiredit.o $(LDLIBS) + + .PHONY: clean + diff --git a/games-puzzle/xpired/metadata.xml b/games-puzzle/xpired/metadata.xml new file mode 100644 index 000000000000..bcec96319239 --- /dev/null +++ b/games-puzzle/xpired/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="sourceforge">xpired</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/xpired/xpired-1.22.ebuild b/games-puzzle/xpired/xpired-1.22.ebuild new file mode 100644 index 000000000000..2c1622689198 --- /dev/null +++ b/games-puzzle/xpired/xpired-1.22.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="A Sokoban-styled puzzle game with lots more action" +HOMEPAGE="http://xpired.sourceforge.net" +SRC_URI="mirror://sourceforge/xpired/${P}-linux_source.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="media-libs/sdl-gfx + media-libs/sdl-image[jpeg] + media-libs/sdl-mixer[mod]" +RDEPEND=${DEPEND} + +S=${WORKDIR}/src + +src_prepare() { + epatch "${FILESDIR}"/${P}-ldflags.patch +} + +src_compile() { + emake \ + PREFIX=/usr/games \ + SHARE_PREFIX=/usr/share/games/xpired +} + +src_install() { + emake \ + PREFIX="${D}/usr/games" \ + SHARE_PREFIX="${D}/usr/share/games/${PN}" \ + install + newicon img/icon.bmp ${PN}.bmp + make_desktop_entry xpired Xpired /usr/share/pixmaps/${PN}.bmp + make_desktop_entry xpiredit "Xpired Level Editor" + prepgamesdirs +} |