summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Volodymyr Medvid <vmedvid@riseup.net> 2018-11-25 21:09:42 +0200
committerAvatar Heiko Becker <heirecka@exherbo.org> 2019-01-04 11:31:30 +0000
commit98f180dc111f5c48e412f938533f54ea41f4d0f0 (patch)
tree40c38dfe8c2897970402166ab494970af03dc5d6
parent4f609b68cd8a131cde7fa340d4c1e013bb717a7c (diff)
downloaddesktop-98f180dc111f5c48e412f938533f54ea41f4d0f0.tar.gz
desktop-98f180dc111f5c48e412f938533f54ea41f4d0f0.tar.xz
zathura: bump to 0.4.3
Remove jedahan from BUGS_TO. Remove automagic dependency on synctex. Add seccomp and doc options.
-rw-r--r--packages/app-text/zathura/zathura-0.4.3.exheres-0 (renamed from packages/app-text/zathura/zathura-0.3.9.exheres-0)0
-rw-r--r--packages/app-text/zathura/zathura-scm.exheres-02
-rw-r--r--packages/app-text/zathura/zathura.exlib31
3 files changed, 17 insertions, 16 deletions
diff --git a/packages/app-text/zathura/zathura-0.3.9.exheres-0 b/packages/app-text/zathura/zathura-0.4.3.exheres-0
index bb27b89..bb27b89 100644
--- a/packages/app-text/zathura/zathura-0.3.9.exheres-0
+++ b/packages/app-text/zathura/zathura-0.4.3.exheres-0
diff --git a/packages/app-text/zathura/zathura-scm.exheres-0 b/packages/app-text/zathura/zathura-scm.exheres-0
index 73364e8..1e9ca4c 100644
--- a/packages/app-text/zathura/zathura-scm.exheres-0
+++ b/packages/app-text/zathura/zathura-scm.exheres-0
@@ -5,5 +5,3 @@ require zathura
PLATFORMS="~amd64"
-DEPENDENCIES=""
-
diff --git a/packages/app-text/zathura/zathura.exlib b/packages/app-text/zathura/zathura.exlib
index 0694497..4c33eb9 100644
--- a/packages/app-text/zathura/zathura.exlib
+++ b/packages/app-text/zathura/zathura.exlib
@@ -2,29 +2,33 @@
# Copyright 2010 Jonathan Dahan <jedahan@gmail.com>
# Distributed under the terms of the GNU General Public License v2
-require pwmt meson
+require pwmt meson [ meson_minimum_version=0.47 ]
SUMMARY="Highly customizable and functional PDF viewer based on poppler/GTK+"
LICENCES="ZLIB"
SLOT="0"
MYOPTIONS="
+ doc [[ description = [ Generate manual pages ] ]]
+ seccomp [[ description = [ Enable experimental seccomp support ] ]]
sqlite [[ description = [ Support sqlite databases ] ]]
"
DEPENDENCIES="
build:
- dev-util/intltool
+ gnome-desktop/librsvg [[ description = [ Convert icon to PNG ] ]]
virtual/pkg-config
- dev-python/Sphinx[python_abis:*(-)?] [[ description = [ Necessary to build man-pages ] ]]
+ doc? ( dev-python/Sphinx[python_abis:*(-)?] ) [[ description = [ Necessary to build man-pages ] ]]
build+run:
- dev-libs/glib:2[>=2.32]
+ dev-libs/glib:2[>=2.50]
sys-apps/file [[ description = [ Support mimetype detection with libmagic ] ]]
x11-libs/cairo
- x11-libs/girara[>=0.2.9]
- x11-libs/gtk+:3[>=3.6]
+ x11-libs/girara[>=0.3.2]
+ x11-libs/gtk+:3[>=3.22]
+ seccomp? ( sys-libs/libseccomp )
sqlite? ( dev-db/sqlite:3[>=3.5.9] )
test:
+ dev-libs/appstream-glib [[ description = [ Validate desktop files with appstream-util ] ]]
dev-libs/check
recommendation:
virtual/zathura-pdf [[ description = [ Used to view PDF documents ] ]]
@@ -34,16 +38,15 @@ DEPENDENCIES="
text-plugins/zathura-cb [[ description = [ Used to view comic books ] ]]
"
-# they require a running x server
-RESTRICT="test"
-
-BUGS_TO="jedahan@gmail.com"
-
MESON_SRC_CONFIGURE_PARAMS=(
- -Denable-magic=true
+ -Dconvert-icon=enabled
+ -Dmagic=enabled
+ -Dsynctex=disabled
)
-MESON_SRC_CONFIGURE_OPTION_ENABLES=(
- sqlite
+MESON_SRC_CONFIGURE_OPTION_SWITCHES=(
+ 'doc manpages enabled disabled'
+ 'seccomp seccomp enabled disabled'
+ 'sqlite sqlite enabled disabled'
)