mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
net-im/psi: treeclean
Closes: https://bugs.gentoo.org/755446 (pkgremoved) Closes: https://bugs.gentoo.org/926138 (pkgremoved) Closes: https://bugs.gentoo.org/926670 (pkgremoved) Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
DIST psi-1.5.tar.xz 2125104 BLAKE2B ee4114749b5958c61dccc45c2562d868f30a2f4765229c904c32d54d5730e2eaa9ab03e966fa5b83aba7e31d37fafb2b194c74a72f2404f3b51815bc525c5080 SHA512 c2e17dad346b5f7e8c97dc8959d99eaf4c30c1ba11c2d04b562af7b30482d5dbdc3a86508c4c29881ea0fc72db5a9d5fb4017768732cafee6a1d3025a39d8520
|
||||
DIST psi-l10n-1.5.tar.gz 3037979 BLAKE2B a1baef1b3c86c1b0a528d4395bd6aabf99e1ec4c077d5d0358d4fd9566fcc2d929f46688c3bb2f56ad1de840fa1699f33c211fa4c7597b66ba0842cccbfbc19c SHA512 d5ed8244fbaa9fdd9a40a14ef3660085c8c9c5a18352900fa8d947fad01aea5894c23d83dc16e8ebf9fe007905ecbb8eca7dfaa4e1cf0fa160af341967886cae
|
||||
@@ -1,29 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>rion4ik@gmail.com</email>
|
||||
<name>Sergey Ilinykh</name>
|
||||
</maintainer>
|
||||
<maintainer type="project" proxied="proxy">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Psi is a multi-platform XMPP client based on Qt and supports a wide range of XMPP extensions. It is extremely configurable and extendable with plugins.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="aspell">Enable spellchecking using <pkg>app-text/aspell</pkg></flag>
|
||||
<flag name="enchant">Enable spellchecking using <pkg>app-text/enchant</pkg></flag>
|
||||
<flag name="extras">Enable Psi+ patchset</flag>
|
||||
<flag name="hunspell">Enable spellchecking using <pkg>app-text/hunspell</pkg></flag>
|
||||
<flag name="iconsets">Install additional iconsets, some of them have no clear licensing</flag>
|
||||
<flag name="webengine">Enable themed, html-based chatlogs using <pkg>dev-qt/qtwebengine</pkg></flag>
|
||||
<flag name="whiteboarding">Enable experimental interactive SVG drawing</flag>
|
||||
<flag name="xscreensaver">Use X screensaver protocol extension to monitor idle/active status based on mouse/keyboard events</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">psi-im/psi</remote-id>
|
||||
<remote-id type="sourceforge">psi</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,119 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
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"
|
||||
PLOCALE_BACKUP="en"
|
||||
|
||||
inherit plocale qmake-utils xdg
|
||||
|
||||
DESCRIPTION="Qt XMPP client"
|
||||
HOMEPAGE="https://psi-im.org"
|
||||
SRC_URI="https://downloads.sourceforge.net/${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 webengine whiteboarding xscreensaver"
|
||||
|
||||
REQUIRED_USE="
|
||||
?? ( aspell enchant hunspell )
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
dev-qt/linguist-tools:5
|
||||
virtual/pkgconfig
|
||||
doc? ( app-text/doxygen[dot] )
|
||||
"
|
||||
DEPEND="
|
||||
app-crypt/qca:2[qt5(+),ssl]
|
||||
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:0
|
||||
sys-libs/zlib[minizip]
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
aspell? ( app-text/aspell )
|
||||
dbus? ( dev-qt/qtdbus:5 )
|
||||
enchant? ( app-text/enchant:2 )
|
||||
hunspell? ( app-text/hunspell:= )
|
||||
webengine? (
|
||||
dev-qt/qtwebchannel:5
|
||||
dev-qt/qtwebengine:5[widgets]
|
||||
)
|
||||
whiteboarding? ( dev-qt/qtsvg:5 )
|
||||
xscreensaver? ( x11-libs/libXScrnSaver )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-qt/qtimageformats
|
||||
"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_configure() {
|
||||
CONF=(
|
||||
--prefix="${EPREFIX}"/usr
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir)
|
||||
--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_enable webengine webkit)
|
||||
$(use_with webengine webkit qtwebengine)
|
||||
)
|
||||
|
||||
use debug && CONF+=("--debug")
|
||||
|
||||
# This may generate warnings if passed option already matches with default.
|
||||
# Just ignore them. It's how qconf-based configure works and will be fixed in
|
||||
# future qconf versions.
|
||||
./configure "${CONF[@]}" || die "configure failed"
|
||||
|
||||
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"
|
||||
}
|
||||
plocale_for_each_locale install_locale
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
einfo "For GPG support make sure app-crypt/qca is compiled with gpg USE flag."
|
||||
}
|
||||
@@ -1,163 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PLOCALES="be bg ca cs de el en eo es et fa fi fr he hu it ja kk mk nl pl pt_BR pt ru sk sl sr@latin sv sw uk ur_PK vi zh_CN zh_TW"
|
||||
PLOCALE_BACKUP="en"
|
||||
|
||||
inherit git-r3 cmake plocale qmake-utils xdg
|
||||
|
||||
DESCRIPTION="Qt XMPP client"
|
||||
HOMEPAGE="https://psi-im.org"
|
||||
|
||||
PSI_URI="https://github.com/psi-im"
|
||||
PSI_PLUS_URI="https://github.com/psi-plus"
|
||||
EGIT_REPO_URI="${PSI_URI}/${PN}.git"
|
||||
PSI_LANGS_URI="${PSI_URI}/psi-l10n.git"
|
||||
PSI_PLUS_LANGS_URI="${PSI_PLUS_URI}/psi-plus-l10n.git"
|
||||
EGIT_MIN_CLONE_TYPE="single"
|
||||
LICENSE="GPL-2 iconsets? ( all-rights-reserved )"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="aspell crypt dbus debug doc enchant extras +hunspell iconsets keyring webengine xscreensaver"
|
||||
|
||||
REQUIRED_USE="
|
||||
?? ( aspell enchant hunspell )
|
||||
iconsets? ( extras )
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
dev-qt/linguist-tools:5
|
||||
virtual/pkgconfig
|
||||
doc? ( app-text/doxygen[dot] )
|
||||
extras? ( >=dev-build/qconf-2.4 )
|
||||
"
|
||||
DEPEND="
|
||||
app-crypt/qca:2[qt5(+),ssl]
|
||||
dev-qt/qtconcurrent:5
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtmultimedia:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtsql:5[sqlite]
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtx11extras:5
|
||||
dev-qt/qtxml:5
|
||||
net-dns/libidn:0
|
||||
net-libs/http-parser:=
|
||||
net-libs/usrsctp
|
||||
sys-libs/zlib[minizip]
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
aspell? ( app-text/aspell )
|
||||
dbus? ( dev-qt/qtdbus:5 )
|
||||
enchant? ( app-text/enchant:2 )
|
||||
hunspell? ( app-text/hunspell:= )
|
||||
keyring? ( dev-libs/qtkeychain:=[qt5(+)] )
|
||||
webengine? (
|
||||
dev-qt/qtwebchannel:5
|
||||
dev-qt/qtwebengine:5[widgets]
|
||||
net-libs/http-parser
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-qt/qtimageformats
|
||||
crypt? ( app-crypt/qca[gpg] )
|
||||
"
|
||||
|
||||
RESTRICT="test iconsets? ( bindist )"
|
||||
|
||||
pkg_setup() {
|
||||
MY_PN=psi
|
||||
if use extras; then
|
||||
MY_PN=psi-plus
|
||||
ewarn "You're about to build patched version of Psi called 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/"
|
||||
|
||||
if use iconsets; then
|
||||
ewarn
|
||||
ewarn "Some artwork is from open source projects, but some is provided 'as-is'"
|
||||
ewarn "and has not clear licensing."
|
||||
ewarn "Possibly this build is not redistributable in some countries."
|
||||
fi
|
||||
|
||||
EGIT_REPO_URI="${PSI_PLUS_URI}/${MY_PN}-snapshots.git"
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
git-r3_src_unpack
|
||||
|
||||
# fetch translations
|
||||
unset EGIT_BRANCH EGIT_COMMIT
|
||||
EGIT_REPO_URI=$(usex extras "${PSI_PLUS_LANGS_URI}" "${PSI_LANGS_URI}")
|
||||
EGIT_CHECKOUT_DIR="${WORKDIR}/psi-l10n"
|
||||
git-r3_src_unpack
|
||||
|
||||
if use iconsets; then
|
||||
unset EGIT_BRANCH EGIT_COMMIT
|
||||
EGIT_CHECKOUT_DIR="${WORKDIR}/resources" \
|
||||
EGIT_REPO_URI="${PSI_URI}/resources.git" \
|
||||
git-r3_src_unpack
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
if use iconsets; then
|
||||
cp -a "${WORKDIR}/resources/iconsets" "${S}" || die "failed to copy additional iconsets"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DPRODUCTION=OFF
|
||||
-DUSE_ASPELL=$(usex aspell)
|
||||
-DUSE_ENCHANT=$(usex enchant)
|
||||
-DUSE_HUNSPELL=$(usex hunspell)
|
||||
-DUSE_DBUS=$(usex dbus)
|
||||
-DINSTALL_PLUGINS_SDK=1
|
||||
-DUSE_KEYCHAIN=$(usex keyring)
|
||||
-DCHAT_TYPE=$(usex webengine webengine basic)
|
||||
-DUSE_XSS=$(usex xscreensaver)
|
||||
-DPSI_PLUS=$(usex extras)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
use doc && emake -C doc api_public
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
# this way the docs will be installed in the standard gentoo dir
|
||||
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/system/README README.system
|
||||
newdoc certs/README README.certs
|
||||
dodoc README.html
|
||||
|
||||
use doc && HTML_DOCS=( doc/api/. )
|
||||
einstalldocs
|
||||
|
||||
# install translations
|
||||
local mylrelease="$(qt5_get_bindir)"/lrelease
|
||||
cd "${WORKDIR}/psi-l10n" || die
|
||||
insinto /usr/share/${MY_PN}
|
||||
install_locale() {
|
||||
"${mylrelease}" "translations/${PN}_${1}.ts" || die "lrelease ${1} failed"
|
||||
doins "translations/${PN}_${1}.qm"
|
||||
}
|
||||
plocale_for_each_locale install_locale
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
einfo "For GPG support make sure app-crypt/qca is compiled with gpg USE flag."
|
||||
}
|
||||
@@ -210,13 +210,6 @@ dev-python/terminaltables
|
||||
# Bugs #741849, #830220, #851507 and #926672. Removal on 2025-02-10.
|
||||
net-misc/fatrat
|
||||
|
||||
# Andreas Sturmlechner <asturm@gentoo.org> (2025-01-11)
|
||||
# Last release from 2020, effectively unmaintained in Gentoo as its
|
||||
# maintainer has moved on to taking care of it in rion overlay instead.
|
||||
# Depends on Qt5, app-crypt/qca[qt5], dev-qt/qtwebengine:5.
|
||||
# Bugs #755446, #926138, #926670. Removal on 2025-02-10.
|
||||
net-im/psi
|
||||
|
||||
# Arthur Zamarin <arthurzam@gentoo.org> (2025-01-10)
|
||||
# EAPI=7, maintainer needed, no reverse dependencies, fails to compile,
|
||||
# uses deprecated Go eclass.
|
||||
|
||||
Reference in New Issue
Block a user