From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1706906-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 752DD15813A
	for <garchives@archives.gentoo.org>; Tue, 07 Jan 2025 13:51:30 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id D005DE0769;
	Tue, 07 Jan 2025 13:51:29 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id B8CD7E0769
	for <gentoo-commits@lists.gentoo.org>; Tue, 07 Jan 2025 13:51:29 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id D9DE9335DE9
	for <gentoo-commits@lists.gentoo.org>; Tue, 07 Jan 2025 13:51:28 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 46F451870
	for <gentoo-commits@lists.gentoo.org>; Tue, 07 Jan 2025 13:51:27 +0000 (UTC)
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" <ulm@gentoo.org>
Message-ID: <1736257879.894ef66ddd94162b5aaddc14adb37b0f6cd8814f.ulm@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/openmittsu/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-im/openmittsu/Manifest net-im/openmittsu/openmittsu-0.10.1.0.ebuild
X-VCS-Directories: net-im/openmittsu/
X-VCS-Committer: ulm
X-VCS-Committer-Name: Ulrich Müller
X-VCS-Revision: 894ef66ddd94162b5aaddc14adb37b0f6cd8814f
X-VCS-Branch: master
Date: Tue, 07 Jan 2025 13:51:27 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 237e8237-493b-4dd8-a3d2-da40ec2474c2
X-Archives-Hash: b0f719bc3e5ad1b2adbd035e686449ce

commit:     894ef66ddd94162b5aaddc14adb37b0f6cd8814f
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  7 13:50:54 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Jan  7 13:51:19 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=894ef66d

net-im/openmittsu: add 0.10.1.0

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 net-im/openmittsu/Manifest                   |  1 +
 net-im/openmittsu/openmittsu-0.10.1.0.ebuild | 62 ++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)

diff --git a/net-im/openmittsu/Manifest b/net-im/openmittsu/Manifest
index f396862e2e46..0cd06a7ee1ca 100644
--- a/net-im/openmittsu/Manifest
+++ b/net-im/openmittsu/Manifest
@@ -1 +1,2 @@
 DIST openmittsu-0.10.0.0.tar.xz 2345724 BLAKE2B 407fe07147b17e6ac6ec2381e77256d09824fce87f1d9d141d2940e566191e911b05fb3d6701d342be9bb667551903f4f8913cbb25f504100e92ab4a38339555 SHA512 d4334c8516efcd63a3e9dfcf9f9655922aa14b2574f39269cf7019a8c951144569138c2a0a75abb16e2746a33002f0c07ef6c86dbdb5405e11c315ec630eb0d0
+DIST openmittsu-0.10.1.0.tar.xz 2272080 BLAKE2B bf91a5d2cdaadc002c1db0bb86246c6ae47809eace96ebabcc963875d2d5ce0f21f9a53e2cbd230335647cbad08a0d6e73ef57157e71a3b66e42d1493bebb07d SHA512 fb612b79b9de7224690c2a7ce4235e72c9aa60da6e89e578c0fef23cb2093bd88798edd90885cf3dc4d8ce61e5ec5aeb66b0066c2666132fc3f0989f8fef066c

diff --git a/net-im/openmittsu/openmittsu-0.10.1.0.ebuild b/net-im/openmittsu/openmittsu-0.10.1.0.ebuild
new file mode 100644
index 000000000000..6e4e8a7cd724
--- /dev/null
+++ b/net-im/openmittsu/openmittsu-0.10.1.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake desktop
+
+DESCRIPTION="Open source chat client for Threema-style end-to-end encrypted chat networks"
+HOMEPAGE="https://www.openmittsu.de/"
+# snapshot of https://github.com/blizzard4591/openMittsu.git
+# git-archive-all.sh --prefix ${P}/ -- - | xz > ${P}.tar.xz
+SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
+
+LICENSE="GPL-2+ BitstreamVera OFL-1.1 Apache-2.0 CC0-1.0 MIT BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-db/qt5-sqlcipher
+	>=dev-libs/libsodium-1.0.18:=
+	>=dev-qt/qtcore-5.7.1:5=
+	>=dev-qt/qtgui-5.7.1:5=
+	>=dev-qt/qtmultimedia-5.7.1:5=[widgets]
+	>=dev-qt/qtnetwork-5.7.1:5=[ssl]
+	>=dev-qt/qtsql-5.7.1:5=[sqlite]
+	>=dev-qt/qtwidgets-5.7.1:5=
+	>=media-gfx/qrencode-3.4.4-r1:="
+DEPEND="${RDEPEND}
+	test? ( >=dev-cpp/gtest-1.8.0 )"
+
+DOCS=(
+	README.md
+	Example-client-configuration-file.ini
+	Example-contacts-file.txt
+)
+
+CMAKE_BUILD_TYPE="Gentoo"
+
+src_configure() {
+	local mycmakeargs=(
+		# set version manually, since autodetection works only with git
+		"-DOPENMITTSU_CUSTOM_VERSION_STRING=${PV%.*}-${PV##*.}-00000000"
+		"-DOPENMITTSU_DISABLE_VERSION_UPDATE_CHECK=ON"
+		"-DOPENMITTSU_ENABLE_TESTS=$(usex test)"
+	)
+	cmake_src_configure
+}
+
+src_test() {
+	cd "${BUILD_DIR}" || die
+	./openMittsuTests || die
+}
+
+src_install() {
+	local my_pn="openMittsu"
+	cmake_src_install
+	newicon resources/icon.png ${my_pn}.png
+	make_desktop_entry ${my_pn} ${my_pn} ${my_pn}
+	rm "${ED}"/usr/bin/${my_pn}VersionInfo || die
+	rm -f "${ED}"/usr/bin/${my_pn}Tests || die
+}