summaryrefslogtreecommitdiff
path: root/net-libs/libmicrodns
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/libmicrodns')
-rw-r--r--net-libs/libmicrodns/Manifest4
-rw-r--r--net-libs/libmicrodns/libmicrodns-0.2.0.ebuild31
-rw-r--r--net-libs/libmicrodns/libmicrodns-9999.ebuild4
3 files changed, 36 insertions, 3 deletions
diff --git a/net-libs/libmicrodns/Manifest b/net-libs/libmicrodns/Manifest
index 6d66485ac646..e13a18c394ba 100644
--- a/net-libs/libmicrodns/Manifest
+++ b/net-libs/libmicrodns/Manifest
@@ -1,4 +1,6 @@
DIST microdns-0.1.2.tar.xz 49420 BLAKE2B 247a82c3bb038487390ba967387e9d4cec638ee5315290387c5b8863afbd45cc0700a3ee6c0308db253a161b5c1d345f77808de96df3f31bfaa2ff74e8fa3c05 SHA512 a6b15c65c74560fdba8973c63ffae9cdde4445f54196bb2d7d6348f6c15f8f162ef0a4e91b969ea3f2a60c701c3cc72799fcfba2fbf08c37f71ba8d5e3409702
+DIST microdns-0.2.0.tar.xz 50544 BLAKE2B 6f224f7c891e2f14e7c1c97a259ffb323193f8362a728559a506dada6726b25618f86b71f33d7dd0c240d943f5e6b44fadcd2deabff7bacaa53968128d350a0c SHA512 fc642d463f52409e76515897e3662b7b08ee35dc760e595980c343a4fd24f1b76cdfbd4f91ea2115a02243be8ae8908670440ead96715c8983abb2a8559702b6
EBUILD libmicrodns-0.1.2.ebuild 697 BLAKE2B 55ddb8252a091d04220bafc621bc8372c0889af4d871bd91a28f530268c5556b078a1794ace5408881e13ee27ffebe51c61bb20e0821669f72a08a96d5e7d564 SHA512 513205c31d900d803c11ff97d67cd944ae2bf0d01b229fefe350e85c4b6148bdaae11cab0736de4dda8d73d4d85d706080fa28c505a0dfaa3670b2e5e68c818f
-EBUILD libmicrodns-9999.ebuild 702 BLAKE2B 450e158c3a29a2aae07524991544e20e0f32f21a384b6adf1fe41a0e906d9a7b25e464a4cda3fac3fad1d3d8d3e99abf98b13f132ab8b36f3055b1bcbece848c SHA512 d6be2b918b1eb3656648ecfabab89b5ebd841ec3d2cdf9898ab17535e9c7de638dca67aeb58cbcc0f47e6528cdf1f819aca8fafa51673c3ae6003ccdadf4fcb8
+EBUILD libmicrodns-0.2.0.ebuild 702 BLAKE2B 038522448de8769fe798548748d5287525fcf723a67de3d160a76c66f5acfa60dbeb72bd788cdc18927a11c10bb505cd7e3fe1d5100188ec15616282e57678f7 SHA512 4aa3d43afba636f1593a07d1a3f4bb3532cea020354b91a4c20ba7d96f2952462605935e40351020f68cd53a195bc53c17c076ded1546fa03a01e60772bed3df
+EBUILD libmicrodns-9999.ebuild 702 BLAKE2B 038522448de8769fe798548748d5287525fcf723a67de3d160a76c66f5acfa60dbeb72bd788cdc18927a11c10bb505cd7e3fe1d5100188ec15616282e57678f7 SHA512 4aa3d43afba636f1593a07d1a3f4bb3532cea020354b91a4c20ba7d96f2952462605935e40351020f68cd53a195bc53c17c076ded1546fa03a01e60772bed3df
MISC metadata.xml 254 BLAKE2B 4f83405f0c5f776131825e94db2344f42dbcae710a30024d85374b3d0a3945f711c4f45f85f30a3b09eed0775dd38be7e73c2cc27016cbf2203e0ebef6addf41 SHA512 1df82bee3f7e4594a26a409efeda2283088993cafd502ccc7bf68fc73b2c857b1d61268a0a32933ef99f413d9541e8473e69969805240855da97ebdec9601f99
diff --git a/net-libs/libmicrodns/libmicrodns-0.2.0.ebuild b/net-libs/libmicrodns/libmicrodns-0.2.0.ebuild
new file mode 100644
index 000000000000..f69d9a32988b
--- /dev/null
+++ b/net-libs/libmicrodns/libmicrodns-0.2.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+DESCRIPTION="Minimal mDNS resolver (and announcer) library"
+HOMEPAGE="https://videolabs.io"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/videolabs/${PN}"
+else
+ SRC_URI="https://github.com/videolabs/${PN}/releases/download/${PV}/${P/lib/}.tar.xz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+ S="${WORKDIR}/${P/lib/}"
+fi
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+IUSE="examples test"
+RESTRICT="!test? ( test )"
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature examples)
+ $(meson_feature test tests)
+ )
+ meson_src_configure
+}
diff --git a/net-libs/libmicrodns/libmicrodns-9999.ebuild b/net-libs/libmicrodns/libmicrodns-9999.ebuild
index a32f68efe0d1..f69d9a32988b 100644
--- a/net-libs/libmicrodns/libmicrodns-9999.ebuild
+++ b/net-libs/libmicrodns/libmicrodns-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit meson