Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/openmittsu/
Date: Sun, 18 Aug 2019 11:06:21
Message-Id: 1566126368.3b54cce001a4d8a82839df6efb1092c94d9433ca.ulm@gentoo
1 commit: 3b54cce001a4d8a82839df6efb1092c94d9433ca
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 18 11:04:19 2019 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 18 11:06:08 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b54cce0
7
8 net-im/openmittsu: Bump to version 0.9.13.46.
9
10 Package-Manager: Portage-2.3.71, Repoman-2.3.17
11 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
12
13 net-im/openmittsu/Manifest | 1 +
14 net-im/openmittsu/openmittsu-0.9.13.46.ebuild | 63 +++++++++++++++++++++++++++
15 2 files changed, 64 insertions(+)
16
17 diff --git a/net-im/openmittsu/Manifest b/net-im/openmittsu/Manifest
18 index 40a2d02833a..ac64148517e 100644
19 --- a/net-im/openmittsu/Manifest
20 +++ b/net-im/openmittsu/Manifest
21 @@ -1 +1,2 @@
22 DIST openmittsu-0.9.13.32.tar.xz 2078892 BLAKE2B 4960d3046dfe45568f56ddc4ad77677992ac4dc4d618a926a15b35431955c8f30aa20ad236cc3143bc1a24f64a4635fdc072a1c9f921238f1283b81b3d6befb7 SHA512 671ce8ed1a6f9aa8d15ee0d72ce78e2b5aef556243efacec4b0b434eaf5b0bd1b34aa6a0391e42ead9007011cca88e7ba2649f16456a2bf74d22355d1f308a0f
23 +DIST openmittsu-0.9.13.46.tar.xz 2183136 BLAKE2B 3935a00fae8aa937fdc2f629a7dbf2a06cf518fb3758e7c1e191247004fa4077f60dbe2a0e3fba9750405ec069c33b6336cc26f990947ecbb1dabfe3b7b586f6 SHA512 bd58189e7c714f74ec6271a94251f4222dcd4fdb8015d6d01ef57e860804ebfa97aab632f3db94da386bb58bbb674bb4db6b659d2c9ccdeedf8ddd9b026a99c4
24
25 diff --git a/net-im/openmittsu/openmittsu-0.9.13.46.ebuild b/net-im/openmittsu/openmittsu-0.9.13.46.ebuild
26 new file mode 100644
27 index 00000000000..3689bcc19f9
28 --- /dev/null
29 +++ b/net-im/openmittsu/openmittsu-0.9.13.46.ebuild
30 @@ -0,0 +1,63 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +inherit cmake-utils desktop
37 +
38 +DESCRIPTION="An open source chat client for Threema-style end-to-end encrypted chat networks"
39 +HOMEPAGE="https://www.openmittsu.de/"
40 +# git-archive-all.sh snapshot of https://github.com/blizzard4591/openMittsu.git
41 +SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
42 +
43 +LICENSE="GPL-2+ BitstreamVera OFL-1.1 Apache-2.0 CC0-1.0 MIT BSD"
44 +SLOT="0"
45 +KEYWORDS="~amd64"
46 +IUSE="test"
47 +RESTRICT="!test? ( test )"
48 +
49 +RDEPEND="dev-db/qt5-sqlcipher
50 + >=dev-libs/libsodium-1.0.11:=
51 + >=dev-qt/qtcore-5.7.1:5=
52 + >=dev-qt/qtgui-5.7.1:5=
53 + >=dev-qt/qtmultimedia-5.7.1:5=[widgets]
54 + >=dev-qt/qtnetwork-5.7.1:5=[ssl]
55 + >=dev-qt/qtsql-5.7.1:5=[sqlite]
56 + >=dev-qt/qtwidgets-5.7.1:5=
57 + >=media-gfx/qrencode-3.4.4-r1:="
58 +DEPEND="${RDEPEND}
59 + test? ( >=dev-cpp/gtest-1.8.0 )"
60 +
61 +PATCHES=(
62 + "${FILESDIR}"/${PN}-0.9.13.32-fix-tests.patch
63 +)
64 +
65 +DOCS=(
66 + README.md
67 + Example-client-configuration-file.ini
68 + Example-contacts-file.txt
69 +)
70 +
71 +src_configure() {
72 + local mycmakeargs=(
73 + # set version manually, since autodetection works only with git
74 + "-DOPENMITTSU_CUSTOM_VERSION_STRING=${PV%.*}-${PV##*.}-00000000"
75 + "-DOPENMITTSU_DISABLE_VERSION_UPDATE_CHECK=ON"
76 + "-DOPENMITTSU_ENABLE_TESTS=$(usex test)"
77 + )
78 + cmake-utils_src_configure
79 +}
80 +
81 +src_test() {
82 + cd "${BUILD_DIR}" || die
83 + ./openMittsuTests || die
84 +}
85 +
86 +src_install() {
87 + local my_pn="openMittsu"
88 + cmake-utils_src_install
89 + newicon resources/icon.png ${my_pn}.png
90 + make_desktop_entry ${my_pn} ${my_pn} ${my_pn}
91 + rm "${ED}"/usr/bin/${my_pn}VersionInfo || die
92 + rm -f "${ED}"/usr/bin/${my_pn}Tests || die
93 +}