Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/psi/
Date: Sat, 03 Mar 2018 13:19:48
Message-Id: 1520083176.15309264e4ec6211fc6471512e6c787f44653d86.mgorny@gentoo
1 commit: 15309264e4ec6211fc6471512e6c787f44653d86
2 Author: Sergey Ilinykh <rion4ik <AT> gmail <DOT> com>
3 AuthorDate: Fri Dec 22 07:47:05 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 3 13:19:36 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15309264
7
8 net-im/psi: qconf dependency raised to 2.4
9
10 to fix compatibility with Qt-5.10
11
12 Also changed desktop icons cache regeneration.
13
14 Closes: https://bugs.gentoo.org/630466
15 Closes: https://github.com/gentoo/gentoo/pull/6597
16 Package-Manager: Portage-2.3.19, Repoman-2.3.6
17
18 net-im/psi/psi-9999.ebuild | 20 +++++++++++---------
19 1 file changed, 11 insertions(+), 9 deletions(-)
20
21 diff --git a/net-im/psi/psi-9999.ebuild b/net-im/psi/psi-9999.ebuild
22 index e6240c96afa..59adb230419 100644
23 --- a/net-im/psi/psi-9999.ebuild
24 +++ b/net-im/psi/psi-9999.ebuild
25 @@ -6,7 +6,7 @@ EAPI=6
26 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"
27 PLOCALE_BACKUP="en"
28
29 -inherit l10n git-r3 qmake-utils xdg-utils
30 +inherit l10n git-r3 qmake-utils gnome2-utils xdg-utils
31
32 DESCRIPTION="Qt XMPP client"
33 HOMEPAGE="http://psi-im.org/"
34 @@ -22,9 +22,6 @@ SLOT="0"
35 KEYWORDS=""
36 IUSE="aspell crypt dbus debug doc enchant extras +hunspell iconsets sql ssl webengine webkit whiteboarding xscreensaver"
37
38 -# qconf generates not quite compatible configure scripts
39 -QA_CONFIGURE_OPTIONS=".*"
40 -
41 REQUIRED_USE="
42 ?? ( aspell enchant hunspell )
43 iconsets? ( extras )
44 @@ -65,7 +62,7 @@ DEPEND="${RDEPEND}
45 dev-qt/linguist-tools:5
46 virtual/pkgconfig
47 doc? ( app-doc/doxygen )
48 - extras? ( >=sys-devel/qconf-2.3 )
49 + extras? ( >=sys-devel/qconf-2.4 )
50 "
51 PDEPEND="
52 crypt? ( app-crypt/qca[gpg] )
53 @@ -140,6 +137,8 @@ src_prepare() {
54
55 src_configure() {
56 CONF=(
57 + --prefix="${EPREFIX}"/usr
58 + --libdir="${EPREFIX}"/usr/$(get_libdir)
59 --no-separate-debug-info
60 --qtdir="$(qt5_get_bindir)/.."
61 $(use_enable aspell)
62 @@ -154,7 +153,10 @@ src_configure() {
63 use webengine && CONF+=("--enable-webkit" "--with-webkit=qtwebengine")
64 use webkit && CONF+=("--enable-webkit" "--with-webkit=qtwebkit")
65
66 - econf "${CONF[@]}"
67 + # This may generate warnings if passed option already matches with default.
68 + # Just ignore them. It's how qconf-based configure works and will be fixed in
69 + # future qconf versions.
70 + ./configure "${CONF[@]}" || die "configure failed"
71
72 eqmake5 psi.pro
73 }
74 @@ -188,12 +190,12 @@ src_install() {
75 l10n_for_each_locale_do install_locale
76 }
77
78 -pkg_postinst(){
79 - xdg_mimeinfo_database_update
80 +pkg_postinst() {
81 + gnome2_icon_cache_update
82 xdg_desktop_database_update
83 }
84
85 pkg_postrm() {
86 + gnome2_icon_cache_update
87 xdg_desktop_database_update
88 - xdg_mimeinfo_database_update
89 }