1 |
commit: a0f93a170f1338640ed3ceaa60319bfd28e4d9d6 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 17 20:38:28 2018 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 17 20:39:00 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0f93a17 |
7 |
|
8 |
net-im/openmittsu: Version bump. |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
net-im/openmittsu/Manifest | 1 + |
13 |
net-im/openmittsu/openmittsu-0.9.11.0.ebuild | 58 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 59 insertions(+) |
15 |
|
16 |
diff --git a/net-im/openmittsu/Manifest b/net-im/openmittsu/Manifest |
17 |
index 846eeed0429..717435f5425 100644 |
18 |
--- a/net-im/openmittsu/Manifest |
19 |
+++ b/net-im/openmittsu/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
+DIST openmittsu-0.9.11.0.tar.xz 2076128 BLAKE2B 6aa55f1fba69d871e9f8c1c9cb787d1dbebc8474cc76285a5565580d245b52c93792d40fc436b0b3ab73939099514a439397364eeaf6ca9c2ff5ce68c020e2a2 SHA512 6cc190daac3fce456176b87193e23b6c6f078c919fb7730d614d6a3c7b6a274ec89cfac71929807672f18a0fcb00cfdb6043b3b555bf3912a1578624b0ede60a |
22 |
DIST openmittsu-0.9.9.48.tar.xz 2026628 BLAKE2B eafd2bc537a22b140e01e14da363d3943e24b86754a090fd1ed2ac80f1030e1a2fb30ee8a5395c6c9a143d5922354ac67e3376a94c34f670f8cbcfddc27da112 SHA512 e24ec8e0792df13e781080fe42934035f74b82be62a8ce4913175a13ee3acbead069d169871405f4312927165a7049291d009c7f968b088bdbb3e294f9ef2443 |
23 |
|
24 |
diff --git a/net-im/openmittsu/openmittsu-0.9.11.0.ebuild b/net-im/openmittsu/openmittsu-0.9.11.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..226e2dba08f |
27 |
--- /dev/null |
28 |
+++ b/net-im/openmittsu/openmittsu-0.9.11.0.ebuild |
29 |
@@ -0,0 +1,58 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+inherit cmake-utils desktop |
36 |
+ |
37 |
+DESCRIPTION="An open source chat client for Threema-style end-to-end encrypted chat networks" |
38 |
+HOMEPAGE="https://www.openmittsu.de/" |
39 |
+# git-archive-all.sh snapshot of https://github.com/blizzard4591/openMittsu.git |
40 |
+SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz" |
41 |
+ |
42 |
+LICENSE="GPL-2+ BitstreamVera OFL-1.1 Apache-2.0 CC0-1.0 MIT BSD" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64" |
45 |
+IUSE="test" |
46 |
+ |
47 |
+RDEPEND="dev-db/qt5-sqlcipher |
48 |
+ >=dev-libs/libsodium-1.0.11:= |
49 |
+ >=dev-qt/qtcore-5.7.1:5= |
50 |
+ >=dev-qt/qtgui-5.7.1:5= |
51 |
+ >=dev-qt/qtmultimedia-5.7.1:5= |
52 |
+ >=dev-qt/qtnetwork-5.7.1:5=[ssl] |
53 |
+ >=dev-qt/qtsql-5.7.1:5=[sqlite] |
54 |
+ >=dev-qt/qtwidgets-5.7.1:5= |
55 |
+ >=media-gfx/qrencode-3.4.4-r1:=" |
56 |
+DEPEND="${RDEPEND} |
57 |
+ test? ( dev-cpp/gmock )" |
58 |
+ |
59 |
+DOCS=( |
60 |
+ README.md |
61 |
+ Example-client-configuration-file.ini |
62 |
+ Example-contacts-file.txt |
63 |
+) |
64 |
+ |
65 |
+src_configure() { |
66 |
+ local mycmakeargs=( |
67 |
+ # set version manually, since autodetection works only with git |
68 |
+ "-DOPENMITTSU_CUSTOM_VERSION_STRING=${PV%.*}-${PV##*.}-00000000" |
69 |
+ "-DOPENMITTSU_DISABLE_VERSION_UPDATE_CHECK=ON" |
70 |
+ "-DOPENMITTSU_ENABLE_TESTS=$(usex test)" |
71 |
+ ) |
72 |
+ cmake-utils_src_configure |
73 |
+} |
74 |
+ |
75 |
+src_test() { |
76 |
+ cd "${BUILD_DIR}" || die |
77 |
+ ./openMittsuTests || die |
78 |
+} |
79 |
+ |
80 |
+src_install() { |
81 |
+ local my_pn="openMittsu" |
82 |
+ cmake-utils_src_install |
83 |
+ newicon resources/icon.png ${my_pn}.png |
84 |
+ make_desktop_entry ${my_pn} ${my_pn} ${my_pn} |
85 |
+ rm "${ED}"/usr/bin/${my_pn}VersionInfo || die |
86 |
+ rm -f "${ED}"/usr/bin/${my_pn}Tests || die |
87 |
+} |