summaryrefslogtreecommitdiff
path: root/net-libs/libpsl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-06 21:20:35 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-06 21:20:35 +0000
commitb6ed1e2a15cd8b0ad5c573cbfee3576fa5ee29a4 (patch)
tree1ec8ec6766a5f19885797eec219ed98b78be4b7d /net-libs/libpsl
parent3d013ccac70a281416dccbb6757f76818222cbba (diff)
gentoo auto-resync : 06:11:2022 - 21:20:35
Diffstat (limited to 'net-libs/libpsl')
-rw-r--r--net-libs/libpsl/Manifest1
-rw-r--r--net-libs/libpsl/libpsl-0.21.1-r1.ebuild73
2 files changed, 74 insertions, 0 deletions
diff --git a/net-libs/libpsl/Manifest b/net-libs/libpsl/Manifest
index 056fb87cf67a..c998d7de1053 100644
--- a/net-libs/libpsl/Manifest
+++ b/net-libs/libpsl/Manifest
@@ -1,5 +1,6 @@
DIST libpsl-0.21.0.tar.gz 9217951 BLAKE2B fd93b71ae4969bb920af26e10e0e419dab62db37197046b0f4e4a0e009a150582df6d4c8fe33218fa8be869e6ad9688d3c325c3f635da5560e29269daa461668 SHA512 165c4f0b0640a813d512bd916e1532e32e43c8c81a5efd048f3a5b07b1b3c9129b4c4b5008b8b11a7c1b3914caea17564321389cd350bf1d687d53a97f2afa4d
DIST libpsl-0.21.1.tar.gz 9199351 BLAKE2B 87c72651303a7870fd3f742e9ce8028e0dd48d3ded78ae7dea317ce54b98975f372429399b6a2d6746fd8e074d6a3ed13772b6c173f96c3a86aa7d726fd75586 SHA512 a5084b9df4ff2a0b1f5074b20972efe0da846473396d27b57967c7f6aa190ab3c910b4bfc4f8f03802f08decbbad5820d850c36ad59610262ae37fe77de0c7f5
EBUILD libpsl-0.21.0.ebuild 1482 BLAKE2B 5b31899b18c634047d32b55d82fe2e0f7c78318492aef52af159bbd4db5c1a7a8fa505cf2fe0f28d4b4d2dc53b4e24cac4b90f09b873c0606b00140efdb31cc2 SHA512 e514bd98166aa2be3a15a92392346e0552f6ce380dfcff131a757cde1e53f010911fe9786bd9ee718093a81ddd77e3094bca45bedf1e2fb7cb1da446a38f1d4f
+EBUILD libpsl-0.21.1-r1.ebuild 1555 BLAKE2B b7c7774027a8da807e6414291c17cf44a24c50258847e18de13cb74d8b27410f746a7c835aecc21b32200e47610d40fb88787e5c735c63fee28ad5d019206f71 SHA512 29cb72b93fc031e32133c33c5415ec7becc60d3ca32af3a68d8f0005f8d99b2fad386de80e66398077c51ddc40fe7d6fbb5c48a23e99b3c50573e8c160d1223c
EBUILD libpsl-0.21.1.ebuild 1510 BLAKE2B 4718b48fc1e3094d5b45831483810a441ddf11c15fde853c8005319d3518421342c8b7757190cf597fcc820b960a88d8dfb4b558e3dc9f877cf518bb5631a8e9 SHA512 af4b7475011a5a751988ec55e01a0fe76923dafb407788aa7785fc6d5a199d04c5c60eda1a5fce4b5afbbee92fffbf2ac83ce46df6741a8ba08bff89867291ba
MISC metadata.xml 255 BLAKE2B 36ae66735664b8ed69846146d268e59f89bbea0d01d46f692709b9bfc521f70875a331b0995442435566e1896d9090bc9d9a6b9a63bf5de51b55d9a095f60d7a SHA512 4ce190fd174d39c74bce7eec22d651f9f15248ebbb7a2ffb68f7c9bae01ed412b6652285fcbb055770896d8ea0a1241c3aea30c2a0f4c223aba3b1dd723f1b9e
diff --git a/net-libs/libpsl/libpsl-0.21.1-r1.ebuild b/net-libs/libpsl/libpsl-0.21.1-r1.ebuild
new file mode 100644
index 000000000000..59acf63ddf81
--- /dev/null
+++ b/net-libs/libpsl/libpsl-0.21.1-r1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+inherit flag-o-matic multilib-minimal python-any-r1
+
+DESCRIPTION="C library for the Public Suffix List"
+HOMEPAGE="https://github.com/rockdaboot/libpsl"
+SRC_URI="https://github.com/rockdaboot/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="icu +idn +man"
+
+RDEPEND="
+ icu? ( !idn? ( dev-libs/icu:=[${MULTILIB_USEDEP}] ) )
+ idn? (
+ dev-libs/libunistring:=[${MULTILIB_USEDEP}]
+ net-dns/libidn2:=[${MULTILIB_USEDEP}]
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="${PYTHON_DEPS}
+ dev-util/gtk-doc-am
+ sys-devel/gettext
+ virtual/pkgconfig
+ man? ( dev-libs/libxslt )
+"
+
+pkg_pretend() {
+ if use icu && use idn ; then
+ ewarn "\"icu\" and \"idn\" USE flags are enabled."
+ ewarn "Using \"idn\"."
+ fi
+}
+
+multilib_src_configure() {
+ append-lfs-flags # bug 880077
+
+ local myeconfargs=(
+ --disable-asan
+ --disable-cfi
+ --disable-ubsan
+ --disable-static
+ $(use_enable man)
+ )
+
+ # Prefer idn even if icu is in USE as well
+ if use idn ; then
+ myeconfargs+=(
+ --enable-builtin=libidn2
+ --enable-runtime=libidn2
+ )
+ elif use icu ; then
+ myeconfargs+=(
+ --enable-builtin=libicu
+ --enable-runtime=libicu
+ )
+ else
+ myeconfargs+=( --disable-runtime )
+ fi
+
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_install() {
+ default
+
+ find "${ED}" -type f -name "*.la" -delete || die
+}