summaryrefslogtreecommitdiff
path: root/games-puzzle/glightoff
diff options
context:
space:
mode:
Diffstat (limited to 'games-puzzle/glightoff')
-rw-r--r--games-puzzle/glightoff/Manifest6
-rw-r--r--games-puzzle/glightoff/files/glightoff-1.0.0-desktop.patch15
-rw-r--r--games-puzzle/glightoff/glightoff-1.0.0-r1.ebuild36
-rw-r--r--games-puzzle/glightoff/metadata.xml11
4 files changed, 68 insertions, 0 deletions
diff --git a/games-puzzle/glightoff/Manifest b/games-puzzle/glightoff/Manifest
new file mode 100644
index 000000000000..dd73eed72408
--- /dev/null
+++ b/games-puzzle/glightoff/Manifest
@@ -0,0 +1,6 @@
+AUX glightoff-1.0.0-desktop.patch 402 SHA256 3be9bfabb64ecbecc52bbe7f1a3fb93b2844882451fd176916fa9e9c5492ea7f SHA512 4571865a471d210b5218775a09076bdc4003880e6683a245efeeba47a7e128822c11c6b1198fdfae21460900dce5fd747166c30f75c75d0322b1e8a68f7daa27 WHIRLPOOL e1bc378fdd69cd9b78c67fe82f598956488e7f202e7ba39f57d532cf8b6eeeecb440eb611a3ca2405f60b301ff0ad824e2d590a8d64deb8259a03824e6e5d2da
+DIST glightoff-1.0.0.tar.gz 349274 SHA256 14dd3174e75c175b437cd5a6c8a9eddc29865b62c588463892031cd0a355938a SHA512 b3be7f65bfbb6b3affbddd20a12321ee401defb2bc0b64e58b5aed05d319e6ac51100cfa8dfb4beddb3c919deb9ee6931235dbc4183c12d3e501da5eb748ae94 WHIRLPOOL ce5506248de6f0174eb3b9bc3549a762ab48a6973a4068752d59056c1ff48329551a81fd8460a8eb263401b3e8fd6b3986d8ba2a4d1f12ffb167aa4a0152f1b8
+EBUILD glightoff-1.0.0-r1.ebuild 701 SHA256 bee3072bf087135751e2a38772dff3ad951d22f6e296a1a5d2a7705d05da8b46 SHA512 f7c13782892c531450cea695d331c0560efa579e7f9ce92f18c4ad3af1cc46c01b19d1030be394392de98c8f7dffbb85bd6523aa0c2f0f60c065883895052717 WHIRLPOOL 1782346357f16645d8cdee3cccf976e9bef39366aa1318da6b5505095983a1a30610993f7c527f54624a68397b612b6293828ad9f76be0ab56e4958ec9248a07
+MISC ChangeLog 2483 SHA256 ad929ed1007d81f706042ff705107eaf9b63b7d07bf733105259d33c51d69ac9 SHA512 2a99bc80d6d2ef37fae6a7f70882dd833a4a442d759ca58a75492bab6ff506a2cb0feb0994a6af0cc96b07451a47e2ea28ec21bb4f31633acf682c779f91bbae WHIRLPOOL 7fe75d7a4dbdc46f2b59d4cf0ab56f1a2a85d8b50b53d3256bb06e0291084be864fc88cece18ad210422b8f555c6e3b7c4f9f764aa46dea8223db170938b5384
+MISC ChangeLog-2015 1374 SHA256 d625dd54dc7581fda235786094428f6c48a0cfd004e2d9a44135db3d9f5cbb3c SHA512 c26ab3d4ab48260a013ca0e5ccb4479fe888225e9daad40770d6591d0e22a824f82108f4a85e397d8663a60f6b3f1fa845676cf6a2dc25b74351eccfdfd15f43 WHIRLPOOL 93b96df0dea7dbb2cd7aa170c723fb247db10c5068b12ed861056362831609aa6a517023bcf5b7c9e8a3066ca3b06136376ddf04ed0bc948433632ea951cd980
+MISC metadata.xml 332 SHA256 12440935be6018ab806e3abd3b55539f3035fd0231322682aefd618663731b05 SHA512 83debe37911969e2b45ad0ca5ff90684a7d7e3dc3fd4bb504aa537c3c7823b68131f8e919075c9e5806d6b29a8874086f3c69fbfbb1335898d241d8b46f70e70 WHIRLPOOL a534e85705b2498a360d8ff26ac3176fa6a7937b97551ba6a4c3e0e78680050eca83d1dccfb6271c6f5f8e979b4f4ef8a5ccf0af7aae4df3153c0f0d49de78bb
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..6eaba0d97d5f
--- /dev/null
+++ b/games-puzzle/glightoff/glightoff-1.0.0-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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 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..a6bc0cedd676
--- /dev/null
+++ b/games-puzzle/glightoff/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">glightoff</remote-id>
+ </upstream>
+</pkgmetadata>