app-text/sdcv: version bump, from ::gentoo
[booboo.git] / games-board / qgo2 / qgo2-9999.ebuild
blob106c29a020c84e09fdfe5d5ff9d5cf3c47343937
1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
5 EAPI=7
7 inherit subversion eutils qmake-utils xdg-utils
9 ESVN_REPO_URI="https://svn.code.sf.net/p/qgo/code/trunk"
11 DESCRIPTION="qGo is a full featured SGF editor and Go Client."
12 HOMEPAGE="http://qgo.sourceforge.net/"
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86"
17 IUSE=""
19 RDEPEND="media-libs/alsa-lib
20 dev-qt/qtcore:5
21 dev-qt/qtnetwork:5
22 dev-qt/qtmultimedia:5
23 dev-qt/qtwidgets:5
24 dev-qt/qtgui:5
25 dev-qt/qttest:5"
26 DEPEND="${RDEPEND}"
28 S="${WORKDIR}/${PN}"
30 PATCHES=( "${FILESDIR}/qgo2.patch" )
32 src_unpack() {
33 subversion_src_unpack
36 src_configure() {
37 eqmake5 qgo.pro
40 src_install() {
41 INSTALL_ROOT="${D}" emake install || di
43 dodoc AUTHORS || die
45 insinto /usr/share/qgo/languages
46 doins src/translations/*.qm || die
49 pkg_postinst() {
50 xdg_desktop_database_update
53 pkg_postrm() {
54 xdg_desktop_database_update