diff options
Diffstat (limited to 'games-puzzle/glightoff')
-rw-r--r-- | games-puzzle/glightoff/Manifest | 1 | ||||
-rw-r--r-- | games-puzzle/glightoff/files/glightoff-1.0.0-desktop.patch | 15 | ||||
-rw-r--r-- | games-puzzle/glightoff/glightoff-1.0.0-r1.ebuild | 37 | ||||
-rw-r--r-- | games-puzzle/glightoff/metadata.xml | 8 |
4 files changed, 61 insertions, 0 deletions
diff --git a/games-puzzle/glightoff/Manifest b/games-puzzle/glightoff/Manifest new file mode 100644 index 000000000000..eb6e3204012f --- /dev/null +++ b/games-puzzle/glightoff/Manifest @@ -0,0 +1 @@ +DIST glightoff-1.0.0.tar.gz 349274 SHA256 14dd3174e75c175b437cd5a6c8a9eddc29865b62c588463892031cd0a355938a SHA512 b3be7f65bfbb6b3affbddd20a12321ee401defb2bc0b64e58b5aed05d319e6ac51100cfa8dfb4beddb3c919deb9ee6931235dbc4183c12d3e501da5eb748ae94 WHIRLPOOL ce5506248de6f0174eb3b9bc3549a762ab48a6973a4068752d59056c1ff48329551a81fd8460a8eb263401b3e8fd6b3986d8ba2a4d1f12ffb167aa4a0152f1b8 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..f523e25a3039 --- /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 +# $Id$ + +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 +} diff --git a/games-puzzle/glightoff/metadata.xml b/games-puzzle/glightoff/metadata.xml new file mode 100644 index 000000000000..81f551222572 --- /dev/null +++ b/games-puzzle/glightoff/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>games</herd> + <upstream> + <remote-id type="sourceforge">glightoff</remote-id> + </upstream> +</pkgmetadata> |