blob: 00fad2797a57fc0467ed01a790a80e1a7299a94b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/kchmviewer/kchmviewer-4.0_beta2.ebuild,v 1.3 2008/07/27 01:01:22 carlo Exp $
EAPI="1"
inherit qt4 fdo-mime
MY_P="${PN}-${PV/_beta/beta}"
DESCRIPTION="KchmViewer is a feature rich chm file viewer, based on Qt."
HOMEPAGE="http://www.kchmviewer.net/"
SRC_URI="mirror://sourceforge/kchmviewer/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
QT4_BUILT_WITH_USE_CHECK="qt3support"
DEPEND="
|| ( ( x11-libs/qt-gui:4
x11-libs/qt-qt3support:4 )
=x11-libs/qt-4.3*:4 )
dev-libs/chmlib"
S=${WORKDIR}/${MY_P}
src_compile() {
eqmake4
emake || die "make failed"
}
src_install() {
dobin bin/kchmviewer || die "dobin kchmviewer failed"
insinto /usr/share/applications
doins lib/kio-msits/kchmviewer.desktop
dodoc ChangeLog README DCOP-bingings FAQ
}
pkg_postinst() {
fdo-mime_desktop_database_update
}
|