diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
commit | 21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch) | |
tree | e1810a4b135afce04b34862ef0fab2bfaeb8aeca /net-im/mcabber | |
parent | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff) |
gentoo resync : 15.01.2020
Diffstat (limited to 'net-im/mcabber')
-rw-r--r-- | net-im/mcabber/Manifest | 2 | ||||
-rw-r--r-- | net-im/mcabber/mcabber-1.1.0-r2.ebuild | 107 |
2 files changed, 109 insertions, 0 deletions
diff --git a/net-im/mcabber/Manifest b/net-im/mcabber/Manifest index 0f8d93356a3d..dd40e4e4bcc0 100644 --- a/net-im/mcabber/Manifest +++ b/net-im/mcabber/Manifest @@ -1,5 +1,7 @@ AUX README.gentoo 692 BLAKE2B ff09452aa3712dcdcd575bdf12b6bffd32f142e1b75a392c394af9131d029bedb66193dc767b5d0a3fbcc0e14852e7c63951a6189f43a68986e9f6d8f524d07d SHA512 e55fe538eb677f638ce343cb3e54314c50c923b9b0e5077e5a82bbe9d8c68dcfe3ae6975821147fd3322d2d6a74669fa58435a772e55d3b27601a80a964e3e31 DIST mcabber-1.1.0.tar.bz2 608975 BLAKE2B 856b1a4d7118337f40b11348274c79d125776d5dddcd50f87097e58240807a4ecafc4816c44d44a51bf9cbb920edb225b312c1d5d0d52be4be93810512ef2706 SHA512 d12546e9fe9da94b6107f4d38d4083bee74e2702f7f2225e26be291230c6fe1319f60a3204da669dc00b14d69822425bf8214ebb723c3c4a7a33b1247a03093f +DIST mcabber-1.1.0_bug699972.patch 1385 BLAKE2B f63316f93347b24f27e5f9a5c26de6ae1af199819efbf390915b06ba70c86ec35759c4529c20e3a7c4d8c84081bca008e90ceba8401032ba884d269355940e22 SHA512 d29acca9e710011a8f30dca1c0e281976d409d4072823527078e5f54e98fea4b637c9e52c998bc26a7a4c445d08acd3eea3a244441dac479c398dac0e786535a EBUILD mcabber-1.1.0-r1.ebuild 2363 BLAKE2B d1a02f8692b144511f7d72dfc70ff82a35c216512563ecd1658470c9dc5b1c649dfe2fef639e3b8f22c8df921bd27a930dc28704673ae251e75287e2d6aa122e SHA512 c885f5d856848c0ff3ac49d296572c692da00a9c722a4dc917cab2f3fd257bb32539f86edc1f916fd1f6d63fa87009379be61f3b5a1aa9ace1698c53b6e7c4ed +EBUILD mcabber-1.1.0-r2.ebuild 2580 BLAKE2B c43cf936f10c47fec1b0783dca30e983c5437dcdde4549859a333a4f91077498ef3f9d0f314687d06ecc43acc57f9de2c8c374191d36720f9b8a9cbdcc52b400 SHA512 ece25779d65441acecb0797ba9cac44545ba5f090af952b98b4de1ad0240e986d09cbfb0475e1b86c4178e1e5c40a9b8fb4e2851fdda0674b3159a4368d97cd2 EBUILD mcabber-9999.ebuild 2352 BLAKE2B 12746296524a0e90717722047e49c7d6b21f1da88a9fea69562644c89066d6502f66c4d6ba00d1b3f0821f9c89efb8933576f2b92913b0ac625e41a90bf1b9cd SHA512 185722d98fe44c10c059de27a96434e18a224fcd064b00dd9737fac5197ab11f35ce9eae33035adc25a5ece91aaa89b370521efc99eabdc981822f5a45ee70e7 MISC metadata.xml 689 BLAKE2B 3769ded2562cc8057cf8577cc77c8aa7f59a6c92692dab00fb3b65cda1b00320503f05d0758a7b6f13dc2460a7a58649e16eaf1bdf470bd6945142e9795af925 SHA512 b59872fe9158936ffe8066c03c89e6cd3160f6ab0629ddf0d62807e707b2b62c87da40ecb43fb08a417645abec16304e248dcf94f092cee4a9487918d66c19f6 diff --git a/net-im/mcabber/mcabber-1.1.0-r2.ebuild b/net-im/mcabber/mcabber-1.1.0-r2.ebuild new file mode 100644 index 000000000000..b2af621ada02 --- /dev/null +++ b/net-im/mcabber/mcabber-1.1.0-r2.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2019 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://bitbucket.org/McKael/mcabber" + EHG_CHECKOUT_DIR="${WORKDIR}" + EHG_BOOTSTRAP="autogen.sh" + S="${WORKDIR}/${PN}" +else + SRC_URI="http://mcabber.com/files/${P}.tar.bz2" + SRC_URI+=" https://dev.gentoo.org/~andrey_utkin/distfiles/${P}_bug699972.patch" + KEYWORDS="~alpha ~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-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 ) + dev-libs/glib:2 + net-libs/libnsl:0= + sys-libs/ncurses:0= + >=net-libs/loudmouth-1.4.3-r1[ssl?]" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +# only for patching 1.1.0 release, don't port to later ebuilds +DEPEND+=" sys-devel/automake:1.14" + +DOCS=( AUTHORS ChangeLog NEWS README TODO mcabberrc.example doc/README_PGP.txt ) + +PATCHES=( + "${DISTDIR}/${P}_bug699972.patch" +) + +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 +} |