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
commitc7f3b83127329dce2f939f8790994d3206e43297 (patch)
treeabd8bd80129e62aac8c9af7cadeb1416e24465d9 /games-board/qgo
parentadd myself to metadata.xml (diff)
downloadhistorical-c7f3b83127329dce2f939f8790994d3206e43297.tar.gz
historical-c7f3b83127329dce2f939f8790994d3206e43297.tar.bz2
historical-c7f3b83127329dce2f939f8790994d3206e43297.zip
Initial commit.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'games-board/qgo')
-rw-r--r--games-board/qgo/ChangeLog10
-rw-r--r--games-board/qgo/Manifest4
-rw-r--r--games-board/qgo/metadata.xml5
-rw-r--r--games-board/qgo/qgo-1.5.4_p20100322.ebuild47
4 files changed, 66 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/Manifest b/games-board/qgo/Manifest
new file mode 100644
index 000000000000..8198ae0c1af2
--- /dev/null
+++ b/games-board/qgo/Manifest
@@ -0,0 +1,4 @@
+DIST qgo-1.5.4_p20100322.tar.bz2 2486631 RMD160 6b729aa7e41465a88c5133cdbda77c152a15e6d5 SHA1 a90abea81f658cf4c357e559ca87d597ac976deb SHA256 08848ef8fc05b0f32ec730f0ac0e7123224e8b69f251ef9aeb711c9a2fceefa9
+EBUILD qgo-1.5.4_p20100322.ebuild 1071 RMD160 71ac5a37beeb2a43be39f06dda5fa111a42ee7ba SHA1 b0d969da8372bae2ea108a0ff638160332eb7b16 SHA256 0f6863d8054ed59965c6d28390456a2e3474ed00d73bdf5b5386d2db083a5dd0
+MISC ChangeLog 347 RMD160 81af62cc249a037a125376ada075aa73fc2cc516 SHA1 6234740c88f71efb85b632913d24f6024a5563de SHA256 c3fb068f4289776c05913bab0c3c749539c619dec50b306d72f0286759a053db
+MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
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
+}