hasufell-repository/packages/x11-misc/zim/zim-0.71.0.exheres-0

55 lines
1.2 KiB
Bash
Raw Normal View History

2018-02-01 22:33:48 +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
2019-05-08 10:00:16 +00:00
require setup-py [ import=distutils blacklist="2" multibuild=false python_opts="[sqlite]" ]
2018-02-01 22:33:48 +00:00
SUMMARY="A desktop wiki"
HOMEPAGE="http://zim-wiki.org/"
DOWNLOADS="http://zim-wiki.org/downloads/${PNV/_rc/-rc}.tar.gz"
LICENCES="
BSD-3
|| ( GPL-2 GPL-3 )
"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS=""
DEPENDENCIES="
build:
x11-apps/xdg-utils
build+run:
2019-05-08 10:00:16 +00:00
gnome-bindings/pygobject:3[python_abis:*(-)?]
x11-libs/gtk+:3[>=3.18]
recommendation:
dev-python/pyxdg[python_abis:*(-)?]
2018-02-01 22:33:48 +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
"
WORK=${WORKBASE}/${PNV/_rc/-rc}
2019-05-08 10:00:16 +00:00
pkg_setup() {
unset DISPLAY # tries to access X socket
}
2018-02-01 22:33:48 +00:00
pkg_postinst() {
freedesktop-desktop_pkg_postinst
gtk-icon-cache_pkg_postinst
}
pkg_postrm() {
freedesktop-desktop_pkg_postrm
gtk-icon-cache_pkg_postrm
}