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 (c) 2016 Sergey Avseyev
13 # Copyright (c) 2020 Michal Nowak
14 # Copyright 2021 Gary Mills
17 SINGLE_PYTHON_VERSION
= yes
18 USE_PARALLEL_BUILD
= Yes
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= claws-mail
22 COMPONENT_VERSION
= 4.3.0
24 COMPONENT_SUMMARY
= The user-friendly
, lightweight
, and fast email client
25 COMPONENT_PROJECT_URL
= https
://www.claws-mail.org
26 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
27 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
28 COMPONENT_ARCHIVE_HASH
= sha256
:24a4d024c36f98add0e0b935cfa03cc6df01bc1b3f479a7a9d6df57705b04b2f
29 COMPONENT_ARCHIVE_URL
= https
://www.claws-mail.org
/download.php?file
=releases
/$(COMPONENT_ARCHIVE
)
30 COMPONENT_FMRI
= mail
/claws-mail
31 COMPONENT_CLASSIFICATION
= Applications
/Internet
32 COMPONENT_LICENSE
= GPL-3
33 COMPONENT_LICENSE_FILE
= COPYING
35 TEST_TARGET
= $(NO_TESTS
)
36 include $(WS_MAKE_RULES
)/common.mk
40 COMPONENT_PREP_ACTION
+= ( cd
$(@D
) && autoreconf
-fi
)
42 CONFIGURE_ENV
+= CPPFLAGS
="$(CPPFLAGS)"
44 CPPFLAGS
+= $(CPPFLAGS.
$(BITS
))
46 CONFIGURE_OPTIONS
+= --disable-dependency-tracking
47 CONFIGURE_OPTIONS
+= --disable-fancy-plugin
48 CONFIGURE_OPTIONS
+= --disable-ldap
49 CONFIGURE_OPTIONS
+= --disable-perl-plugin
50 CONFIGURE_OPTIONS
+= --disable-rssyl-plugin
51 CONFIGURE_OPTIONS
+= --disable-static
52 CONFIGURE_OPTIONS
+= --disable-jpilot
53 CONFIGURE_OPTIONS
+= --disable-valgrind
55 CONFIGURE_ENV
+= PATH
=/usr
/bin
/$(MACH64
):/usr
/bin
56 CONFIGURE_ENV
+= CPPFLAGS
="$(CPPFLAGS)"
58 # Manually added build dependencies
59 # gnu-coreutils is needed for gecho (which is needed for providing the -n option):
60 REQUIRED_PACKAGES
+= file
/gnu-coreutils
62 # Auto-generated dependencies
63 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
64 REQUIRED_PACKAGES
+= image
/library
/librsvg
65 REQUIRED_PACKAGES
+= library
/desktop
/cairo
66 REQUIRED_PACKAGES
+= library
/desktop
/gdk-pixbuf
67 REQUIRED_PACKAGES
+= library
/desktop
/gtk3
68 REQUIRED_PACKAGES
+= library
/desktop
/pango
69 REQUIRED_PACKAGES
+= library
/desktop
/startup-notification
70 REQUIRED_PACKAGES
+= library
/desktop
/xdg
/libcanberra
71 REQUIRED_PACKAGES
+= library
/glib2
72 REQUIRED_PACKAGES
+= library
/gnutls-3
73 REQUIRED_PACKAGES
+= library
/libarchive
74 REQUIRED_PACKAGES
+= library
/libetpan
75 REQUIRED_PACKAGES
+= library
/libical
76 REQUIRED_PACKAGES
+= library
/libnotify
77 REQUIRED_PACKAGES
+= library
/libpoppler
78 REQUIRED_PACKAGES
+= library
/nettle
79 REQUIRED_PACKAGES
+= library
/security
/gpgme
80 REQUIRED_PACKAGES
+= library
/security
/libgpg-error
81 REQUIRED_PACKAGES
+= library
/spell-checking
/enchant
82 REQUIRED_PACKAGES
+= library
/zlib
83 REQUIRED_PACKAGES
+= system
/library
84 REQUIRED_PACKAGES
+= system
/library
/libdbus-glib
85 REQUIRED_PACKAGES
+= web
/curl
86 REQUIRED_PACKAGES
+= x11
/library
/libice
87 REQUIRED_PACKAGES
+= x11
/library
/libsm
88 REQUIRED_PACKAGES
+= x11
/library
/libx11