1 |
commit: cb42b3e2438c530a921e27a57b74e19928883db1 |
2 |
Author: Rémi Ollagnier <remi.ollagnier <AT> free <DOT> fr> |
3 |
AuthorDate: Mon Apr 12 21:28:35 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 15 08:52:32 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb42b3e2 |
7 |
|
8 |
net-im/qtox: Added qtox version 1.17.3 |
9 |
|
10 |
Signed-off-by: Rémi Ollagnier <remi.ollagnier <AT> free.fr> |
11 |
|
12 |
Package-Manager: Portage-3.0.13, Repoman-3.0.2 |
13 |
Closes: https://github.com/gentoo/gentoo/pull/20357 |
14 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
15 |
|
16 |
net-im/qtox/Manifest | 1 + |
17 |
net-im/qtox/metadata.xml | 3 +- |
18 |
net-im/qtox/qtox-1.17.3.ebuild | 80 ++++++++++++++++++++++++++++++++++++++++++ |
19 |
3 files changed, 83 insertions(+), 1 deletion(-) |
20 |
|
21 |
diff --git a/net-im/qtox/Manifest b/net-im/qtox/Manifest |
22 |
index 3c3bb122ec6..e044567d91c 100644 |
23 |
--- a/net-im/qtox/Manifest |
24 |
+++ b/net-im/qtox/Manifest |
25 |
@@ -1 +1,2 @@ |
26 |
DIST qTox-1.16.3.tar.gz 4256757 BLAKE2B 70103e2d912da86dab63424586c642a73614b4a408a53634b146d1e401d5b328a2b8c81c472a94e0e8804d774f693c1250e7263b263e80abef5e111372f29232 SHA512 a857266ffcf32b1963e3a4428501299ce19f3c087087583115dc01e41934fc31d52ea54d781fa93ec7e21f6e3303b4e22383ecaaa7f1f1dbf32d740db73aca4c |
27 |
+DIST qTox-1.17.3.tar.gz 4765213 BLAKE2B 3bffa351da01b436edc9c80c481845f6c6399c930ac1601e1676b7dec22ccfbf37c082c3a30ab71e2295c96bb427b36a718f960ffc75e700d5c29605f7bf0ac0 SHA512 e7534e40aed06aaeba57a201b7315ae2bd361f80971969b95b00fea0a6cbe106c2ea337485c47b350c07a9e3b74947c8b2feb206899292c29621e057b630ca56 |
28 |
|
29 |
diff --git a/net-im/qtox/metadata.xml b/net-im/qtox/metadata.xml |
30 |
index 291481d1857..697f99071d0 100644 |
31 |
--- a/net-im/qtox/metadata.xml |
32 |
+++ b/net-im/qtox/metadata.xml |
33 |
@@ -3,7 +3,8 @@ |
34 |
<pkgmetadata> |
35 |
<!-- maintainer-needed --> |
36 |
<use> |
37 |
- <flag name="notification">Adds support for GTK Status Notifier tray backends</flag> |
38 |
+ <flag name="notification">Use snorenotify for desktop notifications</flag> |
39 |
+ <flag name="spellcheck">Enable spell cheching support</flag> |
40 |
</use> |
41 |
<upstream> |
42 |
<remote-id type="github">qTox/qTox</remote-id> |
43 |
|
44 |
diff --git a/net-im/qtox/qtox-1.17.3.ebuild b/net-im/qtox/qtox-1.17.3.ebuild |
45 |
new file mode 100644 |
46 |
index 00000000000..648bedd8015 |
47 |
--- /dev/null |
48 |
+++ b/net-im/qtox/qtox-1.17.3.ebuild |
49 |
@@ -0,0 +1,80 @@ |
50 |
+# Copyright 1999-2021 Gentoo Authors |
51 |
+# Distributed under the terms of the GNU General Public License v2 |
52 |
+ |
53 |
+EAPI=7 |
54 |
+ |
55 |
+MY_P="qTox-${PV}" |
56 |
+inherit cmake xdg |
57 |
+ |
58 |
+DESCRIPTION="qTox is an instant messaging client using the encrypted p2p Tox protocol" |
59 |
+HOMEPAGE="https://qtox.github.io/" |
60 |
+SRC_URI="https://github.com/qTox/qTox/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" |
61 |
+ |
62 |
+LICENSE="GPL-3+" |
63 |
+SLOT="0" |
64 |
+KEYWORDS="~amd64 ~x86" |
65 |
+IUSE="spellcheck notification test X" |
66 |
+ |
67 |
+RESTRICT="!test? ( test )" |
68 |
+ |
69 |
+S="${WORKDIR}/qTox" |
70 |
+ |
71 |
+BDEPEND=" |
72 |
+ dev-qt/linguist-tools:5 |
73 |
+ virtual/pkgconfig |
74 |
+" |
75 |
+RDEPEND=" |
76 |
+ dev-qt/qtconcurrent:5 |
77 |
+ dev-qt/qtcore:5 |
78 |
+ || ( |
79 |
+ dev-qt/qtgui:5[gif,jpeg,png,X(-)] |
80 |
+ dev-qt/qtgui:5[gif,jpeg,png,xcb(-)] |
81 |
+ ) |
82 |
+ dev-qt/qtnetwork:5 |
83 |
+ dev-qt/qtopengl:5 |
84 |
+ dev-qt/qtsvg:5 |
85 |
+ dev-qt/qtwidgets:5 |
86 |
+ dev-qt/qtxml:5 |
87 |
+ dev-qt/qtsql:5 |
88 |
+ dev-db/sqlcipher |
89 |
+ dev-libs/libsodium:= |
90 |
+ media-gfx/qrencode:= |
91 |
+ media-libs/libexif:= |
92 |
+ media-libs/openal |
93 |
+ >=media-video/ffmpeg-2.6.3:=[webp,v4l] |
94 |
+ net-libs/tox:0/0.2[av] |
95 |
+ spellcheck? ( kde-frameworks/sonnet:5 ) |
96 |
+ notification? ( x11-libs/snorenotify ) |
97 |
+ X? ( x11-libs/libX11 |
98 |
+ x11-libs/libXScrnSaver ) |
99 |
+" |
100 |
+DEPEND="${RDEPEND} |
101 |
+ test? ( dev-qt/qttest:5 ) |
102 |
+" |
103 |
+ |
104 |
+src_prepare() { |
105 |
+ cmake_src_prepare |
106 |
+ |
107 |
+ # bug 628574 |
108 |
+ if ! use test; then |
109 |
+ sed -i CMakeLists.txt -e "/include(Testing)/d" || die |
110 |
+ sed -i cmake/Dependencies.cmake -e "/find_package(Qt5Test/d" || die |
111 |
+ fi |
112 |
+} |
113 |
+ |
114 |
+src_configure() { |
115 |
+ local mycmakeargs=( |
116 |
+ -DCMAKE_BUILD_TYPE="Release" |
117 |
+ -DPLATFORM_EXTENSIONS=$(usex X) |
118 |
+ -DUPDATE_CHECK=OFF |
119 |
+ -DUSE_CCACHE=ON |
120 |
+ -DSPELL_CHECK=$(usex spellcheck) |
121 |
+ -DSVGZ_ICON=ON |
122 |
+ -DASAN=OFF |
123 |
+ -DDESKTOP_NOTIFICATIONS=$(usex notification) |
124 |
+ -DSTRICT_OPTIONS=OFF |
125 |
+ -DGIT_DESCRIBE="${PV}" |
126 |
+ ) |
127 |
+ |
128 |
+ cmake_src_configure |
129 |
+} |