git-svn-id: http://svn.calculate.ru/overlay@1216 c91db197-33c1-4113-bf15-f8a5c547ca64

atratsevskiy
atratsevskiy 15 years ago
parent 362f7faae0
commit 22d4c0a22c

@ -0,0 +1,2 @@
DIST qstardict-0.13.1.tar.bz2 385053 RMD160 dc779bf16f0d42eb9fe173f53722cd32f4d8a5e9 SHA1 ec10d6a8fa010b7af5a87f38e43a9c3d4209ef49 SHA256 52cb7b699159a804158045d2ae79bf80ce28e2febc2bb3e808784242d829c9ee
EBUILD qstardict-0.13.1.ebuild 904 RMD160 08c22858a041a3e839a7c45a8ee2344c52512fa4 SHA1 06f724d28075fe3a6cbb3b176a8eaba029588a1e SHA256 55be2502d4842c39b3d305846fde120f9007030075891159912c8e50b40d9b19

@ -0,0 +1,41 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=1
inherit eutils qt4
DESCRIPTION="QStarDict is a StarDict clone written with using Qt"
HOMEPAGE="http://qstardict.ylsoftware.com/"
SRC_URI="http://qstardict.ylsoftware.com/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64 ~ia64"
IUSE="dbus nls"
RDEPEND="
|| (
( x11-libs/qt-core
x11-libs/qt-gui )
=x11-libs/qt-4.3*
)
dbus? ( || ( x11-libs/qt-dbus <x11-libs/qt-4.4[dbus] ) )
>=dev-libs/glib-2.0"
DEPEND="${RDEPEND}"
PROVIDE="virtual/stardict"
src_compile() {
QMAKE_FLAGS=""
if ! use dbus; then
QMAKE_FLAGS+="NO_DBUS=1 "
fi
if ! use nls; then
QMAKE_FLAGS+="NO_TRANSLATIONS=1 "
fi
eqmake4 $QMAKE_FLAGS || die "qmake failed"
emake || die "emake failed"
}
src_install() {
emake INSTALL_ROOT="${D}" install || die "emake install filed"
}
Loading…
Cancel
Save