summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorSergey Ilinykh <rion4ik@gmail.com>2018-11-02 23:48:23 +0300
committerAndreas Sturmlechner <asturm@gentoo.org>2018-11-04 21:33:39 +0100
commit519bf48e2f03e1c17c1319d256bbb09e113f2dc8 (patch)
tree749ce3758ece01145f3d420e567062e0de08dc3b /net-im
parentnet-im/psi-9999: updated according to upstream changes (diff)
downloadgentoo-519bf48e2f03e1c17c1319d256bbb09e113f2dc8.tar.gz
gentoo-519bf48e2f03e1c17c1319d256bbb09e113f2dc8.tar.bz2
gentoo-519bf48e2f03e1c17c1319d256bbb09e113f2dc8.zip
net-im/psi: removed broken/outdated 1.3 version
Signed-off-by: Sergey Ilinykh <rion4ik@gmail.com> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/psi/psi-1.3-r1.ebuild125
1 files changed, 0 insertions, 125 deletions
diff --git a/net-im/psi/psi-1.3-r1.ebuild b/net-im/psi/psi-1.3-r1.ebuild
deleted file mode 100644
index ed3aa9cca4b1..000000000000
--- a/net-im/psi/psi-1.3-r1.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-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"
-PLOCALE_BACKUP="en"
-
-inherit l10n qmake-utils xdg-utils
-
-DESCRIPTION="Qt XMPP client"
-HOMEPAGE="https://psi-im.org"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz
- https://github.com/psi-im/psi-l10n/archive/${PV}.tar.gz -> psi-l10n-${PV}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="aspell crypt dbus debug doc enchant +hunspell ssl webengine webkit whiteboarding xscreensaver"
-
-# qconf generates not quite compatible configure scripts
-QA_CONFIGURE_OPTIONS=".*"
-
-REQUIRED_USE="
- ?? ( aspell enchant hunspell )
- webengine? ( !webkit )
-"
-
-RDEPEND="
- app-crypt/qca:2[qt5(+)]
- dev-qt/qtconcurrent:5
- dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtmultimedia:5
- dev-qt/qtnetwork:5
- dev-qt/qtwidgets:5
- dev-qt/qtx11extras:5
- dev-qt/qtxml:5
- net-dns/libidn
- sys-libs/zlib[minizip]
- x11-libs/libX11
- x11-libs/libxcb
- aspell? ( app-text/aspell )
- dbus? ( dev-qt/qtdbus:5 )
- enchant? ( >=app-text/enchant-1.3.0 )
- hunspell? ( app-text/hunspell:= )
- webengine? (
- >=dev-qt/qtwebchannel-5.7:5
- >=dev-qt/qtwebengine-5.7:5[widgets]
- )
- webkit? ( dev-qt/qtwebkit:5 )
- whiteboarding? ( dev-qt/qtsvg:5 )
- xscreensaver? ( x11-libs/libXScrnSaver )
-"
-DEPEND="${RDEPEND}
- dev-qt/linguist-tools:5
- virtual/pkgconfig
- doc? ( app-doc/doxygen )
-"
-PDEPEND="
- crypt? ( app-crypt/qca[gpg] )
- ssl? ( app-crypt/qca:2[ssl] )
-"
-
-RESTRICT="test"
-
-src_configure() {
- CONF=(
- --no-separate-debug-info
- --qtdir="$(qt5_get_bindir)/.."
- $(use_enable aspell)
- $(use_enable dbus qdbus)
- $(use_enable enchant)
- $(use_enable hunspell)
- $(use_enable xscreensaver xss)
- $(use_enable whiteboarding)
- )
-
- use debug && CONF+=("--debug")
- use webengine && CONF+=("--enable-webkit" "--with-webkit=qtwebengine")
- use webkit && CONF+=("--enable-webkit" "--with-webkit=qtwebkit")
-
- econf "${CONF[@]}"
-
- eqmake5 psi.pro
-}
-
-src_compile() {
- emake
- use doc && emake -C doc api_public
-}
-
-src_install() {
- emake INSTALL_ROOT="${D}" install
-
- # this way the docs will be installed in the standard gentoo dir
- rm "${ED}"/usr/share/psi/{COPYING,README} || die "Installed file set seems to be changed by upstream"
- newdoc iconsets/roster/README README.roster
- newdoc iconsets/system/README README.system
- newdoc certs/README README.certs
- dodoc README
-
- use doc && HTML_DOCS=( doc/api/. )
- einstalldocs
-
- # install translations
- local mylrelease="$(qt5_get_bindir)"/lrelease
- cd "${WORKDIR}/psi-l10n-${PV}" || die
- insinto /usr/share/psi
- install_locale() {
- "${mylrelease}" "translations/${PN}_${1}.ts" || die "lrelease ${1} failed"
- doins "translations/${PN}_${1}.qm"
- }
- l10n_for_each_locale_do install_locale
-}
-
-pkg_postinst() {
- xdg_mimeinfo_database_update
- xdg_desktop_database_update
-}
-
-pkg_postrm() {
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
-}