From 9014dd5297bb9ecf780f5a607121f566811488f5 Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Mon, 22 Mar 2010 15:27:25 +0000 Subject: Initial commit. (Portage version: 2.2_rc67/cvs/Linux x86_64) --- games-board/qgo/ChangeLog | 10 +++++++ games-board/qgo/metadata.xml | 5 ++++ games-board/qgo/qgo-1.5.4_p20100322.ebuild | 47 ++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+) create mode 100644 games-board/qgo/ChangeLog create mode 100644 games-board/qgo/metadata.xml create mode 100644 games-board/qgo/qgo-1.5.4_p20100322.ebuild (limited to 'games-board') diff --git a/games-board/qgo/ChangeLog b/games-board/qgo/ChangeLog new file mode 100644 index 000000000000..f0be0694d904 --- /dev/null +++ b/games-board/qgo/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for games-board/qgo +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/qgo/ChangeLog,v 1.39 2010/03/22 15:27:25 ssuominen Exp $ + +*qgo-1.5.4_p20100322 (22 Mar 2010) + + 22 Mar 2010; Samuli Suominen + +qgo-1.5.4_p20100322.ebuild: + Initial commit. + diff --git a/games-board/qgo/metadata.xml b/games-board/qgo/metadata.xml new file mode 100644 index 000000000000..d3c2cc926f0b --- /dev/null +++ b/games-board/qgo/metadata.xml @@ -0,0 +1,5 @@ + + + +games + diff --git a/games-board/qgo/qgo-1.5.4_p20100322.ebuild b/games-board/qgo/qgo-1.5.4_p20100322.ebuild new file mode 100644 index 000000000000..7778f429524d --- /dev/null +++ b/games-board/qgo/qgo-1.5.4_p20100322.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/qgo/qgo-1.5.4_p20100322.ebuild,v 1.1 2010/03/22 15:27:25 ssuominen Exp $ + +EAPI=2 +inherit qt4-r2 games + +DESCRIPTION="An ancient boardgame, very common in Japan, China and Korea" +HOMEPAGE="http://qgo.sourceforge.net/" +SRC_URI="http://dev.gentoo.org/~ssuominen/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="media-libs/alsa-lib + x11-libs/qt-core:4 + x11-libs/qt-gui:4 + x11-libs/qt-test:4" + +src_prepare() { + sed -i \ + -e "/QGO_INSTALL_PATH/s:/usr/share:${GAMES_DATADIR}:" \ + -e "/QGO_INSTALL_BIN_PATH/s:/usr/bin:${GAMES_BINDIR}:" \ + -e 's:$(QTDIR)/bin/lrelease:lrelease:' \ + src/src.pro || die + + sed -i \ + -e "/TRANSLATIONS_PATH_PREFIX/s:/usr/share:${GAMES_DATADIR}:" \ + src/defines.h || die +} + +src_configure() { + eqmake4 qgo2.pro +} + +src_install() { + qt4-r2_src_install + + dodoc AUTHORS + + insinto "${GAMES_DATADIR}"/qgo/languages + doins src/translations/*.qm || die + + prepgamesdirs +} -- cgit v1.2.3-65-gdbad