diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2013-09-09 20:04:09 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2013-09-09 20:04:09 +0000 |
commit | 18a53c7d2b8b9e9657c2b2ae9afefadbc1e499e5 (patch) | |
tree | 0d77be38822562e0932fc0771d8304c625b76332 /games-board | |
parent | Listed two more important security bugs in the gentoo-sources-3.8.13 mask rea... (diff) | |
download | gentoo-2-18a53c7d2b8b9e9657c2b2ae9afefadbc1e499e5.tar.gz gentoo-2-18a53c7d2b8b9e9657c2b2ae9afefadbc1e499e5.tar.bz2 gentoo-2-18a53c7d2b8b9e9657c2b2ae9afefadbc1e499e5.zip |
version bump
(Portage version: 2.2.1/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-board')
-rw-r--r-- | games-board/simsu/ChangeLog | 8 | ||||
-rw-r--r-- | games-board/simsu/files/simsu-1.2.3-langs.patch | 11 | ||||
-rw-r--r-- | games-board/simsu/simsu-1.2.3.ebuild | 52 |
3 files changed, 70 insertions, 1 deletions
diff --git a/games-board/simsu/ChangeLog b/games-board/simsu/ChangeLog index f26bde6e9a4f..80a21ca1774e 100644 --- a/games-board/simsu/ChangeLog +++ b/games-board/simsu/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-board/simsu # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/simsu/ChangeLog,v 1.7 2013/03/02 21:13:44 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/simsu/ChangeLog,v 1.8 2013/09/09 20:04:09 mr_bones_ Exp $ + +*simsu-1.2.3 (09 Sep 2013) + + 09 Sep 2013; Michael Sterrett <mr_bones_@gentoo.org> + +files/simsu-1.2.3-langs.patch, +simsu-1.2.3.ebuild: + version bump 02 Mar 2013; Markos Chandras <hwoarang@gentoo.org> simsu-1.2.2.ebuild: Move Qt dependencies to the new category diff --git a/games-board/simsu/files/simsu-1.2.3-langs.patch b/games-board/simsu/files/simsu-1.2.3-langs.patch new file mode 100644 index 000000000000..118c33bea499 --- /dev/null +++ b/games-board/simsu/files/simsu-1.2.3-langs.patch @@ -0,0 +1,11 @@ +diff -ru simsu-1.2.3.orig/src/locale_dialog.cpp simsu-1.2.3/src/locale_dialog.cpp +--- simsu-1.2.3.orig/src/locale_dialog.cpp 2013-02-14 13:17:54.000000000 -0500 ++++ simsu-1.2.3/src/locale_dialog.cpp 2013-09-09 16:00:09.449992139 -0400 +@@ -85,6 +85,7 @@ + if (paths.isEmpty()) { + QString appdir = QCoreApplication::applicationDirPath(); + paths.append(appdir); ++ paths.append("GENTOODATADIR"); + paths.append(appdir + "/../share/" + QCoreApplication::applicationName().toLower()); + paths.append(appdir + "/../Resources"); + } diff --git a/games-board/simsu/simsu-1.2.3.ebuild b/games-board/simsu/simsu-1.2.3.ebuild new file mode 100644 index 000000000000..1d56e9602eea --- /dev/null +++ b/games-board/simsu/simsu-1.2.3.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/simsu/simsu-1.2.3.ebuild,v 1.1 2013/09/09 20:04:09 mr_bones_ Exp $ + +EAPI=5 +inherit eutils gnome2-utils qt4-r2 games + +DESCRIPTION="A basic sudoku game" +HOMEPAGE="http://gottcode.org/simsu/" +SRC_URI="http://gottcode.org/${PN}/${P}-src.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-qt/qtgui:4" +RDEPEND=${DEPEND} + +src_prepare() { + epatch "${FILESDIR}"/${P}-langs.patch + + sed -i \ + -e "s:GENTOODATADIR:${GAMES_DATADIR}/${PN}:" \ + src/locale_dialog.cpp || die +} + +src_configure() { + eqmake4 +} + +src_install() { + dogamesbin ${PN} + insinto "${GAMES_DATADIR}"/${PN}/translations + doins translations/*qm + dodoc ChangeLog + doicon -s scalable icons/hicolor/scalable/apps/${PN}.svg + domenu icons/${PN}.desktop + prepgamesdirs +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |