summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-20 05:27:19 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-20 05:27:19 +0000
commite5cc6eb7a2b31676be6b7782dc4c3a1b49698ac4 (patch)
treea26cf5937f93d4a742c2ff1674fc61e619e1cc5f /games-puzzle/flobopuyo
parentRun enewuser in pkg_setup rather than src_install. See bug #124680 for more i... (diff)
downloadhistorical-e5cc6eb7a2b31676be6b7782dc4c3a1b49698ac4.tar.gz
historical-e5cc6eb7a2b31676be6b7782dc4c3a1b49698ac4.tar.bz2
historical-e5cc6eb7a2b31676be6b7782dc4c3a1b49698ac4.zip
Add icon and .desktop file, plus check for useflags needed on sdl-image. Bug #128909.
Package-Manager: portage-2.1_pre7-r5
Diffstat (limited to 'games-puzzle/flobopuyo')
-rw-r--r--games-puzzle/flobopuyo/ChangeLog9
-rw-r--r--games-puzzle/flobopuyo/Manifest18
-rw-r--r--games-puzzle/flobopuyo/files/digest-flobopuyo-0.20-r16
-rw-r--r--games-puzzle/flobopuyo/flobopuyo-0.20-r1.ebuild69
4 files changed, 95 insertions, 7 deletions
diff --git a/games-puzzle/flobopuyo/ChangeLog b/games-puzzle/flobopuyo/ChangeLog
index 1ba3816ca7c7..fe5ba0a26fdd 100644
--- a/games-puzzle/flobopuyo/ChangeLog
+++ b/games-puzzle/flobopuyo/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for games-puzzle/flobopuyo
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/flobopuyo/ChangeLog,v 1.9 2006/04/11 19:45:52 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/flobopuyo/ChangeLog,v 1.10 2006/04/20 05:27:18 flameeyes Exp $
+
+*flobopuyo-0.20-r1 (20 Apr 2006)
+
+ 20 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +flobopuyo-0.20-r1.ebuild:
+ Add icon and .desktop file, plus check for useflags needed on sdl-image. Bug
+ #128909.
11 Apr 2006; Diego Pettenò <flameeyes@gentoo.org> flobopuyo-0.20.ebuild:
Add ~x86-fbsd keyword.
diff --git a/games-puzzle/flobopuyo/Manifest b/games-puzzle/flobopuyo/Manifest
index ac4df0ed584f..2fb4241a4b2c 100644
--- a/games-puzzle/flobopuyo/Manifest
+++ b/games-puzzle/flobopuyo/Manifest
@@ -1,12 +1,15 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 17c8d66bd4351ece4c69f215b9d38ce7 ChangeLog 1555
-RMD160 1d5635bd6db479dccd6cbb61b00c4421abb4418d ChangeLog 1555
-SHA256 f9d55fcfae96be876c114ddaf73a2da4e9ef5984e1fc54c2e5fcaab8d8b5b5dc ChangeLog 1555
+MD5 4658423311b66ee303a74bfd60539538 ChangeLog 1763
+RMD160 37daf21315ffdf8979abc65db50743411b962543 ChangeLog 1763
+SHA256 da8da626f7349f5114111829f19c745746a8c20c7a921aa79dae589614ab3042 ChangeLog 1763
MD5 be0bda1e61a418231b438f1d8ac57d2a files/digest-flobopuyo-0.20 64
RMD160 ba05e9366060b4c27a6f62fc6024ff52f3a56884 files/digest-flobopuyo-0.20 64
SHA256 b58145d77d76ae811f45bda793698f438f082987d221a4505d744b33378be685 files/digest-flobopuyo-0.20 64
+MD5 91f325952f7e7029579410be9f4dbc02 files/digest-flobopuyo-0.20-r1 455
+RMD160 f1661cfa22ad65b10d71ad9ecaa4968b6a4c6048 files/digest-flobopuyo-0.20-r1 455
+SHA256 2f322016122fecd4e7b046bf1b5f8437cff7eeb692a820b2c8e76e218f1cba9f files/digest-flobopuyo-0.20-r1 455
MD5 bb8afd6e04bde08fd33e22c466674878 files/flobopuyo-0.20-gcc4.patch 967
RMD160 dddee5afb874c4d0a2f5c276b516a4c908c408a9 files/flobopuyo-0.20-gcc4.patch 967
SHA256 fa0a34621cd7700109fb317ab394eaf4860646ef776d291318e759173d7e5f80 files/flobopuyo-0.20-gcc4.patch 967
@@ -16,6 +19,9 @@ SHA256 a3cbc69a50dcdbe810353afbba1eaab3dc44341ddccff9f913ff1cb70d079da2 files/fl
MD5 9ebc7b7f7dd4085ca3dd01bb2b43eed4 files/flobopuyo-0.20-libs.patch 1763
RMD160 18223569555d9223f1027ce8ebf09a43f814fa72 files/flobopuyo-0.20-libs.patch 1763
SHA256 6b33ec6f589e62faa5e2340034041576228357c32278522bde50f35417c3cb72 files/flobopuyo-0.20-libs.patch 1763
+MD5 cc3205b61dbe9f22e346bf5a0f42af8f flobopuyo-0.20-r1.ebuild 1897
+RMD160 f73cb4406b277355fea8432f08d222e279f84dbb flobopuyo-0.20-r1.ebuild 1897
+SHA256 17012ad0055a6446c2b2935c3d41b2c82a02baba3f77a67d8578191e8c4c74c6 flobopuyo-0.20-r1.ebuild 1897
MD5 c905374ee1ce42d1559aa2ca2febba61 flobopuyo-0.20.ebuild 1359
RMD160 94baca3c93861c371b6f48b3cff612a67869f406 flobopuyo-0.20.ebuild 1359
SHA256 65bf24a959ca613437a83e146147a6c01adec95b1afd1b0e8457a79e70bbbbcf flobopuyo-0.20.ebuild 1359
@@ -25,7 +31,7 @@ SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
-iD8DBQFEPAd/AiZjviIA2XgRAovZAKCqxji73EdrVxgthMhOgDHy/xpFWwCgmUox
-RTdyJcBbuvAq6TZOud0HnDc=
-=vp+S
+iD8DBQFERxsFAiZjviIA2XgRAkZeAJwMPIS4chEtJeaqxUwEN7PJPt9J0QCfYbDO
+Ei9YSKoZrufHFHnJAj1kSdM=
+=HOs3
-----END PGP SIGNATURE-----
diff --git a/games-puzzle/flobopuyo/files/digest-flobopuyo-0.20-r1 b/games-puzzle/flobopuyo/files/digest-flobopuyo-0.20-r1
new file mode 100644
index 000000000000..8bd4b1f1c42b
--- /dev/null
+++ b/games-puzzle/flobopuyo/files/digest-flobopuyo-0.20-r1
@@ -0,0 +1,6 @@
+MD5 db7299f2a4ca7f1cc12664156cce3074 flobopuyo-0.20.tgz 2949750
+RMD160 feda5245b94c49d32c1118dd9d3571bc302bdace flobopuyo-0.20.tgz 2949750
+SHA256 be4c32e7fbeaae44278a920b7482fd8805dc142abd4384ee0c080c11d12fad31 flobopuyo-0.20.tgz 2949750
+MD5 3475233899eba3033a88b81d6219ba95 flobopuyo.png 25038
+RMD160 a691db0a66799e78868427e1b562ed521f19c717 flobopuyo.png 25038
+SHA256 d0ed25d8396e58be484d68e00c4c3828aa26f01566089c8a3b53772dff00f2b3 flobopuyo.png 25038
diff --git a/games-puzzle/flobopuyo/flobopuyo-0.20-r1.ebuild b/games-puzzle/flobopuyo/flobopuyo-0.20-r1.ebuild
new file mode 100644
index 000000000000..66af35f6fbcb
--- /dev/null
+++ b/games-puzzle/flobopuyo/flobopuyo-0.20-r1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/flobopuyo/flobopuyo-0.20-r1.ebuild,v 1.1 2006/04/20 05:27:19 flameeyes Exp $
+
+inherit toolchain-funcs eutils games
+
+DESCRIPTION="Clone of the famous PuyoPuyo game"
+HOMEPAGE="http://www.ios-software.com/?page=projet&quoi=29"
+SRC_URI="http://www.ios-software.com/flobopuyo/${P}.tgz
+ mirror://gentoo/${PN}.png"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE="opengl"
+
+DEPEND="media-libs/libsdl
+ media-libs/sdl-image
+ media-libs/sdl-mixer
+ opengl? ( virtual/opengl )"
+
+pkg_setup() {
+ games_pkg_setup
+
+ if ! built_with_use media-libs/sdl-image jpeg png ; then
+ eerror "You need jpeg and png useflags enabled on media-libs/sdl-image."
+ eerror "Please emerge media-libs/sdl-image with USE=\"jpeg png\""
+ die "Missing jpeg or png useflags."
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch \
+ "${FILESDIR}"/${P}-gcc4.patch \
+ "${FILESDIR}"/${P}-gcc41.patch \
+ "${FILESDIR}"/${P}-libs.patch
+
+ find . -type f -name ".*" -exec rm -f \{\} \;
+ sed -i \
+ -e "/strip/d" \
+ -e "s:^DATADIR=.*:DATADIR=\"${GAMES_DATADIR}/${PN}\":" \
+ -e "/^INSTALL_BINDIR/s:/\$(PREFIX)/games:${GAMES_BINDIR}:" \
+ -e "s:^CFLAGS=:CFLAGS+=:" \
+ -e "/^LDFLAGS=/d" \
+ Makefile \
+ || die "sed failed"
+}
+
+src_compile() {
+ use opengl && want_opengl=true || want_opengl=false
+ emake CC="$(tc-getCXX)" CXX="$(tc-getCXX)" \
+ ENABLE_OPENGL="${want_opengl}" || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc Changelog TODO
+ doman man/flobopuyo.6
+ prepgamesdirs
+
+ insinto /usr/share/icons/hicolor/128x128/apps
+ doins "${DISTDIR}/${PN}.png"
+
+ make_desktop_entry flobopuyo FloboPuyo flobopuyo "Game;ArcadeGame;"
+ echo "TryExec=flobopuyo" >> ${D}/usr/share/applications/${PN}-flobopuyo.desktop
+}