diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2014-05-21 06:37:05 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2014-05-21 06:37:05 +0000 |
commit | 4326bdc3d14853aaba9692ecac4bb18190acdca5 (patch) | |
tree | 88260c5e56d4c1ad7e64ca0477f2a8c62a9f230a /games-puzzle | |
parent | Removed vulnerable versions (diff) | |
download | gentoo-2-4326bdc3d14853aaba9692ecac4bb18190acdca5.tar.gz gentoo-2-4326bdc3d14853aaba9692ecac4bb18190acdca5.tar.bz2 gentoo-2-4326bdc3d14853aaba9692ecac4bb18190acdca5.zip |
Version bump to 1.0.3
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0145142D)
Diffstat (limited to 'games-puzzle')
-rw-r--r-- | games-puzzle/hexalate/ChangeLog | 10 | ||||
-rw-r--r-- | games-puzzle/hexalate/files/hexalate-1.0.3-gentoo.patch | 11 | ||||
-rw-r--r-- | games-puzzle/hexalate/hexalate-1.0.3.ebuild | 51 |
3 files changed, 70 insertions, 2 deletions
diff --git a/games-puzzle/hexalate/ChangeLog b/games-puzzle/hexalate/ChangeLog index 698e7cb4599a..8f77fcbba8d1 100644 --- a/games-puzzle/hexalate/ChangeLog +++ b/games-puzzle/hexalate/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-puzzle/hexalate -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/hexalate/ChangeLog,v 1.4 2013/03/02 21:19:20 hwoarang Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/hexalate/ChangeLog,v 1.5 2014/05/21 06:37:05 tupone Exp $ + +*hexalate-1.0.3 (21 May 2014) + + 21 May 2014; Tupone Alfredo <tupone@gentoo.org> +hexalate-1.0.3.ebuild, + +files/hexalate-1.0.3-gentoo.patch: + Version bump to 1.0.3 02 Mar 2013; Markos Chandras <hwoarang@gentoo.org> hexalate-1.0.1.ebuild: Move Qt dependencies to the new category diff --git a/games-puzzle/hexalate/files/hexalate-1.0.3-gentoo.patch b/games-puzzle/hexalate/files/hexalate-1.0.3-gentoo.patch new file mode 100644 index 000000000000..49f5b1c82ee5 --- /dev/null +++ b/games-puzzle/hexalate/files/hexalate-1.0.3-gentoo.patch @@ -0,0 +1,11 @@ +--- src/locale_dialog.cpp.old 2014-05-20 22:30:07.399795787 +0200 ++++ src/locale_dialog.cpp 2014-05-20 22:31:12.079600999 +0200 +@@ -85,7 +85,7 @@ + if (paths.isEmpty()) { + QString appdir = QCoreApplication::applicationDirPath(); + paths.append(appdir); +- paths.append(appdir + "/../share/" + QCoreApplication::applicationName().toLower()); ++ paths.append("@GENTOO_DATADIR@"); + paths.append(appdir + "/../Resources"); + } + foreach (const QString& path, paths) { diff --git a/games-puzzle/hexalate/hexalate-1.0.3.ebuild b/games-puzzle/hexalate/hexalate-1.0.3.ebuild new file mode 100644 index 000000000000..cedaff146a16 --- /dev/null +++ b/games-puzzle/hexalate/hexalate-1.0.3.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/hexalate/hexalate-1.0.3.ebuild,v 1.1 2014/05/21 06:37:05 tupone Exp $ + +EAPI=5 + +LANGS="ca cs de el en es et fr hu ms nl pl ro ru tr" +LANGSLONG="pt_BR" +inherit eutils qt4-r2 games + +DESCRIPTION="A color matching game" +HOMEPAGE="http://gottcode.org/hexalate/" +SRC_URI="http://gottcode.org/${PN}/${P}-src.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-qt/qtcore:4 + dev-qt/qtgui:4" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch + sed -i -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \ + src/locale_dialog.cpp \ + || die "sed failed" +} + +src_configure() { + qt4-r2_src_configure +} + +src_install() { + dogamesbin ${PN} + insinto "${GAMES_DATADIR}"/${PN}/translations/ + for lang in ${LINGUAS};do + for x in ${LANGS};do + if [[ ${lang} == ${x} ]];then + doins translations/${PN}_${x}.qm + fi + done + done + insinto /usr/share/icons + doins -r icons/hicolor + dodoc CREDITS ChangeLog NEWS README + doicon icons/${PN}.xpm + domenu icons/${PN}.desktop + prepgamesdirs +} |