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 2023 Friedrich Kink
18 USE_PARALLEL_BUILD
= yes
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= gthumb
22 COMPONENT_VERSION
= 3.12.6
24 COMPONENT_SUMMARY
= GNOME image organizer
(gthumb
)
25 COMPONENT_PROJECT_URL
= https
://wiki.gnome.org
/Apps
/gthumb
26 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
27 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
28 COMPONENT_ARCHIVE_HASH
= sha256
:608770c6c8e73073a1d404b65bd1b761e1ac5dc25e70130ff072488fa92f5c33
29 COMPONENT_ARCHIVE_URL
= https
://download.gnome.org
/sources
/$(COMPONENT_NAME
)/3.12/$(COMPONENT_ARCHIVE
)
30 COMPONENT_FMRI
= image
/viewer
/gthumb
31 COMPONENT_CLASSIFICATION
=Applications
/Graphics and Imaging
32 COMPONENT_LICENSE
= GPLv2
33 COMPONENT_LICENSE_FILE
= COPYING
35 include $(WS_MAKE_RULES
)/common.mk
40 CPPFLAGS
+= -I
/usr
/include/lcms2
42 #CPPFLAGS += $(JPEG_CPPFLAGS)
43 #CFLAGS += $(JPEG_CFLAGS)
44 #LDFLAGS += $(JPEG_LDFLAGS)
46 CONFIGURE_OPTIONS
+= --sysconfdir
=$(ETCDIR
)
47 CONFIGURE_OPTIONS
+= --libexecdir
=$(USRLIBDIR
)
49 CONFIGURE_ENV
+= CPPFLAGS
="$(CPPFLAGS)"
51 COMPONENT_TEST_TRANSFORMS
= \
52 '-e "s/OK.*$$/OK/" ' \
53 '-e "/^Full log written to/d" '
56 REQUIRED_PACKAGES
+= library
/gnome
/yelp-tools
57 REQUIRED_PACKAGES
+= text
/itstool
59 # Auto-generated dependencies
60 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
61 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
62 REQUIRED_PACKAGES
+= $(JPEG_IMPLEM_PKG
)
63 REQUIRED_PACKAGES
+= desktop
/cd-burning
/brasero
64 REQUIRED_PACKAGES
+= image
/library
/exiv2
65 REQUIRED_PACKAGES
+= image
/library
/libpng16
66 REQUIRED_PACKAGES
+= image
/library
/libraw
67 REQUIRED_PACKAGES
+= image
/library
/librsvg
68 REQUIRED_PACKAGES
+= image
/library
/libtiff
69 REQUIRED_PACKAGES
+= library
/audio
/gstreamer1
70 REQUIRED_PACKAGES
+= library
/audio
/gstreamer1
/plugin
/base
71 REQUIRED_PACKAGES
+= library
/desktop
/cairo
72 REQUIRED_PACKAGES
+= library
/desktop
/clutter
73 REQUIRED_PACKAGES
+= library
/desktop
/clutter
/clutter-gtk
74 REQUIRED_PACKAGES
+= library
/desktop
/gdk-pixbuf
75 REQUIRED_PACKAGES
+= library
/desktop
/gtk3
76 REQUIRED_PACKAGES
+= library
/desktop
/libchamplain
77 REQUIRED_PACKAGES
+= library
/desktop
/pango
78 REQUIRED_PACKAGES
+= library
/desktop
/webkitgtk2
79 REQUIRED_PACKAGES
+= library
/glib2
80 REQUIRED_PACKAGES
+= library
/lcms2
81 REQUIRED_PACKAGES
+= library
/libsecret
82 REQUIRED_PACKAGES
+= library
/libsoup
83 REQUIRED_PACKAGES
+= library
/libwebp
84 REQUIRED_PACKAGES
+= library
/zlib
85 REQUIRED_PACKAGES
+= system
/library
86 REQUIRED_PACKAGES
+= system
/library
/math
87 REQUIRED_PACKAGES
+= x11
/library
/libx11