1 |
commit: 9fe9ff4461f87d1fb042ac7d0b3c330453958e6f |
2 |
Author: Sergey Ilinykh <rion4ik <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Nov 2 20:47:23 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 4 20:33:39 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fe9ff44 |
7 |
|
8 |
net-im/psi: 1.4 version bump |
9 |
|
10 |
Signed-off-by: Sergey Ilinykh <rion4ik <AT> gmail.com> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/10323 |
12 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
13 |
|
14 |
net-im/psi/Manifest | 4 +- |
15 |
net-im/psi/psi-1.4.ebuild | 124 ++++++++++++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 126 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/net-im/psi/Manifest b/net-im/psi/Manifest |
19 |
index 4b829442f0f..b34f42685fd 100644 |
20 |
--- a/net-im/psi/Manifest |
21 |
+++ b/net-im/psi/Manifest |
22 |
@@ -1,2 +1,2 @@ |
23 |
-DIST psi-1.3.tar.xz 2143076 BLAKE2B 88b930d06c3a42519d9500148bd8a4300917d3db8b11cd45eb36e3a340f46c0776f3d8d5d5ddbf15f7ff78e3da89f011b19e2b7e8ccf973bb20fa6407cdfcd24 SHA512 b1b0f8d0c8326d486cb908d7b7de8f48579a2775f4cad0721ebeb646abd35e890712df176dd8676bf6c6089db88e73cf1b0423bd7a0ea0054661bdcea89349fe |
24 |
-DIST psi-l10n-1.3.tar.gz 2991441 BLAKE2B 78fac27c069c097189b01594320aa139af5e66baf57de7e9fe58bd216281ba201d14737fcf5b3fe669ad706ae32dfb1d3d2d15801d212bcc02b4aefe41116d52 SHA512 22885352b5f443ff0719ae4e861ce5626e779ec231ac13b5cd48a7c57065289c6c5504ae6d1f5782ad05b3d27a477fd52e729cfcd1c774786872d8a79cf55090 |
25 |
+DIST psi-1.4.tar.xz 2119840 BLAKE2B 28298f526f23a4bcbb5452ca593163efd50c990a6bc9a2ed54d2136e0b34cf34ad2f1d4a81bd529a013b8aa351e8531f4bf9ea7faf3958085869dd75817828f8 SHA512 9bb8da58809270e5387e024f5ea031e28441e66cde53cde219beebe7b46bfa5c41d0a86110d1936d0ac2e15483ffb947f8998cbeeb415f72553cb78b67c57ed1 |
26 |
+DIST psi-l10n-1.4.tar.gz 2991451 BLAKE2B 628aaa1b8e3a31f958ed355edce4a6495085b6d978cd611bcb3b00af0d6e6b0d893cafde3d9a8253279645e6fb6a056fe5e701ac36c68bf9fed642b026a2642c SHA512 53dcec52493319e28c473e2e7765341b10451e390c317bb13b8c8d165e9cef4eb1099a87910dacfc9444a8f9df029a98e380ab8f4529c6d2830734328b834915 |
27 |
|
28 |
diff --git a/net-im/psi/psi-1.4.ebuild b/net-im/psi/psi-1.4.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..c32424e600c |
31 |
--- /dev/null |
32 |
+++ b/net-im/psi/psi-1.4.ebuild |
33 |
@@ -0,0 +1,124 @@ |
34 |
+# Copyright 1999-2018 Gentoo Foundation |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=6 |
38 |
+ |
39 |
+PLOCALES="be bg ca cs de en eo es et fa fi fr he hu it ja kk mk nl pl pt pt_BR ru sk sl sr@latin sv sw uk ur_PK vi zh_CN zh_TW" |
40 |
+PLOCALE_BACKUP="en" |
41 |
+ |
42 |
+inherit l10n qmake-utils gnome2-utils xdg-utils |
43 |
+ |
44 |
+DESCRIPTION="Qt XMPP client" |
45 |
+HOMEPAGE="https://psi-im.org" |
46 |
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz |
47 |
+ https://github.com/psi-im/psi-l10n/archive/${PV}.tar.gz -> psi-l10n-${PV}.tar.gz" |
48 |
+ |
49 |
+LICENSE="GPL-2" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~x86" |
52 |
+IUSE="aspell crypt dbus debug doc enchant +hunspell webengine webkit whiteboarding xscreensaver" |
53 |
+ |
54 |
+REQUIRED_USE=" |
55 |
+ ?? ( aspell enchant hunspell ) |
56 |
+ webengine? ( !webkit ) |
57 |
+" |
58 |
+ |
59 |
+RDEPEND=" |
60 |
+ app-crypt/qca:2[ssl] |
61 |
+ dev-qt/qtconcurrent:5 |
62 |
+ dev-qt/qtcore:5 |
63 |
+ dev-qt/qtgui:5 |
64 |
+ dev-qt/qtmultimedia:5 |
65 |
+ dev-qt/qtnetwork:5 |
66 |
+ dev-qt/qtwidgets:5 |
67 |
+ dev-qt/qtx11extras:5 |
68 |
+ dev-qt/qtxml:5 |
69 |
+ net-dns/libidn:0 |
70 |
+ sys-libs/zlib[minizip] |
71 |
+ x11-libs/libX11 |
72 |
+ x11-libs/libxcb |
73 |
+ aspell? ( app-text/aspell ) |
74 |
+ dbus? ( dev-qt/qtdbus:5 ) |
75 |
+ enchant? ( >=app-text/enchant-1.3.0 ) |
76 |
+ hunspell? ( app-text/hunspell:= ) |
77 |
+ webengine? ( |
78 |
+ dev-qt/qtwebchannel:5 |
79 |
+ dev-qt/qtwebengine:5[widgets] |
80 |
+ ) |
81 |
+ webkit? ( dev-qt/qtwebkit:5 ) |
82 |
+ whiteboarding? ( dev-qt/qtsvg:5 ) |
83 |
+ xscreensaver? ( x11-libs/libXScrnSaver ) |
84 |
+" |
85 |
+DEPEND="${RDEPEND} |
86 |
+ dev-qt/linguist-tools:5 |
87 |
+ virtual/pkgconfig |
88 |
+ doc? ( app-doc/doxygen ) |
89 |
+" |
90 |
+ |
91 |
+RESTRICT="test" |
92 |
+ |
93 |
+src_configure() { |
94 |
+ CONF=( |
95 |
+ --prefix="${EPREFIX}"/usr |
96 |
+ --libdir="${EPREFIX}"/usr/$(get_libdir) |
97 |
+ --no-separate-debug-info |
98 |
+ --qtdir="$(qt5_get_bindir)/.." |
99 |
+ $(use_enable aspell) |
100 |
+ $(use_enable dbus qdbus) |
101 |
+ $(use_enable enchant) |
102 |
+ $(use_enable hunspell) |
103 |
+ $(use_enable xscreensaver xss) |
104 |
+ $(use_enable whiteboarding) |
105 |
+ ) |
106 |
+ |
107 |
+ use debug && CONF+=("--debug") |
108 |
+ use webengine && CONF+=("--enable-webkit" "--with-webkit=qtwebengine") |
109 |
+ use webkit && CONF+=("--enable-webkit" "--with-webkit=qtwebkit") |
110 |
+ |
111 |
+ # This may generate warnings if passed option already matches with default. |
112 |
+ # Just ignore them. It's how qconf-based configure works and will be fixed in |
113 |
+ # future qconf versions. |
114 |
+ ./configure "${CONF[@]}" || die "configure failed" |
115 |
+ |
116 |
+ eqmake5 psi.pro |
117 |
+} |
118 |
+ |
119 |
+src_compile() { |
120 |
+ emake |
121 |
+ use doc && emake -C doc api_public |
122 |
+} |
123 |
+ |
124 |
+src_install() { |
125 |
+ emake INSTALL_ROOT="${D}" install |
126 |
+ |
127 |
+ # this way the docs will be installed in the standard gentoo dir |
128 |
+ rm "${ED}"/usr/share/psi/{COPYING,README} || die "Installed file set seems to be changed by upstream" |
129 |
+ newdoc iconsets/roster/README README.roster |
130 |
+ newdoc iconsets/system/README README.system |
131 |
+ newdoc certs/README README.certs |
132 |
+ dodoc README |
133 |
+ |
134 |
+ use doc && HTML_DOCS=( doc/api/. ) |
135 |
+ einstalldocs |
136 |
+ |
137 |
+ # install translations |
138 |
+ local mylrelease="$(qt5_get_bindir)"/lrelease |
139 |
+ cd "${WORKDIR}/psi-l10n-${PV}" || die |
140 |
+ insinto /usr/share/psi |
141 |
+ install_locale() { |
142 |
+ "${mylrelease}" "translations/${PN}_${1}.ts" || die "lrelease ${1} failed" |
143 |
+ doins "translations/${PN}_${1}.qm" |
144 |
+ } |
145 |
+ l10n_for_each_locale_do install_locale |
146 |
+} |
147 |
+ |
148 |
+pkg_postinst() { |
149 |
+ gnome2_icon_cache_update |
150 |
+ xdg_desktop_database_update |
151 |
+ einfo "For GPG support make sure app-crypt/qca is compiled with gpg USE flag." |
152 |
+} |
153 |
+ |
154 |
+pkg_postrm() { |
155 |
+ gnome2_icon_cache_update |
156 |
+ xdg_desktop_database_update |
157 |
+} |