From 4829ffc535414cbebc86f3fb3a7600c01857f05a Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Tue, 15 Mar 2016 23:15:04 +0100 Subject: [PATCH] x11-misc/zim: initial import --- metadata/categories.conf | 1 + packages/x11-misc/zim/zim-0.65.exheres-0 | 50 ++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 packages/x11-misc/zim/zim-0.65.exheres-0 diff --git a/metadata/categories.conf b/metadata/categories.conf index f8cd7d8..f3991b0 100644 --- a/metadata/categories.conf +++ b/metadata/categories.conf @@ -33,6 +33,7 @@ sys-process voip www-apps www-servers +x11-misc x11-themes x11-wm xfce-extra diff --git a/packages/x11-misc/zim/zim-0.65.exheres-0 b/packages/x11-misc/zim/zim-0.65.exheres-0 new file mode 100644 index 0000000..4c2ce12 --- /dev/null +++ b/packages/x11-misc/zim/zim-0.65.exheres-0 @@ -0,0 +1,50 @@ +# Copyright 2016 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 + +require gtk-icon-cache freedesktop-desktop +require setup-py [ import=distutils blacklist="3" multibuild=false python_opts='[sqlite]' ] + +SUMMARY="A desktop wiki" +HOMEPAGE="http://zim-wiki.org/" +DOWNLOADS="http://zim-wiki.org/downloads/${PNV}.tar.gz" + +LICENCES=" + BSD + || ( GPL-2 GPL-3 ) +" +SLOT="0" +PLATFORMS="~amd64 ~x86" +MYOPTIONS="" + +DEPENDENCIES=" + build: + x11-apps/xdg-utils + build+run: + gnome-bindings/pygtk:2[python_abis:*(-)?] + gnome-bindings/pygobject:2[python_abis:*(-)?] + suggestion: + app-text/dvipng + app-text/texlive-core + dev-libs/zeitgeist + dev-scm/bzr + media-gfx/ImageMagick + media-gfx/graphviz + media-gfx/scrot + media-sound/lilypond + sci-apps/gnuplot +" + +SETUP_PY_SRC_INSTALL_PARAMS=( + --skip-xdg-cmd +) + +pkg_postinst() { + freedesktop-desktop_pkg_postinst + gtk-icon-cache_pkg_postinst +} + +pkg_postrm() { + freedesktop-desktop_pkg_postrm + gtk-icon-cache_pkg_postrm +} +