mr_bones_ 15/01/19 16:35:46 Modified: gfifteen-1.0.3.ebuild ChangeLog Log: make it compile against newer gtk+:3 (bug #536994); EAPI=5 (Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)
Revision Changes Path 1.4 games-puzzle/gfifteen/gfifteen-1.0.3.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/gfifteen/gfifteen-1.0.3.ebuild?rev=1.4&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/gfifteen/gfifteen-1.0.3.ebuild?rev=1.4&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/gfifteen/gfifteen-1.0.3.ebuild?r1=1.3&r2=1.4 Index: gfifteen-1.0.3.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/games-puzzle/gfifteen/gfifteen-1.0.3.ebuild,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- gfifteen-1.0.3.ebuild 2 Aug 2012 21:24:09 -0000 1.3 +++ gfifteen-1.0.3.ebuild 19 Jan 2015 16:35:46 -0000 1.4 @@ -1,9 +1,9 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gfifteen/gfifteen-1.0.3.ebuild,v 1.3 2012/08/02 21:24:09 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gfifteen/gfifteen-1.0.3.ebuild,v 1.4 2015/01/19 16:35:46 mr_bones_ Exp $ -EAPI=2 -inherit eutils games +EAPI=5 +inherit eutils gnome2-utils games DESCRIPTION="graphical implementation of the sliding puzzle game fifteen" HOMEPAGE="https://frigidcode.com/code/gfifteen/" @@ -18,16 +18,34 @@ DEPEND="${RDEPEND} virtual/pkgconfig" +src_prepare() { + # make it compile against newer gtk+:3 (bug #536994) + sed -i \ + -e 's/-DGTK_DISABLE_DEPRECATED=1 //' \ + Makefile.in || die +} + src_configure() { - egamesconf \ - --disable-dependency-tracking \ - --disable-assembly || die + egamesconf --disable-assembly } src_install() { - emake DESTDIR="${D}" install || die - dodoc README ChangeLog || die - doicon ${PN}.svg + default + doicon -s scalable ${PN}.svg domenu gfifteen.desktop prepgamesdirs } + +pkg_preinst() { + gnome2_icon_savelist + games_pkg_preinst +} + +pkg_postinst() { + gnome2_icon_cache_update + games_pkg_postinst +} + +pkg_postrm() { + gnome2_icon_cache_update +} 1.10 games-puzzle/gfifteen/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/gfifteen/ChangeLog?rev=1.10&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/gfifteen/ChangeLog?rev=1.10&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/gfifteen/ChangeLog?r1=1.9&r2=1.10 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/games-puzzle/gfifteen/ChangeLog,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- ChangeLog 2 Aug 2012 21:24:09 -0000 1.9 +++ ChangeLog 19 Jan 2015 16:35:46 -0000 1.10 @@ -1,6 +1,9 @@ # ChangeLog for games-puzzle/gfifteen -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gfifteen/ChangeLog,v 1.9 2012/08/02 21:24:09 hwoarang Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gfifteen/ChangeLog,v 1.10 2015/01/19 16:35:46 mr_bones_ Exp $ + + 19 Jan 2015; Michael Sterrett <[email protected]> gfifteen-1.0.3.ebuild: + make it compile against newer gtk+:3 (bug #536994); EAPI=5 02 Aug 2012; Markos Chandras <[email protected]> gfifteen-1.0.3.ebuild: Stable on amd64 wrt bug #426778
