blob: ea7ab864de395faf1c6dfa1e6c12d4fb0e5cabfc (
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
44
45
46
47
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/zim/zim-0.20.ebuild,v 1.1 2007/09/27 19:01:16 drac Exp $
inherit fdo-mime perl-module
MY_P=${P/z/Z}
DESCRIPTION="A desktop wiki"
HOMEPAGE="http://pardus-larus.student.utwente.nl/~pardus/projects/zim"
SRC_URI="http://pardus-larus.student.utwente.nl/~pardus/downloads/Zim/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="latex screenshot spell trayicon"
DEPEND=">=dev-lang/perl-5.8
>=x11-libs/gtk+-2.4
virtual/perl-Storable
virtual/perl-File-Spec
>=dev-perl/File-BaseDir-0.03
>=dev-perl/File-DesktopEntry-0.04
dev-perl/File-MimeInfo
dev-perl/gtk2-perl"
PLUGINS="latex? ( virtual/latex-base app-text/dvipng )
screenshot? ( media-gfx/scrot )
spell? ( dev-perl/gtk2-spell )
trayicon? ( dev-perl/gtk2-trayicon )"
RDEPEND="${DEPEND}
${PLUGINS}"
S="${WORKDIR}"/${MY_P}
PATCHES="${FILESDIR}/${PN}-0.20-disable-update-desktop-database.patch"
pkg_postinst() {
perl-module_pkg_postinst
fdo-mime_desktop_database_update
}
pkg_postrm() {
perl-module_pkg_postrm
fdo-mime_desktop_database_update
}
|