summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2024-07-04 16:10:32 +0200
committerConrad Kostecki <conikost@gentoo.org>2024-07-05 19:41:17 +0200
commit096290ef69b7dfb968130ae442c0473304acb842 (patch)
tree36d84219ae375b9f068ca8116470f34f6595be2f /net-libs/libmicrodns
parentnet-misc/openssh-contrib: remove unused patches (diff)
downloadgentoo-096290ef69b7dfb968130ae442c0473304acb842.tar.gz
gentoo-096290ef69b7dfb968130ae442c0473304acb842.tar.bz2
gentoo-096290ef69b7dfb968130ae442c0473304acb842.zip
net-libs/libmicrodns: add 0.2.0
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://bugs.gentoo.org/764227 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'net-libs/libmicrodns')
-rw-r--r--net-libs/libmicrodns/Manifest1
-rw-r--r--net-libs/libmicrodns/libmicrodns-0.2.0.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/net-libs/libmicrodns/Manifest b/net-libs/libmicrodns/Manifest
index 213f1c4e11f9..33dd11e9637f 100644
--- a/net-libs/libmicrodns/Manifest
+++ b/net-libs/libmicrodns/Manifest
@@ -1 +1,2 @@
DIST microdns-0.1.2.tar.xz 49420 BLAKE2B 247a82c3bb038487390ba967387e9d4cec638ee5315290387c5b8863afbd45cc0700a3ee6c0308db253a161b5c1d345f77808de96df3f31bfaa2ff74e8fa3c05 SHA512 a6b15c65c74560fdba8973c63ffae9cdde4445f54196bb2d7d6348f6c15f8f162ef0a4e91b969ea3f2a60c701c3cc72799fcfba2fbf08c37f71ba8d5e3409702
+DIST microdns-0.2.0.tar.xz 50544 BLAKE2B 6f224f7c891e2f14e7c1c97a259ffb323193f8362a728559a506dada6726b25618f86b71f33d7dd0c240d943f5e6b44fadcd2deabff7bacaa53968128d350a0c SHA512 fc642d463f52409e76515897e3662b7b08ee35dc760e595980c343a4fd24f1b76cdfbd4f91ea2115a02243be8ae8908670440ead96715c8983abb2a8559702b6
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
+}