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

63 lines
1.5 KiB
Bash
Raw Permalink 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:
2020-09-17 22:19:54 +00:00
app-text/dvipng [[ note = [ equation plugin ] ]]
app-text/texlive-core [[ note = [ equation plugin ] ]]
2019-08-31 20:26:30 +00:00
dev-libs/zeitgeist:2.0
2020-09-17 22:19:54 +00:00
dev-scm/bzr [[ note = [ version control plugin ] ]]
media-gfx/graphviz [[ note = [ diagram editor plugin ] ]]
media-gfx/ImageMagick [[ note = [ screenshot plugin ] ]]
media-gfx/scrot [[ note = [ screenshot plugin ] ]]
media-sound/lilypond [[ note = [ music score plugin ] ]]
2018-02-01 22:33:48 +00:00
sci-apps/gnuplot
"
2019-08-31 20:26:30 +00:00
# Requires X server
RESTRICT="test"
2018-02-01 22:33:48 +00:00
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
2019-08-31 20:26:30 +00:00
src_test() {
PYTHONPATH="${PWD}/build/lib" \
edo ${PYTHON} test.py
}
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
}