1 |
commit: 52ee7fd636e3cf8105ddddd4440d113c8fb0ed3e |
2 |
Author: Jimi Huotari <chiitoo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 19 01:19:35 2022 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 22 00:32:38 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52ee7fd6 |
7 |
|
8 |
net-im/qtox: add version 1.17.4 |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/23867 |
13 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
14 |
|
15 |
net-im/qtox/Manifest | 1 + |
16 |
net-im/qtox/qtox-1.17.4.ebuild | 91 ++++++++++++++++++++++++++++++++++++++++++ |
17 |
2 files changed, 92 insertions(+) |
18 |
|
19 |
diff --git a/net-im/qtox/Manifest b/net-im/qtox/Manifest |
20 |
index e044567d91c0..0a3bcc3dca01 100644 |
21 |
--- a/net-im/qtox/Manifest |
22 |
+++ b/net-im/qtox/Manifest |
23 |
@@ -1,2 +1,3 @@ |
24 |
DIST qTox-1.16.3.tar.gz 4256757 BLAKE2B 70103e2d912da86dab63424586c642a73614b4a408a53634b146d1e401d5b328a2b8c81c472a94e0e8804d774f693c1250e7263b263e80abef5e111372f29232 SHA512 a857266ffcf32b1963e3a4428501299ce19f3c087087583115dc01e41934fc31d52ea54d781fa93ec7e21f6e3303b4e22383ecaaa7f1f1dbf32d740db73aca4c |
25 |
DIST qTox-1.17.3.tar.gz 4765213 BLAKE2B 3bffa351da01b436edc9c80c481845f6c6399c930ac1601e1676b7dec22ccfbf37c082c3a30ab71e2295c96bb427b36a718f960ffc75e700d5c29605f7bf0ac0 SHA512 e7534e40aed06aaeba57a201b7315ae2bd361f80971969b95b00fea0a6cbe106c2ea337485c47b350c07a9e3b74947c8b2feb206899292c29621e057b630ca56 |
26 |
+DIST qTox-1.17.4.tar.gz 4778657 BLAKE2B 5edcb6b6f997eeb4a332c23477d4c5021085cf8c62be596b0eb4771963f450bc96de6c2dc30ec3cfc98577f20bf618e8fc2478fc34af8a8810fc538a5ccc787b SHA512 00dd2b4492e6dbf90b038bd1e5263ba96c969fb5d879b5680401ad090ffe6aaa70ff487f2e88f93c573f2e1a7e6ca50a75dfe7b51fc56fc4d08cac076bfd75d0 |
27 |
|
28 |
diff --git a/net-im/qtox/qtox-1.17.4.ebuild b/net-im/qtox/qtox-1.17.4.ebuild |
29 |
new file mode 100644 |
30 |
index 000000000000..825ce6aa14d1 |
31 |
--- /dev/null |
32 |
+++ b/net-im/qtox/qtox-1.17.4.ebuild |
33 |
@@ -0,0 +1,91 @@ |
34 |
+# Copyright 1999-2022 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=8 |
38 |
+ |
39 |
+inherit cmake xdg |
40 |
+ |
41 |
+if [[ ${PV} == 9999 ]]; then |
42 |
+ inherit git-r3 |
43 |
+ EGIT_REPO_URI="https://github.com/qTox/qTox.git" |
44 |
+else |
45 |
+ MY_P="qTox-${PV}" |
46 |
+ SRC_URI="https://github.com/qTox/qTox/releases/download/v${PV}/v${PV}.tar.gz -> ${MY_P}.tar.gz" |
47 |
+ KEYWORDS="~amd64 ~x86" |
48 |
+ S="${WORKDIR}/qTox" |
49 |
+fi |
50 |
+ |
51 |
+DESCRIPTION="Instant messaging client using the encrypted p2p Tox protocol" |
52 |
+HOMEPAGE="https://qtox.github.io/" |
53 |
+ |
54 |
+LICENSE="GPL-3+" |
55 |
+SLOT="0" |
56 |
+IUSE="notification +spellcheck test X" |
57 |
+ |
58 |
+RESTRICT="!test? ( test )" |
59 |
+ |
60 |
+BDEPEND=" |
61 |
+ dev-qt/linguist-tools:5 |
62 |
+ virtual/pkgconfig |
63 |
+" |
64 |
+RDEPEND=" |
65 |
+ dev-db/sqlcipher |
66 |
+ dev-libs/libsodium:= |
67 |
+ dev-qt/qtconcurrent:5 |
68 |
+ dev-qt/qtcore:5 |
69 |
+ dev-qt/qtgui:5[gif,jpeg,png,X(-)] |
70 |
+ dev-qt/qtnetwork:5 |
71 |
+ dev-qt/qtopengl:5 |
72 |
+ dev-qt/qtsvg:5 |
73 |
+ dev-qt/qtwidgets:5 |
74 |
+ dev-qt/qtxml:5 |
75 |
+ media-gfx/qrencode:= |
76 |
+ media-libs/libexif |
77 |
+ media-libs/openal |
78 |
+ media-video/ffmpeg:=[webp,v4l] |
79 |
+ >=net-libs/tox-0.2.13:=[av] |
80 |
+ notification? ( x11-libs/snorenotify ) |
81 |
+ spellcheck? ( kde-frameworks/sonnet:5 ) |
82 |
+ X? ( |
83 |
+ x11-libs/libX11 |
84 |
+ x11-libs/libXScrnSaver |
85 |
+ ) |
86 |
+" |
87 |
+DEPEND="${RDEPEND} |
88 |
+ test? ( dev-qt/qttest:5 ) |
89 |
+ X? ( x11-base/xorg-proto ) |
90 |
+" |
91 |
+ |
92 |
+DOCS=( CHANGELOG.md README.md doc/user_manual_en.md ) |
93 |
+ |
94 |
+src_prepare() { |
95 |
+ cmake_src_prepare |
96 |
+ |
97 |
+ # bug 628574 |
98 |
+ if ! use test; then |
99 |
+ sed -i CMakeLists.txt -e "/include(Testing)/d" || die |
100 |
+ sed -i cmake/Dependencies.cmake -e "/find_package(Qt5Test/d" || die |
101 |
+ fi |
102 |
+} |
103 |
+ |
104 |
+src_configure() { |
105 |
+ local mycmakeargs=( |
106 |
+ -DPLATFORM_EXTENSIONS=$(usex X) |
107 |
+ -DUPDATE_CHECK=OFF |
108 |
+ -DUSE_CCACHE=OFF |
109 |
+ -DSPELL_CHECK=$(usex spellcheck) |
110 |
+ -DSVGZ_ICON=ON |
111 |
+ -DASAN=OFF |
112 |
+ -DDESKTOP_NOTIFICATIONS=$(usex notification) |
113 |
+ -DSTRICT_OPTIONS=OFF |
114 |
+ ) |
115 |
+ |
116 |
+ [[ ${PV} != 9999 ]] && mycmakeargs+=( -DGIT_DESCRIBE=${PV} ) |
117 |
+ |
118 |
+ cmake_src_configure |
119 |
+} |
120 |
+ |
121 |
+src_test() { |
122 |
+ # The excluded tests require network access. |
123 |
+ cmake_src_test -E "test_(bsu|core)" |
124 |
+} |