summaryrefslogtreecommitdiff
path: root/gnome-extra/zim/zim-0.23.ebuild
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gnome-extra/zim/zim-0.23.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/gnome-extra/zim/zim-0.23.ebuild b/gnome-extra/zim/zim-0.23.ebuild
new file mode 100644
index 0000000..ea7ab86
--- /dev/null
+++ b/gnome-extra/zim/zim-0.23.ebuild
@@ -0,0 +1,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
+}