# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit qt4 eutils DESCRIPTION="Nice Qt4 dictionary program with support of many dictionary formats" HOMEPAGE="http://goldendict.berlios.de/" SRC_URI="mirror://berlios/${PN}/${P}-src-x11.tar.bz2" LICENSE="GPL-3" SLOT="0" KEYWORDS="x86" IUSE="" DEPEND=">=x11-libs/qt-4.5.0 app-text/hunspell media-libs/libvorbis media-libs/libogg dev-libs/libzip sys-libs/zlib" RDEPEND="" S="${WORKDIR}/${P}-src" src_compile() { eqmake4 || die "eqmake failed" emake || die "emake failed" } src_install() { dobin goldendict newicon icons/programicon.png ${PN}.png make_desktop_entry ${PN} GoldenDict ${PN}.png "Qt;Utility;Dictionary;" }