summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-03-22 15:27:25 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-03-22 15:27:25 +0000
commit9014dd5297bb9ecf780f5a607121f566811488f5 (patch)
treecffc92f25896ecde231f034a53c17c3538cd62ea /games-board
parentadd myself to metadata.xml (diff)
downloadgentoo-2-9014dd5297bb9ecf780f5a607121f566811488f5.tar.gz
gentoo-2-9014dd5297bb9ecf780f5a607121f566811488f5.tar.bz2
gentoo-2-9014dd5297bb9ecf780f5a607121f566811488f5.zip
Initial commit.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'games-board')
-rw-r--r--games-board/qgo/ChangeLog10
-rw-r--r--games-board/qgo/metadata.xml5
-rw-r--r--games-board/qgo/qgo-1.5.4_p20100322.ebuild47
3 files changed, 62 insertions, 0 deletions
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 <ssuominen@gentoo.org>
+ +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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>
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
+}