Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/simple-mail: new package
@ 2021-01-06 20:52 Zoltan Gyarmati
  2022-01-09  9:02 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Zoltan Gyarmati @ 2021-01-06 20:52 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Zoltan Gyarmati <zgyarmati@zgyarmati.de>
---
 DEVELOPERS                           |  1 +
 package/Config.in                    |  1 +
 package/simple-mail/Config.in        |  9 +++++++++
 package/simple-mail/simple-mail.hash |  5 +++++
 package/simple-mail/simple-mail.mk   | 14 ++++++++++++++
 5 files changed, 30 insertions(+)
 create mode 100644 package/simple-mail/Config.in
 create mode 100644 package/simple-mail/simple-mail.hash
 create mode 100644 package/simple-mail/simple-mail.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index 258a51a14c..334b8f76db 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2821,4 +2821,5 @@ F:	package/python-iniparse/
 F:	package/qjson/
 F:	package/quazip/
 F:	package/shapelib/
+F:	package/simple-mail/
 F:	package/tinc/
diff --git a/package/Config.in b/package/Config.in
index 7264198001..c4d950b438 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -348,6 +348,7 @@ comment "QT libraries and helper libraries"
 	source "package/qjson/Config.in"
 	source "package/quazip/Config.in"
 	source "package/qwt/Config.in"
+	source "package/simple-mail/Config.in"
 endif
 	source "package/tekui/Config.in"
 	source "package/weston/Config.in"
diff --git a/package/simple-mail/Config.in b/package/simple-mail/Config.in
new file mode 100644
index 0000000000..681a8410db
--- /dev/null
+++ b/package/simple-mail/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_SIMPLE_MAIL
+	bool "simple-mail"
+	depends on BR2_PACKAGE_QT5
+	select BR2_PACKAGE_QT5BASE_NETWORK
+	select BR2_PACKAGE_OPENSSL
+	help
+	  An SMTP library written in C++ for Qt.
+
+	  https://github.com/cutelyst/simple-mail
diff --git a/package/simple-mail/simple-mail.hash b/package/simple-mail/simple-mail.hash
new file mode 100644
index 0000000000..6126d786c5
--- /dev/null
+++ b/package/simple-mail/simple-mail.hash
@@ -0,0 +1,5 @@
+# Locally calculated
+sha256  56e258612620af41d77eb7294aed84fbdd8eea42b0cf00e8620b1ee0059144d5  simple-mail-2.2.0.tar.gz
+
+# Hash for license file
+sha256  592987e8510228d546540b84a22444bde98e48d03078d3b2eefcd889bec5ce8c  LICENSE
diff --git a/package/simple-mail/simple-mail.mk b/package/simple-mail/simple-mail.mk
new file mode 100644
index 0000000000..61a806e1ed
--- /dev/null
+++ b/package/simple-mail/simple-mail.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# simple-mail
+#
+################################################################################
+
+SIMPLE_MAIL_VERSION = 2.2.0
+SIMPLE_MAIL_SITE = $(call github,cutelyst,simple-mail,v$(SIMPLE_MAIL_VERSION))
+SIMPLE_MAIL_INSTALL_STAGING = YES
+SIMPLE_MAIL_LICENSE = LGPL-2.1+
+SIMPLE_MAIL_LICENSE_FILES = LICENSE
+SIMPLE_MAIL_DEPENDENCIES = qt5base
+
+$(eval $(cmake-package))
-- 
2.25.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH] package/simple-mail: new package
  2021-01-06 20:52 [Buildroot] [PATCH] package/simple-mail: new package Zoltan Gyarmati
@ 2022-01-09  9:02 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2022-01-09  9:02 UTC (permalink / raw)
  To: Zoltan Gyarmati; +Cc: buildroot

On Wed,  6 Jan 2021 21:52:06 +0100
Zoltan Gyarmati <zgyarmati@zgyarmati.de> wrote:

> Signed-off-by: Zoltan Gyarmati <zgyarmati@zgyarmati.de>
> ---
>  DEVELOPERS                           |  1 +
>  package/Config.in                    |  1 +
>  package/simple-mail/Config.in        |  9 +++++++++
>  package/simple-mail/simple-mail.hash |  5 +++++
>  package/simple-mail/simple-mail.mk   | 14 ++++++++++++++
>  5 files changed, 30 insertions(+)
>  create mode 100644 package/simple-mail/Config.in
>  create mode 100644 package/simple-mail/simple-mail.hash
>  create mode 100644 package/simple-mail/simple-mail.mk

After almost one year, patch is applied! I bumped to the latest
version, 2.3.0, and had to disable the demos because some of them need
QtWidgets, which this package doesn't require.

Thanks a lot!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-09  9:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-06 20:52 [Buildroot] [PATCH] package/simple-mail: new package Zoltan Gyarmati
2022-01-09  9:02 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox