Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/psi/
Date: Sun, 04 Nov 2018 20:34:04
Message-Id: 1541363619.519bf48e2f03e1c17c1319d256bbb09e113f2dc8.asturm@gentoo
1 commit: 519bf48e2f03e1c17c1319d256bbb09e113f2dc8
2 Author: Sergey Ilinykh <rion4ik <AT> gmail <DOT> com>
3 AuthorDate: Fri Nov 2 20:48: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=519bf48e
7
8 net-im/psi: removed broken/outdated 1.3 version
9
10 Signed-off-by: Sergey Ilinykh <rion4ik <AT> gmail.com>
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 net-im/psi/psi-1.3-r1.ebuild | 125 -------------------------------------------
14 1 file changed, 125 deletions(-)
15
16 diff --git a/net-im/psi/psi-1.3-r1.ebuild b/net-im/psi/psi-1.3-r1.ebuild
17 deleted file mode 100644
18 index ed3aa9cca4b..00000000000
19 --- a/net-im/psi/psi-1.3-r1.ebuild
20 +++ /dev/null
21 @@ -1,125 +0,0 @@
22 -# Copyright 1999-2018 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=6
26 -
27 -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"
28 -PLOCALE_BACKUP="en"
29 -
30 -inherit l10n qmake-utils xdg-utils
31 -
32 -DESCRIPTION="Qt XMPP client"
33 -HOMEPAGE="https://psi-im.org"
34 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz
35 - https://github.com/psi-im/psi-l10n/archive/${PV}.tar.gz -> psi-l10n-${PV}.tar.gz"
36 -
37 -LICENSE="GPL-2"
38 -SLOT="0"
39 -KEYWORDS="~amd64 ~x86"
40 -IUSE="aspell crypt dbus debug doc enchant +hunspell ssl webengine webkit whiteboarding xscreensaver"
41 -
42 -# qconf generates not quite compatible configure scripts
43 -QA_CONFIGURE_OPTIONS=".*"
44 -
45 -REQUIRED_USE="
46 - ?? ( aspell enchant hunspell )
47 - webengine? ( !webkit )
48 -"
49 -
50 -RDEPEND="
51 - app-crypt/qca:2[qt5(+)]
52 - dev-qt/qtconcurrent:5
53 - dev-qt/qtcore:5
54 - dev-qt/qtgui:5
55 - dev-qt/qtmultimedia:5
56 - dev-qt/qtnetwork:5
57 - dev-qt/qtwidgets:5
58 - dev-qt/qtx11extras:5
59 - dev-qt/qtxml:5
60 - net-dns/libidn
61 - sys-libs/zlib[minizip]
62 - x11-libs/libX11
63 - x11-libs/libxcb
64 - aspell? ( app-text/aspell )
65 - dbus? ( dev-qt/qtdbus:5 )
66 - enchant? ( >=app-text/enchant-1.3.0 )
67 - hunspell? ( app-text/hunspell:= )
68 - webengine? (
69 - >=dev-qt/qtwebchannel-5.7:5
70 - >=dev-qt/qtwebengine-5.7:5[widgets]
71 - )
72 - webkit? ( dev-qt/qtwebkit:5 )
73 - whiteboarding? ( dev-qt/qtsvg:5 )
74 - xscreensaver? ( x11-libs/libXScrnSaver )
75 -"
76 -DEPEND="${RDEPEND}
77 - dev-qt/linguist-tools:5
78 - virtual/pkgconfig
79 - doc? ( app-doc/doxygen )
80 -"
81 -PDEPEND="
82 - crypt? ( app-crypt/qca[gpg] )
83 - ssl? ( app-crypt/qca:2[ssl] )
84 -"
85 -
86 -RESTRICT="test"
87 -
88 -src_configure() {
89 - CONF=(
90 - --no-separate-debug-info
91 - --qtdir="$(qt5_get_bindir)/.."
92 - $(use_enable aspell)
93 - $(use_enable dbus qdbus)
94 - $(use_enable enchant)
95 - $(use_enable hunspell)
96 - $(use_enable xscreensaver xss)
97 - $(use_enable whiteboarding)
98 - )
99 -
100 - use debug && CONF+=("--debug")
101 - use webengine && CONF+=("--enable-webkit" "--with-webkit=qtwebengine")
102 - use webkit && CONF+=("--enable-webkit" "--with-webkit=qtwebkit")
103 -
104 - econf "${CONF[@]}"
105 -
106 - eqmake5 psi.pro
107 -}
108 -
109 -src_compile() {
110 - emake
111 - use doc && emake -C doc api_public
112 -}
113 -
114 -src_install() {
115 - emake INSTALL_ROOT="${D}" install
116 -
117 - # this way the docs will be installed in the standard gentoo dir
118 - rm "${ED}"/usr/share/psi/{COPYING,README} || die "Installed file set seems to be changed by upstream"
119 - newdoc iconsets/roster/README README.roster
120 - newdoc iconsets/system/README README.system
121 - newdoc certs/README README.certs
122 - dodoc README
123 -
124 - use doc && HTML_DOCS=( doc/api/. )
125 - einstalldocs
126 -
127 - # install translations
128 - local mylrelease="$(qt5_get_bindir)"/lrelease
129 - cd "${WORKDIR}/psi-l10n-${PV}" || die
130 - insinto /usr/share/psi
131 - install_locale() {
132 - "${mylrelease}" "translations/${PN}_${1}.ts" || die "lrelease ${1} failed"
133 - doins "translations/${PN}_${1}.qm"
134 - }
135 - l10n_for_each_locale_do install_locale
136 -}
137 -
138 -pkg_postinst() {
139 - xdg_mimeinfo_database_update
140 - xdg_desktop_database_update
141 -}
142 -
143 -pkg_postrm() {
144 - xdg_desktop_database_update
145 - xdg_mimeinfo_database_update
146 -}