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 2017 Alexander Pyhalov
13 # Copyright 2019 Michal Nowak
14 # Copyright (c) 2021 Tim Mooney. All rights reserved
15 # Copyright 2022 Andreas Wacknitz
19 BUILD_STYLE
= configure
20 include ..
/..
/..
/make-rules
/shared-macros.mk
21 include $(WS_MAKE_RULES
)/mate.mk
24 COMPONENT_MJR_VERSION
= 1.28
25 COMPONENT_MNR_VERSION
= 0
26 COMPONENT_SUMMARY
= MATE image viewer
27 COMPONENT_ARCHIVE_HASH
= sha256
:9a01cab2995a1a8c7258c865eae5f182ed4730c44672afdc3a07e423edd53abc
28 COMPONENT_ARCHIVE_URL
= https
://pub.mate-desktop.org
/releases
/$(COMPONENT_MJR_VERSION
)/$(COMPONENT_ARCHIVE
)
29 COMPONENT_FMRI
= image
/viewer
/eom
30 COMPONENT_CLASSIFICATION
= Applications
/Graphics and Imaging
31 COMPONENT_LICENSE
= GPLv2
32 COMPONENT_LICENSE_FILE
= COPYING
34 include $(WS_MAKE_RULES
)/common.mk
36 # build with the system default libjpeg
37 CFLAGS
+= $(JPEG_CPPFLAGS
) $(JPEG_CFLAGS
)
38 CXXFLAGS
+= $(JPEG_CPPFLAGS
) $(JPEG_CXXFLAGS
)
39 CPPFLAGS
+= $(JPEG_CPPFLAGS
)
40 LDFLAGS
+= $(JPEG_LDFLAGS
)
44 CONFIGURE_ENV
+= CPPFLAGS
="$(CPPFLAGS)"
46 COMPONENT_INSTALL_ENV
+= GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
=1
48 # formerly part of auto-generated dependencies, no longer detected
49 REQUIRED_PACKAGES
+= system
/library
/libdbus-glib
51 # Auto-generated dependencies
52 REQUIRED_PACKAGES
+= $(JPEG_IMPLEM_PKG
)
53 REQUIRED_PACKAGES
+= image
/library
/libexif
54 REQUIRED_PACKAGES
+= image
/library
/librsvg
55 REQUIRED_PACKAGES
+= library
/desktop
/atk
56 REQUIRED_PACKAGES
+= library
/desktop
/cairo
57 REQUIRED_PACKAGES
+= library
/desktop
/gdk-pixbuf
58 REQUIRED_PACKAGES
+= library
/desktop
/gobject
/gobject-introspection
59 REQUIRED_PACKAGES
+= library
/desktop
/gtk3
60 REQUIRED_PACKAGES
+= library
/desktop
/libpeas
61 REQUIRED_PACKAGES
+= library
/desktop
/mate
/mate-desktop
62 REQUIRED_PACKAGES
+= library
/glib2
63 REQUIRED_PACKAGES
+= library
/lcms2
64 REQUIRED_PACKAGES
+= library
/libxml2
65 REQUIRED_PACKAGES
+= library
/zlib
66 REQUIRED_PACKAGES
+= system
/library
67 REQUIRED_PACKAGES
+= system
/library
/math
68 REQUIRED_PACKAGES
+= x11
/library
/libx11