From 3383ff0ab75e5a835c46d1a9aed3b6cf426e7643 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Wed, 16 Feb 2022 22:53:23 +0100 Subject: net-im/mcabber: add subslot op on app-crypt/gpgme Signed-off-by: David Seifert --- net-im/mcabber/mcabber-1.1.2-r1.ebuild | 99 ++++++++++++++++++++++++++++++++++ net-im/mcabber/mcabber-1.1.2.ebuild | 99 ---------------------------------- net-im/mcabber/mcabber-9999.ebuild | 4 +- 3 files changed, 101 insertions(+), 101 deletions(-) create mode 100644 net-im/mcabber/mcabber-1.1.2-r1.ebuild delete mode 100644 net-im/mcabber/mcabber-1.1.2.ebuild (limited to 'net-im/mcabber') diff --git a/net-im/mcabber/mcabber-1.1.2-r1.ebuild b/net-im/mcabber/mcabber-1.1.2-r1.ebuild new file mode 100644 index 000000000000..bd5a83f961ef --- /dev/null +++ b/net-im/mcabber/mcabber-1.1.2-r1.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit readme.gentoo-r1 + +DESCRIPTION="A small Jabber console client with various features, like MUC, SSL, PGP" +HOMEPAGE="http://mcabber.com/" + +if [[ "${PV}" == 9999 ]]; then + inherit mercurial + EHG_REPO_URI="https://mcabber.com/hg/" + EHG_CHECKOUT_DIR="${WORKDIR}" + EHG_BOOTSTRAP="autogen.sh" + S="${WORKDIR}/${PN}" +else + SRC_URI="http://mcabber.com/files/${P}.tar.bz2" + KEYWORDS="~alpha amd64 ~arm ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +fi + +LICENSE="GPL-2" +SLOT="0" + +IUSE="aspell crypt idn otr spell ssl vim-syntax" + +LANGS="cs de fr it nl pl ru uk" +# localized help versions are installed only, when L10N var is set +for i in ${LANGS}; do + IUSE="${IUSE} l10n_${i}" +done; + +RDEPEND="crypt? ( app-crypt/gpgme:= ) + otr? ( >=net-libs/libotr-3.1.0 ) + aspell? ( app-text/aspell ) + vim-syntax? ( || ( app-editors/vim app-editors/gvim ) ) + idn? ( net-dns/libidn:= ) + spell? ( app-text/enchant:0 ) + dev-libs/glib:2 + net-libs/libnsl:0= + sys-libs/ncurses:0= + >=net-libs/loudmouth-1.4.3-r1[ssl?]" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=( AUTHORS ChangeLog NEWS README TODO mcabberrc.example doc/README_PGP.txt ) + +pkg_setup() { + if use aspell && use spell; then + ewarn "NOTE: You have both USE flags 'aspell' and 'spell' enabled, enchant (USE flag 'spell') will be preferred." + fi +} + +src_configure() { + econf \ + --enable-modules \ + $(use_enable crypt gpgme) \ + $(use_enable otr) \ + $(use_enable aspell) \ + $(use_enable spell enchant) \ + $(use_with idn libidn) +} + +src_install() { + default + + # clean unneeded language documentation + for i in ${LANGS}; do + use l10n_${i} || rm -rf "${ED}"/usr/share/${PN}/help/${i} + done + + # contrib themes + insinto /usr/share/${PN}/themes + doins "${S}"/contrib/themes/* + + # contrib generic scripts + exeinto /usr/share/${PN}/scripts + doexe "${S}"/contrib/*.{pl,py} + + # contrib event scripts + exeinto /usr/share/${PN}/scripts/events + doexe "${S}"/contrib/events/* + + if use vim-syntax; then + cd contrib/vim/ || die + + insinto /usr/share/vim/vimfiles/syntax + doins mcabber_log-syntax.vim + + insinto /usr/share/vim/vimfiles/ftdetect + doins mcabber_log-ftdetect.vim + fi + + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog +} diff --git a/net-im/mcabber/mcabber-1.1.2.ebuild b/net-im/mcabber/mcabber-1.1.2.ebuild deleted file mode 100644 index 616c5e554f8a..000000000000 --- a/net-im/mcabber/mcabber-1.1.2.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit readme.gentoo-r1 - -DESCRIPTION="A small Jabber console client with various features, like MUC, SSL, PGP" -HOMEPAGE="http://mcabber.com/" - -if [[ "${PV}" == 9999 ]]; then - inherit mercurial - EHG_REPO_URI="https://mcabber.com/hg/" - EHG_CHECKOUT_DIR="${WORKDIR}" - EHG_BOOTSTRAP="autogen.sh" - S="${WORKDIR}/${PN}" -else - SRC_URI="http://mcabber.com/files/${P}.tar.bz2" - KEYWORDS="~alpha amd64 ~arm ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -fi - -LICENSE="GPL-2" -SLOT="0" - -IUSE="aspell crypt idn otr spell ssl vim-syntax" - -LANGS="cs de fr it nl pl ru uk" -# localized help versions are installed only, when L10N var is set -for i in ${LANGS}; do - IUSE="${IUSE} l10n_${i}" -done; - -RDEPEND="crypt? ( >=app-crypt/gpgme-1.0.0 ) - otr? ( >=net-libs/libotr-3.1.0 ) - aspell? ( app-text/aspell ) - vim-syntax? ( || ( app-editors/vim app-editors/gvim ) ) - idn? ( net-dns/libidn:= ) - spell? ( app-text/enchant:0 ) - dev-libs/glib:2 - net-libs/libnsl:0= - sys-libs/ncurses:0= - >=net-libs/loudmouth-1.4.3-r1[ssl?]" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -DOCS=( AUTHORS ChangeLog NEWS README TODO mcabberrc.example doc/README_PGP.txt ) - -pkg_setup() { - if use aspell && use spell; then - ewarn "NOTE: You have both USE flags 'aspell' and 'spell' enabled, enchant (USE flag 'spell') will be preferred." - fi -} - -src_configure() { - econf \ - --enable-modules \ - $(use_enable crypt gpgme) \ - $(use_enable otr) \ - $(use_enable aspell) \ - $(use_enable spell enchant) \ - $(use_with idn libidn) -} - -src_install() { - default - - # clean unneeded language documentation - for i in ${LANGS}; do - use l10n_${i} || rm -rf "${ED}"/usr/share/${PN}/help/${i} - done - - # contrib themes - insinto /usr/share/${PN}/themes - doins "${S}"/contrib/themes/* - - # contrib generic scripts - exeinto /usr/share/${PN}/scripts - doexe "${S}"/contrib/*.{pl,py} - - # contrib event scripts - exeinto /usr/share/${PN}/scripts/events - doexe "${S}"/contrib/events/* - - if use vim-syntax; then - cd contrib/vim/ || die - - insinto /usr/share/vim/vimfiles/syntax - doins mcabber_log-syntax.vim - - insinto /usr/share/vim/vimfiles/ftdetect - doins mcabber_log-ftdetect.vim - fi - - readme.gentoo_create_doc -} - -pkg_postinst() { - readme.gentoo_print_elog -} diff --git a/net-im/mcabber/mcabber-9999.ebuild b/net-im/mcabber/mcabber-9999.ebuild index 9e0a12b1fef1..eb94b6002a7b 100644 --- a/net-im/mcabber/mcabber-9999.ebuild +++ b/net-im/mcabber/mcabber-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 @@ for i in ${LANGS}; do IUSE="${IUSE} l10n_${i}" done; -RDEPEND="crypt? ( >=app-crypt/gpgme-1.0.0 ) +RDEPEND="crypt? ( app-crypt/gpgme:= ) otr? ( >=net-libs/libotr-3.1.0 ) aspell? ( app-text/aspell ) vim-syntax? ( || ( app-editors/vim app-editors/gvim ) ) -- cgit v1.2.3-65-gdbad