summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2009-06-11 18:03:32 +0000
committerTristan Heaven <tristan@gentoo.org>2009-06-11 18:03:32 +0000
commitb2d5fe2677866a49edb3da7598c413b4e2b42570 (patch)
tree51f13e79f80660c7114eb0d8bf2fa122d25703b6 /games-puzzle/picpuz
parentAdd -ldl to LDFLAGS (diff)
downloadhistorical-b2d5fe2677866a49edb3da7598c413b4e2b42570.tar.gz
historical-b2d5fe2677866a49edb3da7598c413b4e2b42570.tar.bz2
historical-b2d5fe2677866a49edb3da7598c413b4e2b42570.zip
Version bump
Package-Manager: portage-2.2_rc33/cvs/Linux i686
Diffstat (limited to 'games-puzzle/picpuz')
-rw-r--r--games-puzzle/picpuz/ChangeLog8
-rw-r--r--games-puzzle/picpuz/Manifest15
-rw-r--r--games-puzzle/picpuz/files/picpuz-1.9.2-build.patch35
-rw-r--r--games-puzzle/picpuz/picpuz-1.9.2.ebuild40
4 files changed, 96 insertions, 2 deletions
diff --git a/games-puzzle/picpuz/ChangeLog b/games-puzzle/picpuz/ChangeLog
index 17c14560ef75..c735c7d9c37a 100644
--- a/games-puzzle/picpuz/ChangeLog
+++ b/games-puzzle/picpuz/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-puzzle/picpuz
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/picpuz/ChangeLog,v 1.4 2009/02/10 11:42:46 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/picpuz/ChangeLog,v 1.5 2009/06/11 18:03:32 nyhm Exp $
+
+*picpuz-1.9.2 (11 Jun 2009)
+
+ 11 Jun 2009; Tristan Heaven <nyhm@gentoo.org> +picpuz-1.9.2.ebuild,
+ +files/picpuz-1.9.2-build.patch:
+ Version bump
10 Feb 2009; Alfredo Tupone <tupone@gentoo.org>
+files/picpuz-1.7-gentoo.patch, picpuz-1.7.ebuild:
diff --git a/games-puzzle/picpuz/Manifest b/games-puzzle/picpuz/Manifest
index cfe6c7025453..db8abae4077e 100644
--- a/games-puzzle/picpuz/Manifest
+++ b/games-puzzle/picpuz/Manifest
@@ -1,5 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX picpuz-1.7-gentoo.patch 1060 RMD160 507ef04cae88111a6b25deb2c2e156aeb885b944 SHA1 f5324dc9e465483c10445734d1ac75924e77e699 SHA256 b5fe6b436e3676afe23b5986bbd78f6284d660409c3adbb633b112bf0e90d6cf
+AUX picpuz-1.9.2-build.patch 1098 RMD160 8cddb1239d4f97ede7e2ceae978aa24c225fd9b9 SHA1 ce65a580b80cf9fc4ddab67d898204c67715d75c SHA256 2c2d8afa362c4bf03d28f4e881067f93fc5aa36767d79050dd6aaaa1b392e25e
DIST picpuz-1.7.tar.gz 239703 RMD160 84d8da71b2fd88e01be09a3121b37477d15a91b9 SHA1 c3db324565251b63f3f8a81fdb179228156e862f SHA256 d310922cf4daa3f947c16d86dbe7c659b62ec2bb49b17fdc24b767630279415f
+DIST picpuz-1.9.2.tar.gz 203350 RMD160 8962953bfed4d661cd10566b9b0d0daa1ad22703 SHA1 c70e47d1ce4dfe08fa660ca112df38e60bd20050 SHA256 becc68ec4f31579f59a2d4c5a25f1018c9effdab373456781e4ae1906efbc345
EBUILD picpuz-1.7.ebuild 1132 RMD160 a12f50bbd18cf152e0fe536d5488ef0447da749d SHA1 e0a0c291a852f43d883ea9e92f94a8e1ca492221 SHA256 264673c4805f2b22e925983a3f502135f58e79b535e16d758740631e38057006
-MISC ChangeLog 802 RMD160 d2a8c150a5ee556e03638c6c0f02e32670fccd92 SHA1 8944729e5f42b4d4574e3fbfde8283b5684c1c27 SHA256 f8f46ba887af0cdba4e1a1c1b4bbedc065d786e9c4b89d741634032bd1f65ad3
+EBUILD picpuz-1.9.2.ebuild 1038 RMD160 69d2a2ada8efe58164ac6d2c714a50356c09c3ac SHA1 151d84313d2b15e752f978d6f1affff8805cbb49 SHA256 d178927ec7f80d37b80500b20e37eb5deb4d2b9b8a9ef38af02b4b83ea20ef51
+MISC ChangeLog 950 RMD160 76b04f7ab56da92cca3dc445d9bb01ff8810586d SHA1 898d5b7daf7bf5f416e43a93746388462b20bb4a SHA256 3095547594c829b0016584efaa8736a755953eb14d013d37a044c5413304d10c
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAkoxRvoACgkQdz7hIScOUREKhQCgsDmGFTFe27GmJhnJty482o87
+3M0An25ELKMzUKyjfW+dRwFPhUlP5in3
+=uRvf
+-----END PGP SIGNATURE-----
diff --git a/games-puzzle/picpuz/files/picpuz-1.9.2-build.patch b/games-puzzle/picpuz/files/picpuz-1.9.2-build.patch
new file mode 100644
index 000000000000..a9770899fd02
--- /dev/null
+++ b/games-puzzle/picpuz/files/picpuz-1.9.2-build.patch
@@ -0,0 +1,35 @@
+--- Makefile
++++ Makefile
+@@ -2,8 +2,11 @@
+ PROGRAM = picpuz
+ VERSION = 1.9.2
+ SOURCE = $(PROGRAM)-$(VERSION).cpp
+-CFLAGS = -O -Wall -c `pkg-config --cflags gtk+-2.0`
+-LFLAGS = -O -Wall -rdynamic `pkg-config --libs gtk+-2.0 gthread-2.0`
++CXX ?= @g++
++CXXFLAGS ?= -O
++CXXFLAGS += -Wall -DDATADIR=\"$(DATADIR)\" -DDOCDIR=\"$(DOCDIR)\" `pkg-config --cflags gtk+-2.0`
++LIBS = `pkg-config --libs gtk+-2.0 gthread-2.0`
++LDFLAGS += -rdynamic
+ LAUNCHER = $(HOME)/Desktop/kornelix-$(PROGRAM).desktop
+ LOWNER = `stat --format="%u:%g" $(HOME)/Desktop`
+
+@@ -19,15 +22,13 @@
+
+
+ $(PROGRAM): $(PROGRAM).o zfuncs.o
+- @g++ $(LFLAGS) -o $(PROGRAM) $(PROGRAM).o zfuncs.o
++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $(PROGRAM) $(PROGRAM).o zfuncs.o $(LIBS)
+
+ $(PROGRAM).o: $(SOURCE) zfuncs.h
+- @g++ $(CFLAGS) -o $(PROGRAM).o $(SOURCE) \
+- -D "DATADIR=\"$(DATADIR)\"" -D "DOCDIR=\"$(DOCDIR)\""
++ $(CXX) $(CXXFLAGS) -o $(PROGRAM).o -c $(SOURCE)
+
+ zfuncs.o: zfuncs.cpp zfuncs.h
+- @g++ $(CFLAGS) zfuncs.cpp \
+- -D "DATADIR=\"$(DATADIR)\"" -D "DOCDIR=\"$(DOCDIR)\""
++ $(CXX) $(CXXFLAGS) -c zfuncs.cpp
+
+
+ install: $(PROGRAM)
diff --git a/games-puzzle/picpuz/picpuz-1.9.2.ebuild b/games-puzzle/picpuz/picpuz-1.9.2.ebuild
new file mode 100644
index 000000000000..ebe9dbd6421e
--- /dev/null
+++ b/games-puzzle/picpuz/picpuz-1.9.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/picpuz/picpuz-1.9.2.ebuild,v 1.1 2009/06/11 18:03:32 nyhm Exp $
+
+EAPI=2
+inherit eutils games
+
+DESCRIPTION="a jigsaw puzzle program"
+HOMEPAGE="http://kornelix.squarespace.com/picpuz/"
+SRC_URI="http://kornelix.squarespace.com/storage/downloads/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${P}-build.patch )
+
+src_compile() {
+ emake \
+ BINDIR="${GAMES_BINDIR}" \
+ DATADIR="${GAMES_DATADIR}"/${PN} \
+ DOCDIR=/usr/share/doc/${PF}/html \
+ || die "emake failed"
+}
+
+src_install() {
+ dogamesbin ${PN} || die "dogamesbin failed"
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r data/* locales || die "doins failed"
+ doicon data/icons/${PN}.png
+ make_desktop_entry ${PN} Picpuz
+ dohtml -r doc/{userguide-en.html,images}
+ dodoc doc/{CHANGES,README,TRANSLATIONS}
+ prepgamesdirs
+}