commit: 0373f4a3550e4ff9360c3c03d62be6aed1d35696
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat Jan 3 15:38:49 2026 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sat Jan 3 15:47:31 2026 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0373f4a3
net-im/meowlnir: add 25.12
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
net-im/meowlnir/Manifest | 2 ++
net-im/meowlnir/meowlnir-25.12.ebuild | 57 +++++++++++++++++++++++++++++++++++
2 files changed, 59 insertions(+)
diff --git a/net-im/meowlnir/Manifest b/net-im/meowlnir/Manifest
index fe9d399283..b5611f0d11 100644
--- a/net-im/meowlnir/Manifest
+++ b/net-im/meowlnir/Manifest
@@ -1,2 +1,4 @@
DIST meowlnir-0.2511.0-vendor.tar.xz 3683168 BLAKE2B
94ea1458255a82215921bf254d7db95e0b4f9e47ab2d46aff4cbb76710e5b046c5800a9a560e90f918d3ad8d082566846503b382da20050b58f54f8914315701
SHA512
2f117557ae070a0560563049135102a52e96be76ab9e942c058567705cfed8faeee5d73c674cc69b56130a38560885514589e2aa621173cee3526458cb113944
+DIST meowlnir-0.2512.0-vendor.tar.xz 3685256 BLAKE2B
0b4dfc034aeb8f0b465df6cf6e39be37f7cb1b3e75655d14584ac11e8016582b083b844b82652b81ac2f78d6b73abe8d1f9215f5a1c5954d66464212a14a9ff8
SHA512
d8a065150e63968396bd16a2c11a5731f5201294933624ca547ae3df682562938a69dfe893a3a6ffb9a0e0e051ab894c98592d88a5640f8f6b6b909d96eac4ad
DIST meowlnir-25.11.tar.gz 77618 BLAKE2B
fab9ae01c7ffeb2a57fb7be76f50b9b0ca1fa059c138e8765ef2b41cb495e7977a5e5578a65e0760c180c6e9188049cb78a6eacf9a67d5ce9eaec13b1ec610ee
SHA512
1170071594809583d954ef0cf163d7ff04d7afc9b0e31ca323170762910900b568dd8db211e1ac3a3b7f487c0305d23f9d23365710f16dc689d6a893d32637ff
+DIST meowlnir-25.12.tar.gz 79160 BLAKE2B
3d118d832bc3705e6675db5e799a895ab586b381787e6677e990898417502e3c7287c4289fe711c9c7aff0425386a309848a59694c2c495ec1222b90d81f3f48
SHA512
df84ecb7183ee4cd90a066114bd35c453b0229c1e213d1e876d11aad891dcdfb1d4f0ff0b6cae72a097728a9addae09d851d97b4f22d380564676f2ef5ad3fec
diff --git a/net-im/meowlnir/meowlnir-25.12.ebuild
b/net-im/meowlnir/meowlnir-25.12.ebuild
new file mode 100644
index 0000000000..92e4ae5bae
--- /dev/null
+++ b/net-im/meowlnir/meowlnir-25.12.ebuild
@@ -0,0 +1,57 @@
+# Copyright 2025-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module
+
+MY_PV="0.$(ver_rs 1-2 '').0"
+MY_P="${PN}-${MY_PV}"
+DESCRIPTION="Opinionated Matrix moderation bot"
+HOMEPAGE="https://github.com/maunium/meowlnir"
+SRC_URI="https://github.com/maunium/${PN}/archive/refs/tags/v${MY_PV}.tar.gz
-> ${P}.tar.gz
+
https://github.com/gentoo-golang-dist/meowlnir/releases/download/v${MY_PV}/${MY_P}-vendor.tar.xz
+"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="AGPL-3+"
+# Go dependency licenses
+LICENSE+=" Apache-2.0 BSD GPL-3+ ISC MIT MPL-2.0 public-domain"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ acct-user/meowlnir
+ dev-libs/olm
+"
+DEPEND="${RDEPEND}"
+
+DOCS=( {CHANGELOG,README}.md )
+
+src_compile() {
+ local MAUTRIX_VERSION=$(awk '/maunium\.net\/go\/mautrix / { print $2 }'
go.mod)
+ local BUILD_TIME=$(date -Iseconds)
+ local go_ldflags=(
+ -X "main.Tag=v${MY_PV}"
+ -X "main.BuildTime=${BUILD_TIME}"
+ -X "maunium.net/go/mautrix.GoModVersion=${MAUTRIX_VERSION}"
+ )
+
+ local -x GOEXPERIMENT=jsonv2
+ ego build -ldflags "${go_ldflags[*]}" ./cmd/meowlnir
+}
+
+src_install() {
+ dobin meowlnir
+ newinitd "${FILESDIR}"/meowlnir.initd meowlnir
+ einstalldocs
+
+ insinto /etc/meowlnir
+ doins config/example-config.yaml
+
+ fowners -R meowlnir:meowlnir /etc/meowlnir
+ fperms 750 /etc/meowlnir
+
+ keepdir /var/lib/meowlnir
+ fowners -R meowlnir:meowlnir /var/lib/meowlnir
+}