Andreas Wacknitz
2024-03-29 970adddbfc48d143ebaae950543ddbfcb6eb25c5
commit | author | age
81d33e 1 #
AP 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.
5 #
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.
9 #
10
11 #
12 # Copyright 2016 Alexander Pyhalov
5e7f93 13 # Copyright 2019 Michal Nowak
8f9d9e 14 # Copyright 2020 Marco van Wieringen
c00044 15 # Copyright (c) 2021 Tim Mooney.  All rights reserved
6ebf04 16 # Copyright 2022 Andreas Wacknitz
81d33e 17 #
AP 18
6ebf04 19 MATE_CATEGORY= APP
AW 20 BUILD_STYLE= configure
66a54f 21 USE_PARALLEL_BUILD= yes
81d33e 22 include ../../../../make-rules/shared-macros.mk
6ebf04 23 include $(WS_MAKE_RULES)/mate.mk
81d33e 24
AP 25 COMPONENT_NAME=        atril
777487 26 COMPONENT_MJR_VERSION=    1.28
AW 27 COMPONENT_MNR_VERSION=    0
66a54f 28 COMPONENT_REVISION=    1
81d33e 29 COMPONENT_SUMMARY=    MATE PDF document viewer
777487 30 COMPONENT_ARCHIVE_HASH= sha256:ced4725f6e9b71c4ea63676bfc3cc3be09d29dba08aa7a7ab97964e0b4355162
5e7f93 31 COMPONENT_FMRI=        desktop/pdf-viewer/atril
81d33e 32 COMPONENT_CLASSIFICATION=    Applications/Office
5e7f93 33 COMPONENT_LICENSE=    GPLv3
MN 34 COMPONENT_LICENSE_FILE=    COPYING
81d33e 35
f7a724 36 include $(WS_MAKE_RULES)/common.mk
81d33e 37
c00044 38 # gobject-introspection
TM 39 COMPONENT_BUILD_ENV += GI_SCANNER_DISABLE_CACHE=""
40
fe9309 41 CONFIGURE_OPTIONS += --enable-introspection
c00044 42 # tested atril 1.26.0 with epub support and it's still poor.  It
TM 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?
fe9309 47 CONFIGURE_OPTIONS += --disable-epub
81d33e 48
c00044 49 # test suite requires a python module called 'dogtail'
TM 50 # for testing GUI applications which we don't currently package.
51
1d3adb 52 # Auto-generated dependencies
81d33e 53 REQUIRED_PACKAGES += desktop/mate/caja
AP 54 REQUIRED_PACKAGES += image/djvulibre
55 REQUIRED_PACKAGES += image/library/libtiff
56 REQUIRED_PACKAGES += library/desktop/atk
57 REQUIRED_PACKAGES += library/desktop/cairo
58 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
2f9b51 59 REQUIRED_PACKAGES += library/desktop/gtk3
777487 60 REQUIRED_PACKAGES += library/desktop/mate/mate-desktop
81d33e 61 REQUIRED_PACKAGES += library/desktop/pango
AP 62 REQUIRED_PACKAGES += library/glib2
72cd62 63 REQUIRED_PACKAGES += library/libarchive
81d33e 64 REQUIRED_PACKAGES += library/libpoppler
AP 65 REQUIRED_PACKAGES += library/libsecret
66 REQUIRED_PACKAGES += library/libspectre
8f9d9e 67 REQUIRED_PACKAGES += library/libsynctex
81d33e 68 REQUIRED_PACKAGES += library/libxml2
AP 69 REQUIRED_PACKAGES += system/library
70 REQUIRED_PACKAGES += system/library/math
71 REQUIRED_PACKAGES += x11/library/libice
72 REQUIRED_PACKAGES += x11/library/libsm