All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Perez de Castro <aperez@igalia.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] package/libpsl: new package
Date: Thu, 20 May 2021 00:26:36 +0300	[thread overview]
Message-ID: <20210519212637.1282972-2-aperez@igalia.com> (raw)
In-Reply-To: <20210519212637.1282972-1-aperez@igalia.com>

Package libpsl is a new non-optional dependency of libsoup.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
---
 DEVELOPERS                 |  1 +
 package/Config.in          |  1 +
 package/libpsl/Config.in   |  5 +++++
 package/libpsl/libpsl.hash |  2 ++
 package/libpsl/libpsl.mk   | 28 ++++++++++++++++++++++++++++
 5 files changed, 37 insertions(+)
 create mode 100644 package/libpsl/Config.in
 create mode 100644 package/libpsl/libpsl.hash
 create mode 100644 package/libpsl/libpsl.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index a90ad1c354..4286ca5baf 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -35,6 +35,7 @@ F:	package/bubblewrap/
 F:	package/cage/
 F:	package/cog/
 F:	package/libepoxy/
+F:	package/libpsl/
 F:	package/libwpe/
 F:	package/webkitgtk/
 F:	package/wlroots/
diff --git a/package/Config.in b/package/Config.in
index 82b28d2835..eaa30ea161 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1788,6 +1788,7 @@ menu "Networking"
 	source "package/libpagekite/Config.in"
 	source "package/libpcap/Config.in"
 	source "package/libpjsip/Config.in"
+	source "package/libpsl/Config.in"
 	source "package/librelp/Config.in"
 	source "package/librsync/Config.in"
 	source "package/libshairplay/Config.in"
diff --git a/package/libpsl/Config.in b/package/libpsl/Config.in
new file mode 100644
index 0000000000..cecd12c983
--- /dev/null
+++ b/package/libpsl/Config.in
@@ -0,0 +1,5 @@
+config BR2_PACKAGE_LIBPSL
+	bool "libpsl"
+	depends on BR2_PACKAGE_ICU || BR2_PACKAGE_LIBIDN2 || BR2_PACKAGE_LIBIDN
+	help
+	  C library to handle the Public Suffix List of TLDs.
diff --git a/package/libpsl/libpsl.hash b/package/libpsl/libpsl.hash
new file mode 100644
index 0000000000..6c1c640e98
--- /dev/null
+++ b/package/libpsl/libpsl.hash
@@ -0,0 +1,2 @@
+# Locally generated
+sha512  a5084b9df4ff2a0b1f5074b20972efe0da846473396d27b57967c7f6aa190ab3c910b4bfc4f8f03802f08decbbad5820d850c36ad59610262ae37fe77de0c7f5  libpsl-0.21.1.tar.gz
diff --git a/package/libpsl/libpsl.mk b/package/libpsl/libpsl.mk
new file mode 100644
index 0000000000..5a1336d7ce
--- /dev/null
+++ b/package/libpsl/libpsl.mk
@@ -0,0 +1,28 @@
+################################################################################
+#
+# libpsl
+#
+################################################################################
+
+LIBPSL_VERSION = 0.21.1
+LIBPSL_SITE = https://github.com/rockdaboot/libpsl/releases/download/$(LIBPSL_VERSION)
+LIBPSL_INSTALL_STAGING = YES
+LIBPSL_DEPENDENCIES = host-pkgconf
+LIBPSL_LICENSE = MIT
+LIBPSL_LICENSE_FILES = COPYING
+LIBPSL_CONF_OPTS = -Ddocs=false
+
+ifeq ($(BR2_PACKAGE_ICU),y)
+LIBPSL_CONF_OPTS += -Druntime=libicu -Dbuiltin=libicu
+LIBPSL_DEPENDENCIES += icu
+else
+ifeq ($(BR2_PACKAGE_LIBIDN2),y)
+LIBPSL_CONF_OPTS += -Druntime=libidn2 -Dbuiltin=libidn2
+LIBPSL_DEPENDENCIES += libidn2
+else
+LIBPSL_CONF_OPTS += -Druntime=libidn -Dbuiltin=libidn
+LIBPSL_DEPENDENCIES += libidn
+endif
+endif
+
+$(eval $(meson-package))
-- 
2.31.1

  reply	other threads:[~2021-05-19 21:26 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-19 21:26 [Buildroot] [PATCH 0/2] Update to latest libsoup2 Adrian Perez de Castro
2021-05-19 21:26 ` Adrian Perez de Castro [this message]
2021-05-20  7:11   ` [Buildroot] [PATCH 1/2] package/libpsl: new package Arnout Vandecappelle
2021-05-20 10:49     ` Adrian Perez de Castro
2021-05-20 11:10       ` Arnout Vandecappelle
2021-05-20 11:25         ` Adrian Perez de Castro
2021-05-19 21:26 ` [Buildroot] [PATCH 2/2] package/libsoup: bump to version 2.66.5 Adrian Perez de Castro
2021-05-20 11:09 ` [Buildroot] [PATCH v2 0/2] Update to latest libsoup2 Adrian Perez de Castro
2021-05-20 11:09   ` [Buildroot] [PATCH v2 1/2] package/libpsl: new package Adrian Perez de Castro
2021-05-21 10:27     ` Adrian Perez de Castro
2021-05-20 11:09   ` [Buildroot] [PATCH v2 2/2] package/libsoup: bump to version 2.66.5 Adrian Perez de Castro
2021-05-21 10:37   ` [Buildroot] [PATCH v3 0/2] Update to latest libsoup2 Adrian Perez de Castro
2021-05-21 10:37     ` [Buildroot] [PATCH v3 1/2] package/libpsl: new package Adrian Perez de Castro
2021-05-24 13:26       ` Yann E. MORIN
2021-05-24 14:17         ` Adrian Perez de Castro
2021-05-21 10:37     ` [Buildroot] [PATCH v3 2/2] package/libsoup: bump to version 2.66.5 Adrian Perez de Castro
2021-05-24 13:23     ` [Buildroot] [PATCH v3 0/2] Update to latest libsoup2 Yann E. MORIN

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210519212637.1282972-2-aperez@igalia.com \
    --to=aperez@igalia.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.