2016-03-15 22:15:04 +00:00
|
|
|
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
|
|
|
# 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="
|
2016-04-22 13:22:13 +00:00
|
|
|
BSD-3
|
2016-03-15 22:15:04 +00:00
|
|
|
|| ( GPL-2 GPL-3 )
|
|
|
|
"
|
|
|
|
SLOT="0"
|
|
|
|
PLATFORMS="~amd64 ~x86"
|
|
|
|
MYOPTIONS=""
|
|
|
|
|
|
|
|
DEPENDENCIES="
|
|
|
|
build:
|
|
|
|
x11-apps/xdg-utils
|
|
|
|
build+run:
|
|
|
|
gnome-bindings/pygtk:2[python_abis:*(-)?]
|
2016-03-15 22:16:15 +00:00
|
|
|
gnome-bindings/pygobject:2[python_abis:*(-)?]
|
2016-03-15 22:15:04 +00:00
|
|
|
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
|
|
|
|
"
|
|
|
|
|
2017-05-18 16:25:52 +00:00
|
|
|
DEFAULT_SRC_PREPARE_PATCHES=(
|
|
|
|
"${FILES}"/c951d49a643c140eb2eadafade92db40cad61740.patch
|
|
|
|
)
|
|
|
|
|
2016-03-15 22:15:04 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|