Merge remote-tracking branch 'kapsh/zim'

This commit is contained in:
Julian Ospald 2019-05-23 09:35:17 +08:00
commit 8b94e41e86
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

View File

@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
require gtk-icon-cache freedesktop-desktop require gtk-icon-cache freedesktop-desktop
require setup-py [ import=distutils blacklist="3" multibuild=false python_opts='[sqlite]' ] require setup-py [ import=distutils blacklist="2" multibuild=false python_opts="[sqlite]" ]
SUMMARY="A desktop wiki" SUMMARY="A desktop wiki"
HOMEPAGE="http://zim-wiki.org/" HOMEPAGE="http://zim-wiki.org/"
@ -20,8 +20,10 @@ DEPENDENCIES="
build: build:
x11-apps/xdg-utils x11-apps/xdg-utils
build+run: build+run:
gnome-bindings/pygtk:2[python_abis:*(-)?] gnome-bindings/pygobject:3[python_abis:*(-)?]
gnome-bindings/pygobject:2[python_abis:*(-)?] x11-libs/gtk+:3[>=3.18]
recommendation:
dev-python/pyxdg[python_abis:*(-)?]
suggestion: suggestion:
app-text/dvipng app-text/dvipng
app-text/texlive-core app-text/texlive-core
@ -36,9 +38,9 @@ DEPENDENCIES="
WORK=${WORKBASE}/${PNV/_rc/-rc} WORK=${WORKBASE}/${PNV/_rc/-rc}
SETUP_PY_SRC_INSTALL_PARAMS=( pkg_setup() {
--skip-xdg-cmd unset DISPLAY # tries to access X socket
) }
pkg_postinst() { pkg_postinst() {
freedesktop-desktop_pkg_postinst freedesktop-desktop_pkg_postinst