From d51dd3c9b2cf5f3a983763484936276e24832af1 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Tue, 20 Sep 2022 11:30:58 +0200 Subject: net-im/psi: add 'dot' USE flag to graphviz dep Closes: https://bugs.gentoo.org/872017 Signed-off-by: Florian Schmaus --- net-im/psi/psi-1.5-r1.ebuild | 119 +++++++++++++++++++++++++++++++++++++++++++ net-im/psi/psi-1.5.ebuild | 119 ------------------------------------------- net-im/psi/psi-9999.ebuild | 4 +- 3 files changed, 121 insertions(+), 121 deletions(-) create mode 100644 net-im/psi/psi-1.5-r1.ebuild delete mode 100644 net-im/psi/psi-1.5.ebuild diff --git a/net-im/psi/psi-1.5-r1.ebuild b/net-im/psi/psi-1.5-r1.ebuild new file mode 100644 index 000000000000..68f516fd6100 --- /dev/null +++ b/net-im/psi/psi-1.5-r1.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2022 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="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 webengine whiteboarding xscreensaver" + +REQUIRED_USE=" + ?? ( aspell enchant hunspell ) +" + +BDEPEND=" + dev-qt/linguist-tools:5 + virtual/pkgconfig + doc? ( app-doc/doxygen[dot] ) +" +DEPEND=" + app-crypt/qca:2[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." +} diff --git a/net-im/psi/psi-1.5.ebuild b/net-im/psi/psi-1.5.ebuild deleted file mode 100644 index 51720b881c72..000000000000 --- a/net-im/psi/psi-1.5.ebuild +++ /dev/null @@ -1,119 +0,0 @@ -# Copyright 1999-2021 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="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 webengine whiteboarding xscreensaver" - -REQUIRED_USE=" - ?? ( aspell enchant hunspell ) -" - -BDEPEND=" - dev-qt/linguist-tools:5 - virtual/pkgconfig - doc? ( app-doc/doxygen ) -" -DEPEND=" - app-crypt/qca:2[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." -} diff --git a/net-im/psi/psi-9999.ebuild b/net-im/psi/psi-9999.ebuild index 6dc0701912e8..4d4fbb81991e 100644 --- a/net-im/psi/psi-9999.ebuild +++ b/net-im/psi/psi-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -30,7 +30,7 @@ REQUIRED_USE=" BDEPEND=" dev-qt/linguist-tools:5 virtual/pkgconfig - doc? ( app-doc/doxygen ) + doc? ( app-doc/doxygen[dot] ) extras? ( >=sys-devel/qconf-2.4 ) " DEPEND=" -- cgit v1.2.3-65-gdbad