|
@@ -1,12 +1,12 @@
|
|
-# Copyright 1999-2018 Gentoo Foundation
|
|
|
|
|
|
+# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
-EAPI=6
|
|
|
|
|
|
+EAPI=7
|
|
|
|
|
|
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"
|
|
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"
|
|
PLOCALE_BACKUP="en"
|
|
|
|
|
|
-inherit l10n git-r3 qmake-utils xdg-utils
|
|
|
|
|
|
+inherit l10n git-r3 qmake-utils xdg
|
|
|
|
|
|
DESCRIPTION="Qt XMPP client"
|
|
DESCRIPTION="Qt XMPP client"
|
|
HOMEPAGE="https://psi-im.org"
|
|
HOMEPAGE="https://psi-im.org"
|
|
@@ -20,7 +20,7 @@ EGIT_MIN_CLONE_TYPE="single"
|
|
LICENSE="GPL-2"
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
SLOT="0"
|
|
KEYWORDS=""
|
|
KEYWORDS=""
|
|
-IUSE="aspell crypt dbus debug doc enchant extras +hunspell iconsets keyring jingle ssl webengine webkit webp whiteboarding xscreensaver"
|
|
|
|
|
|
+IUSE="aspell crypt dbus debug doc enchant extras +hunspell iconsets keyring media ssl webengine webkit webp whiteboarding xscreensaver"
|
|
|
|
|
|
REQUIRED_USE="
|
|
REQUIRED_USE="
|
|
?? ( aspell enchant hunspell )
|
|
?? ( aspell enchant hunspell )
|
|
@@ -28,14 +28,20 @@ REQUIRED_USE="
|
|
webengine? ( !webkit )
|
|
webengine? ( !webkit )
|
|
"
|
|
"
|
|
|
|
|
|
-RDEPEND="
|
|
|
|
- app-crypt/qca:2[qt5(+)]
|
|
|
|
|
|
+BDEPEND="
|
|
|
|
+ dev-qt/linguist-tools:5
|
|
|
|
+ virtual/pkgconfig
|
|
|
|
+ doc? ( app-doc/doxygen )
|
|
|
|
+ extras? ( >=sys-devel/qconf-2.4 )
|
|
|
|
+"
|
|
|
|
+DEPEND="
|
|
|
|
+ app-crypt/qca:2[ssl]
|
|
dev-qt/qtconcurrent:5
|
|
dev-qt/qtconcurrent:5
|
|
dev-qt/qtcore:5
|
|
dev-qt/qtcore:5
|
|
dev-qt/qtgui:5
|
|
dev-qt/qtgui:5
|
|
dev-qt/qtmultimedia:5
|
|
dev-qt/qtmultimedia:5
|
|
dev-qt/qtnetwork:5
|
|
dev-qt/qtnetwork:5
|
|
- dev-qt/qtsql:5
|
|
|
|
|
|
+ dev-qt/qtsql:5[sqlite]
|
|
dev-qt/qtwidgets:5
|
|
dev-qt/qtwidgets:5
|
|
dev-qt/qtx11extras:5
|
|
dev-qt/qtx11extras:5
|
|
dev-qt/qtxml:5
|
|
dev-qt/qtxml:5
|
|
@@ -57,20 +63,11 @@ RDEPEND="
|
|
whiteboarding? ( dev-qt/qtsvg:5 )
|
|
whiteboarding? ( dev-qt/qtsvg:5 )
|
|
xscreensaver? ( x11-libs/libXScrnSaver )
|
|
xscreensaver? ( x11-libs/libXScrnSaver )
|
|
"
|
|
"
|
|
-DEPEND="${RDEPEND}
|
|
|
|
- dev-qt/linguist-tools:5
|
|
|
|
- virtual/pkgconfig
|
|
|
|
- doc? ( app-doc/doxygen )
|
|
|
|
- extras? ( >=sys-devel/qconf-2.4 )
|
|
|
|
-"
|
|
|
|
-PDEPEND="
|
|
|
|
- crypt? ( app-crypt/qca[gpg] )
|
|
|
|
- jingle? (
|
|
|
|
- net-im/psimedia[extras?]
|
|
|
|
- app-crypt/qca:2[ssl]
|
|
|
|
|
|
+RDEPEND="${DEPEND}
|
|
|
|
+ media? (
|
|
|
|
+ net-im/psimedia
|
|
)
|
|
)
|
|
- ssl? ( app-crypt/qca:2[ssl] )
|
|
|
|
- webp? ( dev-qt/qtimageformats )
|
|
|
|
|
|
+ dev-qt/qtimageformats
|
|
"
|
|
"
|
|
|
|
|
|
RESTRICT="test iconsets? ( bindist )"
|
|
RESTRICT="test iconsets? ( bindist )"
|
|
@@ -79,14 +76,12 @@ pkg_setup() {
|
|
MY_PN=psi
|
|
MY_PN=psi
|
|
if use extras; then
|
|
if use extras; then
|
|
MY_PN=psi-plus
|
|
MY_PN=psi-plus
|
|
- echo
|
|
|
|
ewarn "You're about to build patched version of Psi called Psi+."
|
|
ewarn "You're about to build patched version of Psi called Psi+."
|
|
ewarn "It has new nice features not yet included to Psi."
|
|
ewarn "It has new nice features not yet included to Psi."
|
|
ewarn "Take a look at homepage for more info: http://psi-plus.com/"
|
|
ewarn "Take a look at homepage for more info: http://psi-plus.com/"
|
|
- echo
|
|
|
|
|
|
|
|
if use iconsets; then
|
|
if use iconsets; then
|
|
- echo
|
|
|
|
|
|
+ ewarn
|
|
ewarn "Some artwork is from open source projects, but some is provided 'as-is'"
|
|
ewarn "Some artwork is from open source projects, but some is provided 'as-is'"
|
|
ewarn "and has not clear licensing."
|
|
ewarn "and has not clear licensing."
|
|
ewarn "Possibly this build is not redistributable in some countries."
|
|
ewarn "Possibly this build is not redistributable in some countries."
|
|
@@ -175,7 +170,7 @@ src_install() {
|
|
emake INSTALL_ROOT="${D}" install
|
|
emake INSTALL_ROOT="${D}" install
|
|
|
|
|
|
# this way the docs will be installed in the standard gentoo dir
|
|
# this way the docs will be installed in the standard gentoo dir
|
|
- rm "${ED}"/usr/share/${MY_PN}/{COPYING,README.html} || die "Installed file set seems to be changed by upstream"
|
|
|
|
|
|
+ rm "${ED}"/usr/share/${MY_PN}/{COPYING,README.html} || die "doc files set seems to have changed"
|
|
newdoc iconsets/roster/README README.roster
|
|
newdoc iconsets/roster/README README.roster
|
|
newdoc iconsets/system/README README.system
|
|
newdoc iconsets/system/README README.system
|
|
newdoc certs/README README.certs
|
|
newdoc certs/README README.certs
|
|
@@ -196,11 +191,6 @@ src_install() {
|
|
}
|
|
}
|
|
|
|
|
|
pkg_postinst() {
|
|
pkg_postinst() {
|
|
- xdg_icon_cache_update
|
|
|
|
- xdg_desktop_database_update
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-pkg_postrm() {
|
|
|
|
- xdg_icon_cache_update
|
|
|
|
- xdg_desktop_database_update
|
|
|
|
|
|
+ xdg_pkg_postinst
|
|
|
|
+ einfo "For GPG support make sure app-crypt/qca is compiled with gpg USE flag."
|
|
}
|
|
}
|