2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2016 Alexander Pyhalov
13 # Copyright 2019 Michal Nowak
14 # Copyright 2020 Marco van Wieringen
15 # Copyright (c) 2021 Tim Mooney. All rights reserved
16 # Copyright 2022 Andreas Wacknitz
20 BUILD_STYLE
= configure
21 USE_PARALLEL_BUILD
= yes
22 include ..
/..
/..
/..
/make-rules
/shared-macros.mk
23 include $(WS_MAKE_RULES
)/mate.mk
26 COMPONENT_MJR_VERSION
= 1.28
27 COMPONENT_MNR_VERSION
= 0
29 COMPONENT_SUMMARY
= MATE PDF document viewer
30 COMPONENT_ARCHIVE_HASH
= sha256
:ced4725f6e9b71c4ea63676bfc3cc3be09d29dba08aa7a7ab97964e0b4355162
31 COMPONENT_FMRI
= desktop
/pdf-viewer
/atril
32 COMPONENT_CLASSIFICATION
= Applications
/Office
33 COMPONENT_LICENSE
= GPLv3
34 COMPONENT_LICENSE_FILE
= COPYING
36 include $(WS_MAKE_RULES
)/common.mk
38 # gobject-introspection
39 COMPONENT_BUILD_ENV
+= GI_SCANNER_DISABLE_CACHE
=""
41 CONFIGURE_OPTIONS
+= --enable-introspection
42 # tested atril 1.26.0 with epub support and it's still poor. It
43 # uses webkitgtk2 for the epubs and can open some, but fails on
44 # others. Worse, Atril spawns webkitgtk2 processes for non-epub
45 # documents too. Leave epub disabled until that improves, maybe
46 # with an updated webkitgtk?
47 CONFIGURE_OPTIONS
+= --disable-epub
49 # test suite requires a python module called 'dogtail'
50 # for testing GUI applications which we don't currently package.
52 # Auto-generated dependencies
53 REQUIRED_PACKAGES
+= desktop
/mate
/caja
54 REQUIRED_PACKAGES
+= gnome
/accessibility
/at-spi2-core
55 REQUIRED_PACKAGES
+= image
/djvulibre
56 REQUIRED_PACKAGES
+= image
/library
/libtiff
57 REQUIRED_PACKAGES
+= library
/desktop
/cairo
58 REQUIRED_PACKAGES
+= library
/desktop
/gdk-pixbuf
59 REQUIRED_PACKAGES
+= library
/desktop
/gtk3
60 REQUIRED_PACKAGES
+= library
/desktop
/mate
/mate-desktop
61 REQUIRED_PACKAGES
+= library
/desktop
/pango
62 REQUIRED_PACKAGES
+= library
/glib2
63 REQUIRED_PACKAGES
+= library
/libarchive
64 REQUIRED_PACKAGES
+= library
/libpoppler
65 REQUIRED_PACKAGES
+= library
/libsecret
66 REQUIRED_PACKAGES
+= library
/libspectre
67 REQUIRED_PACKAGES
+= library
/libsynctex
68 REQUIRED_PACKAGES
+= library
/libxml2
69 REQUIRED_PACKAGES
+= system
/library
70 REQUIRED_PACKAGES
+= system
/library
/math
71 REQUIRED_PACKAGES
+= x11
/library
/libice
72 REQUIRED_PACKAGES
+= x11
/library
/libsm