summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2014-11-22 17:41:10 +0000
committerPacho Ramos <pacho@gentoo.org>2014-11-22 17:41:10 +0000
commit15a19ff9669d21c809050a31add4c41bb4a38740 (patch)
tree20e35974021b284a4f91f392f27b74a1f642f81a /games-puzzle
parentamd64 stable wrt bug #529510 (diff)
downloadgentoo-2-15a19ff9669d21c809050a31add4c41bb4a38740.tar.gz
gentoo-2-15a19ff9669d21c809050a31add4c41bb4a38740.tar.bz2
gentoo-2-15a19ff9669d21c809050a31add4c41bb4a38740.zip
Fix broken png file, fix desktop file, add missing dependencies.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/glightoff/ChangeLog11
-rw-r--r--games-puzzle/glightoff/files/glightoff-1.0.0-desktop.patch15
-rw-r--r--games-puzzle/glightoff/glightoff-1.0.0-r1.ebuild37
3 files changed, 60 insertions, 3 deletions
diff --git a/games-puzzle/glightoff/ChangeLog b/games-puzzle/glightoff/ChangeLog
index f185f4c37cb8..c11844ad14f1 100644
--- a/games-puzzle/glightoff/ChangeLog
+++ b/games-puzzle/glightoff/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-puzzle/glightoff
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/glightoff/ChangeLog,v 1.5 2009/11/30 13:50:22 volkmar Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/glightoff/ChangeLog,v 1.6 2014/11/22 17:41:10 pacho Exp $
+
+*glightoff-1.0.0-r1 (22 Nov 2014)
+
+ 22 Nov 2014; Pacho Ramos <pacho@gentoo.org>
+ +files/glightoff-1.0.0-desktop.patch, +glightoff-1.0.0-r1.ebuild:
+ Fix broken png file, fix desktop file, add missing dependencies.
30 Nov 2009; Mounir Lamouri <volkmar@gentoo.org> glightoff-1.0.0.ebuild:
Keywording for ppc, bug 293686
@@ -20,4 +26,3 @@
18 Nov 2005; Michael Sterrett <mr_bones_@gentoo.org> +metadata.xml,
+glightoff-1.0.0.ebuild:
initial commit - ebuild supplied by Christoph Brill (egore) via bug #82686
-
diff --git a/games-puzzle/glightoff/files/glightoff-1.0.0-desktop.patch b/games-puzzle/glightoff/files/glightoff-1.0.0-desktop.patch
new file mode 100644
index 000000000000..0d087d78df9f
--- /dev/null
+++ b/games-puzzle/glightoff/files/glightoff-1.0.0-desktop.patch
@@ -0,0 +1,15 @@
+--- glightoff.desktop.in.old 2014-11-22 17:57:47.019838007 +0100
++++ glightoff.desktop.in 2014-11-22 17:58:15.484321664 +0100
+@@ -1,10 +1,9 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ _Name=GLightOff
+ _Comment=Simple Light Off game
+ Exec=glightoff
+ Terminal=false
+ Type=Application
+-Icon=glightoff.png
+-Categories=GNOME;Application;Game;PuzzleGame;
++Icon=glightoff
++Categories=GNOME;Game;
+ StartupNotify=true
diff --git a/games-puzzle/glightoff/glightoff-1.0.0-r1.ebuild b/games-puzzle/glightoff/glightoff-1.0.0-r1.ebuild
new file mode 100644
index 000000000000..aac09a0cf2ee
--- /dev/null
+++ b/games-puzzle/glightoff/glightoff-1.0.0-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/glightoff/glightoff-1.0.0-r1.ebuild,v 1.1 2014/11/22 17:41:10 pacho Exp $
+
+EAPI=5
+GCONF_DEBUG="yes"
+
+inherit eutils gnome2
+
+DESCRIPTION="A simple (but not so easy to solve!) puzzle game"
+HOMEPAGE="http://glightoff.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="
+ gnome-base/librsvg
+ media-libs/libpng:0=
+ >=x11-libs/gtk+-2.6:2
+"
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.29
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ # Fix broken png files
+ pngfix -q --out=out.png glightoff.png
+ mv -f out.png glightoff.png || die
+
+ epatch "${FILESDIR}/${PN}-1.0.0-desktop.patch"
+
+ gnome2_src_prepare
+}