diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-11-18 20:04:02 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-11-18 20:04:02 +0000 |
commit | 4c3a22b0253a504c78280f0519c8318181d5dc1e (patch) | |
tree | 20e94a4685927d03f9ef008331b5d8be1ccabb5b /games-puzzle/sdl-jewels | |
parent | Bump, lots of improvements and features added thanks to wltjr (diff) | |
download | historical-4c3a22b0253a504c78280f0519c8318181d5dc1e.tar.gz historical-4c3a22b0253a504c78280f0519c8318181d5dc1e.tar.bz2 historical-4c3a22b0253a504c78280f0519c8318181d5dc1e.zip |
Initial commit - ebuild submitted by Gavin Pryke via bug #345971
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'games-puzzle/sdl-jewels')
-rw-r--r-- | games-puzzle/sdl-jewels/ChangeLog | 11 | ||||
-rw-r--r-- | games-puzzle/sdl-jewels/Manifest | 5 | ||||
-rw-r--r-- | games-puzzle/sdl-jewels/files/sdl-jewels-1.1.1-Makefile.patch | 17 | ||||
-rw-r--r-- | games-puzzle/sdl-jewels/metadata.xml | 5 | ||||
-rw-r--r-- | games-puzzle/sdl-jewels/sdl-jewels-1.1.1.ebuild | 41 |
5 files changed, 79 insertions, 0 deletions
diff --git a/games-puzzle/sdl-jewels/ChangeLog b/games-puzzle/sdl-jewels/ChangeLog new file mode 100644 index 000000000000..aa530ffcadcf --- /dev/null +++ b/games-puzzle/sdl-jewels/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for games-puzzle/sdl-jewels +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/sdl-jewels/ChangeLog,v 1.1 2010/11/18 20:04:02 mr_bones_ Exp $ + +*sdl-jewels-1.1.1 (18 Nov 2010) + + 18 Nov 2010; Michael Sterrett <mr_bones_@gentoo.org> + +sdl-jewels-1.1.1.ebuild, +files/sdl-jewels-1.1.1-Makefile.patch, + +metadata.xml: + Initial commit - ebuild submitted by Gavin Pryke via bug #345971 + diff --git a/games-puzzle/sdl-jewels/Manifest b/games-puzzle/sdl-jewels/Manifest new file mode 100644 index 000000000000..8870c4c8f435 --- /dev/null +++ b/games-puzzle/sdl-jewels/Manifest @@ -0,0 +1,5 @@ +AUX sdl-jewels-1.1.1-Makefile.patch 488 RMD160 628fb6d18083bbd61026067ad1f0d62be42094d3 SHA1 7674a30b3c080badba492606975225ec88cbdba6 SHA256 8a5f03da4997d663b488818896b500f8351ddb285d038c198feb6851c83b44d8 +DIST SDL_jewels-1.1.1.tgz 195366 RMD160 ec3607b188388409963fcccc5c0511d18e6f9079 SHA1 fbf7cc13b3a727a8c9815976fac598ba8e31c3a9 SHA256 c9a40b7e18fabb03e4065e656bc2c30f595103bf20dc74a10847c3f3aa138ee7 +EBUILD sdl-jewels-1.1.1.ebuild 1100 RMD160 dc3c9c32bda31f105c466310cd2e7bb6ab2f61c4 SHA1 653790f72473f48b2212a088052a9b24c239c105 SHA256 e99eaf07e86bfb39a3ab576f2720d2860956c0c864550b2870203e436c35dcf8 +MISC ChangeLog 463 RMD160 12f3ff9793851ba60ebc06b273c7d86e4df42f7f SHA1 94cde5d8919a9710b352fbe06f4486bd0a7c08fd SHA256 54a1a81b54d9ea0f7845847cfa50df70798ddee826eb1fe1f332c037d3ec4c77 +MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 diff --git a/games-puzzle/sdl-jewels/files/sdl-jewels-1.1.1-Makefile.patch b/games-puzzle/sdl-jewels/files/sdl-jewels-1.1.1-Makefile.patch new file mode 100644 index 000000000000..ba27fd5447bf --- /dev/null +++ b/games-puzzle/sdl-jewels/files/sdl-jewels-1.1.1-Makefile.patch @@ -0,0 +1,17 @@ +--- SDL_jewels-1.1.1/Makefile.old 2010-11-13 00:46:47.196000082 +0000 ++++ SDL_jewels-1.1.1/Makefile 2010-11-13 01:45:14.516000087 +0000 +@@ -1,11 +1,12 @@ + EXE = gljewel + +-CFLAGS = -O2 -Wall $(shell sdl-config --cflags) +-LDFLAGS = $(shell sdl-config --libs) -lGL -lm ++CFLAGS += -Wall $(shell sdl-config --cflags) ++LIBS = $(shell sdl-config --libs) -lGL -lm + + OBJS = $(EXE).o matrix.o sound.o + + $(EXE): $(OBJS) ++ $(CC) $(LDFLAGS) $^ $(LIBS) -o $@ + + $(EXE).o: $(EXE).c matrix.h misc.h + diff --git a/games-puzzle/sdl-jewels/metadata.xml b/games-puzzle/sdl-jewels/metadata.xml new file mode 100644 index 000000000000..d3c2cc926f0b --- /dev/null +++ b/games-puzzle/sdl-jewels/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> diff --git a/games-puzzle/sdl-jewels/sdl-jewels-1.1.1.ebuild b/games-puzzle/sdl-jewels/sdl-jewels-1.1.1.ebuild new file mode 100644 index 000000000000..ebc76c18e73f --- /dev/null +++ b/games-puzzle/sdl-jewels/sdl-jewels-1.1.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/sdl-jewels/sdl-jewels-1.1.1.ebuild,v 1.1 2010/11/18 20:04:02 mr_bones_ Exp $ + +EAPI=2 +inherit eutils games + +DESCRIPTION="Swap and match 3 or more jewels in a line in order to score points" +HOMEPAGE="http://www.linuxmotors.com/gljewel/" +SRC_URI="http://www.linuxmotors.com/gljewel/downloads/SDL_jewels-${PV}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="media-libs/libsdl[opengl,video] + virtual/opengl" + +S=${WORKDIR}/SDL_jewels-${PV} + +src_prepare() { + epatch "${FILESDIR}/${P}-Makefile.patch" + + # fix the data dir locations as it looks to be intended to run from src dir + sed -i -e "s|\"data\"|\"${GAMES_DATADIR}/${PN}\"|" sound.c || die + sed -i -e "s|data/bigfont.ppm|${GAMES_DATADIR}/${PN}/bigfont.ppm|" gljewel.c || die + ecvs_clean +} + +src_install() { + dogamesbin gljewel || die + + insinto "${GAMES_DATADIR}/${PN}" + doins -r data/* || die + + dodoc ChangeLog README + + make_desktop_entry gljewel SDL_jewels + prepgamesdirs +} |