diff options
author | Sam James <sam@gentoo.org> | 2021-04-19 01:12:06 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-19 01:13:39 +0000 |
commit | e21c04c7c4d96e542d6cb8c3f01172f3a2ad757e (patch) | |
tree | 462a91d995942a152de9f3550624b3ff9cbde046 /games-puzzle/glightoff | |
parent | games-puzzle/xtris: port to EAPI 7 (diff) | |
download | gentoo-e21c04c7c4d96e542d6cb8c3f01172f3a2ad757e.tar.gz gentoo-e21c04c7c4d96e542d6cb8c3f01172f3a2ad757e.tar.bz2 gentoo-e21c04c7c4d96e542d6cb8c3f01172f3a2ad757e.zip |
games-puzzle/glightoff: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-puzzle/glightoff')
-rw-r--r-- | games-puzzle/glightoff/files/glightoff-1.0.0-desktop.patch | 4 | ||||
-rw-r--r-- | games-puzzle/glightoff/glightoff-1.0.0-r1.ebuild | 16 |
2 files changed, 11 insertions, 9 deletions
diff --git a/games-puzzle/glightoff/files/glightoff-1.0.0-desktop.patch b/games-puzzle/glightoff/files/glightoff-1.0.0-desktop.patch index 0d087d78df9f..503735eb168f 100644 --- a/games-puzzle/glightoff/files/glightoff-1.0.0-desktop.patch +++ b/games-puzzle/glightoff/files/glightoff-1.0.0-desktop.patch @@ -1,5 +1,5 @@ ---- glightoff.desktop.in.old 2014-11-22 17:57:47.019838007 +0100 -+++ glightoff.desktop.in 2014-11-22 17:58:15.484321664 +0100 +--- a/glightoff.desktop.in ++++ b/glightoff.desktop.in @@ -1,10 +1,9 @@ [Desktop Entry] -Encoding=UTF-8 diff --git a/games-puzzle/glightoff/glightoff-1.0.0-r1.ebuild b/games-puzzle/glightoff/glightoff-1.0.0-r1.ebuild index acc24c9c6d36..5ef63e773900 100644 --- a/games-puzzle/glightoff/glightoff-1.0.0-r1.ebuild +++ b/games-puzzle/glightoff/glightoff-1.0.0-r1.ebuild @@ -1,10 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -GCONF_DEBUG="yes" +EAPI=7 -inherit epatch gnome2 +inherit gnome2 DESCRIPTION="A simple (but not so easy to solve!) puzzle game" HOMEPAGE="http://glightoff.sourceforge.net/" @@ -13,24 +12,27 @@ 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} +DEPEND="${RDEPEND}" +BDEPEND=" >=dev-util/intltool-0.29 + media-libs/libpng virtual/pkgconfig " +PATCHES=( + "${FILESDIR}"/${PN}-1.0.0-desktop.patch +) + 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 } |