diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-01 12:01:16 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-01 12:01:16 +0100 |
commit | 4d37b8aa4c6b04fa417e8f87f276f7e08a411ee0 (patch) | |
tree | a53cac2dfa1e2a70dea6c0d6d6e1d7ff3bde743d /net-irc | |
parent | 5b7f6475da27c05b30659a00ecb49636aca2bece (diff) |
gentoo auto-resync : 01:09:2024 - 12:01:15
Diffstat (limited to 'net-irc')
-rw-r--r-- | net-irc/Manifest.gz | bin | 8078 -> 8078 bytes | |||
-rw-r--r-- | net-irc/konversation/Manifest | 2 | ||||
-rw-r--r-- | net-irc/konversation/konversation-24.05.2.ebuild | 2 | ||||
-rw-r--r-- | net-irc/weechat/Manifest | 8 | ||||
-rw-r--r-- | net-irc/weechat/weechat-4.3.6.ebuild | 191 | ||||
-rw-r--r-- | net-irc/weechat/weechat-4.4.1.ebuild | 187 | ||||
-rw-r--r-- | net-irc/weechat/weechat-9999.ebuild | 6 |
7 files changed, 388 insertions, 8 deletions
diff --git a/net-irc/Manifest.gz b/net-irc/Manifest.gz Binary files differindex 8a5bdfbc8986..7f18c94b300c 100644 --- a/net-irc/Manifest.gz +++ b/net-irc/Manifest.gz diff --git a/net-irc/konversation/Manifest b/net-irc/konversation/Manifest index e615a6fab988..da456ee7a8ff 100644 --- a/net-irc/konversation/Manifest +++ b/net-irc/konversation/Manifest @@ -3,6 +3,6 @@ DIST konversation-23.08.5.tar.xz 4490296 BLAKE2B 027b53e5b59f6666818eb83c4ec8bbb DIST konversation-24.05.2.tar.xz 4388192 BLAKE2B 4eeaa7c2c0264a742fc814ec0a2820aac4bf39fa91d4915cc5065710f28b77d0856a917975415b2c9fb9ec16ada8f4f2553709df24378fb1a12a9a55878876dc SHA512 a965a5384ee5b1d49bccd81d7038d927dd4cf8ab2935909cfc69032e77fd8f87a134e729a65e999ce45ccae64316d8318c4649844aa1f490a7513e3255c34622 DIST konversation-24.08.0.tar.xz 4392476 BLAKE2B d04a89607fddba3bd295333805ce4b177e6167c5abc9d0245f06a33c2471f86b38ed07b694ad74515db2de4593c5eec29e9681824e20fc2ef16defb2dafb4a4b SHA512 99a444efd2ae01216cf9e65b3f7aae1e1b57052b5f8637b3c6463d6a2eecc1a04dfa9aa0f84cba10e8c3c2b702af6a8dfcd7bb665791e7bff8312d9d8c242063 EBUILD konversation-23.08.5.ebuild 2077 BLAKE2B 8c3580917a1245ab43a7bbe5c713118318589a4d824637970caf09f5a8e0a0e84d5f4989497bc301552c523d5313fc7eaca6ca1cfa538841971baa8cfaee927f SHA512 9fae6848948174aa34183f8332bb7c6be444ea734e6254de745b99000ba9d720581b922b80c1b7bd0634da014c56c5464a2c3d382d975ed4e9df02e0cbffcb83 -EBUILD konversation-24.05.2.ebuild 1934 BLAKE2B 79acc645442a99dec6d95e4ce4b27a1b7bbaacd076728c99c81eeafb42eb59630e894eec364bc8e860155d1b111de60b0a7c76c6b7db6a4c6fc04dae22fae0f6 SHA512 f1d043ffd60d3158cf8c6cd9f153448e183437f3aacc9caec3878a14902e5825968df10569f787589710bda9d48019fbccc309f2c2f41c744d0a92f9813932b1 +EBUILD konversation-24.05.2.ebuild 1933 BLAKE2B 9bd61d804a798ebea6c41886e2ca02369d3fc3bce7f9bfdc1b5aa299d24be4de49e25fe847bafd21eca86957ba41bae319d50468f57cf6395c9668c88ba2f827 SHA512 96e501337783c597e11e7c4f7efe8fbb3e9c07572415d29169e8c258ef3cdec3d6238784b8677387298bf04eac293e79e8537074decaedd3b2690a0c94eeb34e EBUILD konversation-24.08.0.ebuild 1934 BLAKE2B 16b25518610dbb098a3168630b3f6c7f5e8040d21a1ef19ea79da24178a767d72e93952fc6c30e299fcb10a211816626aabfc5ebac2b166e434235f471ac27cd SHA512 2185431ae0e79a77606696e5da066177fedd4a9f86bfca5e61a2742b2311819d72cf6f1f7dee630c7e60262f110aed23efd4ce9dfed5ebe8707ba3bec0fd4699 MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6 diff --git a/net-irc/konversation/konversation-24.05.2.ebuild b/net-irc/konversation/konversation-24.05.2.ebuild index 7973cc7dd210..a2790dd36fab 100644 --- a/net-irc/konversation/konversation-24.05.2.ebuild +++ b/net-irc/konversation/konversation-24.05.2.ebuild @@ -13,7 +13,7 @@ HOMEPAGE="https://konversation.kde.org https://apps.kde.org/konversation/" LICENSE="GPL-2" SLOT="6" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" IUSE="+crypt" DEPEND=" diff --git a/net-irc/weechat/Manifest b/net-irc/weechat/Manifest index 49d56c904df2..b8c1319a8713 100644 --- a/net-irc/weechat/Manifest +++ b/net-irc/weechat/Manifest @@ -9,10 +9,16 @@ DIST weechat-4.3.3.tar.xz 2694000 BLAKE2B 1fde0f51add8928f264c0f9418f60d03ff60cf DIST weechat-4.3.3.tar.xz.asc 833 BLAKE2B 53ecaf3b58c9d894a026452e42e386e4beb819539f12653363dcf93caddcdd1790b338d91f347b788a01183621931011bb79cff1fc75900ce97cd947e8d397f5 SHA512 35a348b2dd230c738634acbd77c8ae786296b93b755f1b22b0b8500c5bc2787ab64128aaf51bf755b9ffeefb08ab3f78cd57e6e9403849964ef561b7c850a264 DIST weechat-4.3.4.tar.xz 2694132 BLAKE2B c0f8a81d415679a2651903ede9725791f60bd77963270ca12fbb391f3565cb4ddc254379d989b7f8183651331593663dd285ae1c0744b75eb533193ad11577e8 SHA512 026684a3ee40eae166820c64cf68fccb27346117b90b617be4d0b10048ea4b3b8454f1020138c71f61598e6127e0426b7ba094d69f4da02fd322d9bd2b06a81b DIST weechat-4.3.4.tar.xz.asc 833 BLAKE2B 60caec0bfaf402638bada38fa576bf881774890ddf43bfc327a7e6b6e7d133e67a19ee728867a9030fcd688041e7f9ce7a71cd8095845b575ba0a67ee5c52c51 SHA512 4e8dbec71852f2d4f1119129e77c7c4256f94af651d01fa21ebb219bcf2488ef57b868335ef22c659ef0d0acb921457561f29e46f021856c8610d1bc559bd9e8 +DIST weechat-4.3.6.tar.xz 2694420 BLAKE2B 47809deba9683c8fd40cc78b54fe63cafbf5ca3e2b4dd96b1fe597f4f425ea682c3c8d3d634aae34a3b23e7cdddc97537848320e2e54d9372a17502dad022af9 SHA512 d97223f733b4b5233f9ddcd97cb1011a2ad9edc72f17d1e3670cc843848783a6c41ff8edc12edf33eda3e6f0b1bd8898a638cf9dc1a1d2c4996a7f063d473742 +DIST weechat-4.3.6.tar.xz.asc 833 BLAKE2B 5cd9e34c69e30e008e3f7ceccc69796b9890fead9dbb490515925c47347818f5b60b69e1704618f1f6de602cbd5389f77405bf99d93c2c0379afff5c8f0eeabb SHA512 5a3cb83c4f8d1102dce21fb03c3e6a37729b66160a232e8b8342525bdd84f158b945d936f5931b7619e51fbf117a986c8ad5edf5b4d461265bd778329c67c18b +DIST weechat-4.4.1.tar.xz 2728104 BLAKE2B 71436cf291271690337a918907b8de411f9f8f0c80ffd8d20aa035ee2121917c62a6d9704b28fac8efa4e4b7067eb0c834746e07083abe29ddf679ee3261b658 SHA512 75b1fc21674229f11f9d5d049b663dee77e65529b5dfe62744e7afd0f0854afa4344b56f26d91fe9378ccece932e05e57e9bce4e1d7515d4d26fdffbf2f2a55b +DIST weechat-4.4.1.tar.xz.asc 833 BLAKE2B 6fbeebcb09551687cb216aa6bad8dd21628c14ecc8bb8f2d1ac1d5b70fd0b1002e7a1e896f350e04a18c63437e3e6953e6e6e05d1a90f920be906bdf51fe575a SHA512 66d80b5233b0a3a8262cfe5db3e91043f33ac426b94ad5bd6f37b32e59b413435d2ca55f3aba9d53f8a1454c43161ab51f31ca02d0eafd83b8e3cea1497a96de EBUILD weechat-4.2.1.ebuild 4895 BLAKE2B 55956a1c2c4889a47bc5a86709fdaf4dbbd2ccc70705e4b62d728a6be60649e23cce8b57a86f8fc0385e945057c93f111c3babc34688903e360c1d87c25299d9 SHA512 0094b099948779173e284c3e8f32a3d31fdb0b3003a3b7cedd12ed41fd15effe40ee62d9109303d923a7bf67d7171c8fc939806c54bcaff5d44b2095edd46a8a EBUILD weechat-4.2.3.ebuild 4896 BLAKE2B fc08b38f9faefec5f0b6aca86c93b4d91703e5f4deb29d7059833d8ce37310fba0a4057e8b907741cd005ca11bd6801cc3f909c9105b5b158ceb4dc966e6cbed SHA512 89d4cd5db1f556c092ef56af8861c2f864296e716ad6cfc38d94b0a19c3b2ac0c9c35fa607e80d9a7243eae9a89ffa233c9eefa874327b612873bfe47279cd4d EBUILD weechat-4.3.2-r1.ebuild 4995 BLAKE2B 3c9df96cc33a635faa6f18264f04e7860cff14c1370bab6812622f187c2add89b456ee0785432f8dccd7d6202d561056704b2ed16ccbd60304a7fadff3249963 SHA512 247ed1249182d429db082417561ba6d73aa34850c80036404bf28972274b28302655f6f97f9b475148454029c9f230bce8cdf5540cb20585f37a27415b1b6506 EBUILD weechat-4.3.3.ebuild 4996 BLAKE2B 9a990aa051aa62ee99a629874428361edfdef3c1befab8da4a16bbaece0499e972dc8b910b926249b68aad7651e8521ace0af9971a096dbf8832706513105ac7 SHA512 6bdc1395ba624e42de4dfe9ba6c89e1ae7ceddc4d595d28ffcc81c9f234611d45a0edf07cd7c91e3a9d9e2ffdd455e6e4dff3f88e7ea8ac3b50376da2ade403e EBUILD weechat-4.3.4.ebuild 4996 BLAKE2B 9a990aa051aa62ee99a629874428361edfdef3c1befab8da4a16bbaece0499e972dc8b910b926249b68aad7651e8521ace0af9971a096dbf8832706513105ac7 SHA512 6bdc1395ba624e42de4dfe9ba6c89e1ae7ceddc4d595d28ffcc81c9f234611d45a0edf07cd7c91e3a9d9e2ffdd455e6e4dff3f88e7ea8ac3b50376da2ade403e -EBUILD weechat-9999.ebuild 4983 BLAKE2B 765785ebd7511724ff7538f01c80ad00633134bd33a3d4d7789ece4590d249e56bd4ed2d756f1c95961ce5d60a6b7d828d792e74577649eab69afdd496403826 SHA512 e83f4d54bb3b0e5f50b743c03831e1e321e8275912f58d2a2c6e5eac181eed1e925f9c5b4450854e064440b09be8852d32e34876ccc9c08c73fbd2e532f05b03 +EBUILD weechat-4.3.6.ebuild 4996 BLAKE2B 9a990aa051aa62ee99a629874428361edfdef3c1befab8da4a16bbaece0499e972dc8b910b926249b68aad7651e8521ace0af9971a096dbf8832706513105ac7 SHA512 6bdc1395ba624e42de4dfe9ba6c89e1ae7ceddc4d595d28ffcc81c9f234611d45a0edf07cd7c91e3a9d9e2ffdd455e6e4dff3f88e7ea8ac3b50376da2ade403e +EBUILD weechat-4.4.1.ebuild 4939 BLAKE2B c49c1d79450050b98243c9a3ccddc622b05a0e1fbd3ff51164123a7d871301b68e3fbf8cb50e3cfbbef95943ef338b3bca4963980a085307de7302d2394ef8c9 SHA512 dc6c36af6090334f8498459f5c6577b8e7958b802c5dd37fd04554f7bb13a0aec6f8c78f6c773739aaa659065bb460384142d1b149ef8377a10f77bdccbe535e +EBUILD weechat-9999.ebuild 4939 BLAKE2B c49c1d79450050b98243c9a3ccddc622b05a0e1fbd3ff51164123a7d871301b68e3fbf8cb50e3cfbbef95943ef338b3bca4963980a085307de7302d2394ef8c9 SHA512 dc6c36af6090334f8498459f5c6577b8e7958b802c5dd37fd04554f7bb13a0aec6f8c78f6c773739aaa659065bb460384142d1b149ef8377a10f77bdccbe535e MISC metadata.xml 1535 BLAKE2B 654e2479cf1fa904e9f91a9a1214ac4bdc17da43ae6c0f344588c68a7dc1fbf200f08911cbc673debe71c7d72488390cbb30c33f6c504e5b1a68404c86a4ee21 SHA512 82b181c67a102f7625342c933c953c6e2fef2fcaec8abb11eb2237983590db8e1947e615e806c17c73efb55f47963a69a63d56174da9b3613f20d15aa5967876 diff --git a/net-irc/weechat/weechat-4.3.6.ebuild b/net-irc/weechat/weechat-4.3.6.ebuild new file mode 100644 index 000000000000..d86207e4e6ef --- /dev/null +++ b/net-irc/weechat/weechat-4.3.6.ebuild @@ -0,0 +1,191 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1..4} ) +PYTHON_COMPAT=( python3_{10..13} ) + +inherit cmake lua-single python-single-r1 xdg + +if [[ ${PV} == "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/weechat/weechat.git" +else + inherit verify-sig + SRC_URI="https://weechat.org/files/src/${P}.tar.xz + verify-sig? ( https://weechat.org/files/src/${P}.tar.xz.asc )" + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/weechat.org.asc + BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-weechat )" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~x64-macos" +fi + +DESCRIPTION="Portable and multi-interface IRC client" +HOMEPAGE="https://weechat.org/" + +LICENSE="GPL-3+" +SLOT="0/${PV}" + +NETWORKS="+irc" +PLUGINS="+alias +buflist +charset +exec +fifo +fset +logger +relay +scripts +spell +trigger +typing +xfer" +# dev-lang/v8 was dropped from Gentoo so we can't enable javascript support +# dev-lang/php eclass support is lacking, php plugins don't work. bug #705702 +SCRIPT_LANGS="guile lua +perl +python ruby tcl" +LANGS=" cs de es fr it ja pl ru" +IUSE="doc enchant man nls relay-api selinux test +zstd ${SCRIPT_LANGS} ${PLUGINS} ${INTERFACES} ${NETWORKS}" + +REQUIRED_USE=" + enchant? ( spell ) + lua? ( ${LUA_REQUIRED_USE} ) + python? ( ${PYTHON_REQUIRED_USE} ) + test? ( nls ) + relay-api? ( relay ) +" + +RDEPEND=" + dev-libs/libgcrypt:0= + net-libs/gnutls:= + sys-libs/ncurses:0= + sys-libs/zlib:= + net-misc/curl[ssl] + charset? ( virtual/libiconv ) + guile? ( >=dev-scheme/guile-2.0:12= ) + lua? ( ${LUA_DEPS} ) + nls? ( virtual/libintl ) + perl? ( + dev-lang/perl:= + virtual/libcrypt:= + ) + python? ( ${PYTHON_DEPS} ) + relay-api? ( dev-libs/cJSON ) + ruby? ( + || ( + dev-lang/ruby:3.3 + dev-lang/ruby:3.2 + dev-lang/ruby:3.1 + ) + ) + selinux? ( sec-policy/selinux-irc ) + spell? ( + enchant? ( app-text/enchant:* ) + !enchant? ( app-text/aspell ) + ) + tcl? ( >=dev-lang/tcl-8.4.15:0= ) + zstd? ( app-arch/zstd:= ) +" + +DEPEND="${RDEPEND} + test? ( dev-util/cpputest ) +" + +BDEPEND+=" + virtual/pkgconfig + doc? ( >=dev-ruby/asciidoctor-1.5.4 ) + man? ( >=dev-ruby/asciidoctor-1.5.4 ) + nls? ( >=sys-devel/gettext-0.15 ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-3.3-cmake_lua_version.patch +) + +DOCS="AUTHORS.adoc ChangeLog.adoc Contributing.adoc ReleaseNotes.adoc README.adoc" + +RESTRICT="!test? ( test )" + +pkg_setup() { + use lua && lua-single_pkg_setup + use python && python-single-r1_pkg_setup +} + +src_prepare() { + cmake_src_prepare + + # install only required translations + local i + for i in ${LANGS} ; do + if ! has ${i} ${LINGUAS-${i}} ; then + sed -i \ + -e "/${i}.po/d" \ + po/CMakeLists.txt || die + fi + done + + # install only required documentation ; en always + local j + for i in $(grep -e 'set(.*en.*)$' doc/CMakeLists.txt \ + | sed -e 's/.*set(\(\w\+\).*/\1/'); do + for j in $(grep set.${i} doc/CMakeLists.txt \ + | sed -e "s/.*${i}\(.*\)).*/\1/" -e 's/ en//'); do + if ! has ${j} ${LINGUAS-${j}} ; then + sed -i \ + -e "s/\(set(${i}.*\) ${j}/\1/" \ + doc/CMakeLists.txt || die + fi + done + done + + # install docs in correct directory + sed -i "s#\${DATAROOTDIR}/doc/\${PROJECT_NAME}#\0-${PVR}/html#" doc/CMakeLists.txt || die + + if [[ ${CHOST} == *-darwin* ]]; then + # fix linking error on Darwin + sed -i "s/+ get_config_var('LINKFORSHARED')//" \ + cmake/FindPython.cmake || die + # allow to find the plugins by default + sed -i 's/".so,.dll"/".bundle,.so,.dll"/' \ + src/core/wee-config.c || die + fi +} + +src_configure() { + local mycmakeargs=( + -DLIBDIR="${EPREFIX}/usr/$(get_libdir)" + -DENABLE_JAVASCRIPT=OFF + -DENABLE_LARGEFILE=ON + -DENABLE_NCURSES=ON + -DENABLE_PHP=OFF + -DENABLE_ALIAS=$(usex alias) + -DENABLE_BUFLIST=$(usex buflist) + -DENABLE_CHARSET=$(usex charset) + # -DENABLE_DOC requires all plugins (except javascript). + # https://github.com/weechat/weechat/blob/v4.0.2/CMakeLists.txt#L144 + # Impossible since php was dropped in net-irc/weechat-3.5.r1.ebuild. bug #705702 + -DENABLE_DOC=OFF + -DENABLE_DOC_INCOMPLETE=$(usex doc) + -DENABLE_ENCHANT=$(usex enchant) + -DENABLE_EXEC=$(usex exec) + -DENABLE_FIFO=$(usex fifo) + -DENABLE_FSET=$(usex fset) + -DENABLE_GUILE=$(usex guile) + -DENABLE_IRC=$(usex irc) + -DENABLE_LOGGER=$(usex logger) + -DENABLE_LUA=$(usex lua) + -DENABLE_MAN=$(usex man) + -DENABLE_NLS=$(usex nls) + -DENABLE_PERL=$(usex perl) + -DENABLE_PYTHON=$(usex python) + -DENABLE_RELAY=$(usex relay) + -DENABLE_CJSON=$(usex relay-api) + -DENABLE_RUBY=$(usex ruby) + -DENABLE_SCRIPT=$(usex scripts) + -DENABLE_SCRIPTS=$(usex scripts) + -DENABLE_SPELL=$(usex spell) + -DENABLE_TCL=$(usex tcl) + -DENABLE_TESTS=$(usex test) + -DENABLE_TRIGGER=$(usex trigger) + -DENABLE_TYPING=$(usex typing) + -DENABLE_XFER=$(usex xfer) + -DENABLE_ZSTD=$(usex zstd) + ) + cmake_src_configure +} + +src_test() { + if $(locale -a | grep -iq "en_US\.utf.*8"); then + cmake_src_test -V + else + eerror "en_US.UTF-8 locale is required to run ${PN}'s ${FUNCNAME}" + die "required locale missing" + fi +} diff --git a/net-irc/weechat/weechat-4.4.1.ebuild b/net-irc/weechat/weechat-4.4.1.ebuild new file mode 100644 index 000000000000..b35455cb8847 --- /dev/null +++ b/net-irc/weechat/weechat-4.4.1.ebuild @@ -0,0 +1,187 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1..4} ) +PYTHON_COMPAT=( python3_{10..13} ) + +inherit cmake lua-single python-single-r1 xdg + +if [[ ${PV} == "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/weechat/weechat.git" +else + inherit verify-sig + SRC_URI="https://weechat.org/files/src/${P}.tar.xz + verify-sig? ( https://weechat.org/files/src/${P}.tar.xz.asc )" + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/weechat.org.asc + BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-weechat )" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~x64-macos" +fi + +DESCRIPTION="Portable and multi-interface IRC client" +HOMEPAGE="https://weechat.org/" + +LICENSE="GPL-3+" +SLOT="0/${PV}" + +NETWORKS="+irc" +PLUGINS="+alias +buflist +charset +exec +fifo +fset +logger +relay +scripts +spell +trigger +typing +xfer" +# dev-lang/v8 was dropped from Gentoo so we can't enable javascript support +# dev-lang/php eclass support is lacking, php plugins don't work. bug #705702 +SCRIPT_LANGS="guile lua +perl +python ruby tcl" +LANGS=" cs de es fr hu it ja pl pt pt_BR ru sr tr" +IUSE="doc enchant man nls relay-api selinux test +zstd ${SCRIPT_LANGS} ${PLUGINS} ${INTERFACES} ${NETWORKS}" + +REQUIRED_USE=" + enchant? ( spell ) + lua? ( ${LUA_REQUIRED_USE} ) + python? ( ${PYTHON_REQUIRED_USE} ) + test? ( nls ) + relay-api? ( relay ) +" + +RDEPEND=" + dev-libs/libgcrypt:0= + net-libs/gnutls:= + sys-libs/ncurses:0= + sys-libs/zlib:= + net-misc/curl[ssl] + charset? ( virtual/libiconv ) + guile? ( >=dev-scheme/guile-2.0:12= ) + lua? ( ${LUA_DEPS} ) + nls? ( virtual/libintl ) + perl? ( + dev-lang/perl:= + virtual/libcrypt:= + ) + python? ( ${PYTHON_DEPS} ) + relay-api? ( dev-libs/cJSON ) + ruby? ( + || ( + dev-lang/ruby:3.3 + dev-lang/ruby:3.2 + dev-lang/ruby:3.1 + ) + ) + selinux? ( sec-policy/selinux-irc ) + spell? ( + enchant? ( app-text/enchant:* ) + !enchant? ( app-text/aspell ) + ) + tcl? ( >=dev-lang/tcl-8.4.15:0= ) + zstd? ( app-arch/zstd:= ) +" + +DEPEND="${RDEPEND} + test? ( dev-util/cpputest ) +" + +BDEPEND+=" + virtual/pkgconfig + doc? ( >=dev-ruby/asciidoctor-1.5.4 ) + man? ( >=dev-ruby/asciidoctor-1.5.4 ) + nls? ( >=sys-devel/gettext-0.15 ) +" + +DOCS="AUTHORS.md CHANGELOG.md CONTRIBUTING.md UPGRADING.md README.md" + +RESTRICT="!test? ( test )" + +pkg_setup() { + use lua && lua-single_pkg_setup + use python && python-single-r1_pkg_setup +} + +src_prepare() { + cmake_src_prepare + + # install only required translations + local i + for i in ${LANGS} ; do + if ! has ${i} ${LINGUAS-${i}} ; then + sed -i \ + -e "/${i}.po/d" \ + po/CMakeLists.txt || die + fi + done + + # install only required documentation ; en always + local j + for i in $(grep -e 'set(.*en.*)$' doc/CMakeLists.txt \ + | sed -e 's/.*set(\(\w\+\).*/\1/'); do + for j in $(grep set.${i} doc/CMakeLists.txt \ + | sed -e "s/.*${i}\(.*\)).*/\1/" -e 's/ en//'); do + if ! has ${j} ${LINGUAS-${j}} ; then + sed -i \ + -e "s/\(set(${i}.*\) ${j}/\1/" \ + doc/CMakeLists.txt || die + fi + done + done + + # install docs in correct directory + sed -i "s#\${DATAROOTDIR}/doc/\${PROJECT_NAME}#\0-${PVR}/html#" doc/CMakeLists.txt || die + + if [[ ${CHOST} == *-darwin* ]]; then + # fix linking error on Darwin + sed -i "s/+ get_config_var('LINKFORSHARED')//" \ + cmake/FindPython.cmake || die + # allow to find the plugins by default + sed -i 's/".so,.dll"/".bundle,.so,.dll"/' \ + src/core/wee-config.c || die + fi +} + +src_configure() { + local mycmakeargs=( + -DLIBDIR="${EPREFIX}/usr/$(get_libdir)" + -DENABLE_JAVASCRIPT=OFF + -DENABLE_LARGEFILE=ON + -DENABLE_NCURSES=ON + -DENABLE_PHP=OFF + -DENABLE_ALIAS=$(usex alias) + -DENABLE_BUFLIST=$(usex buflist) + -DENABLE_CHARSET=$(usex charset) + # -DENABLE_DOC requires all plugins (except javascript). + # https://github.com/weechat/weechat/blob/v4.0.2/CMakeLists.txt#L144 + # Impossible since php was dropped in net-irc/weechat-3.5.r1.ebuild. bug #705702 + -DENABLE_DOC=OFF + -DENABLE_DOC_INCOMPLETE=$(usex doc) + -DENABLE_ENCHANT=$(usex enchant) + -DENABLE_EXEC=$(usex exec) + -DENABLE_FIFO=$(usex fifo) + -DENABLE_FSET=$(usex fset) + -DENABLE_GUILE=$(usex guile) + -DENABLE_IRC=$(usex irc) + -DENABLE_LOGGER=$(usex logger) + -DENABLE_LUA=$(usex lua) + -DENABLE_MAN=$(usex man) + -DENABLE_NLS=$(usex nls) + -DENABLE_PERL=$(usex perl) + -DENABLE_PYTHON=$(usex python) + -DENABLE_RELAY=$(usex relay) + -DENABLE_CJSON=$(usex relay-api) + -DENABLE_RUBY=$(usex ruby) + -DENABLE_SCRIPT=$(usex scripts) + -DENABLE_SCRIPTS=$(usex scripts) + -DENABLE_SPELL=$(usex spell) + -DENABLE_TCL=$(usex tcl) + -DENABLE_TESTS=$(usex test) + -DENABLE_TRIGGER=$(usex trigger) + -DENABLE_TYPING=$(usex typing) + -DENABLE_XFER=$(usex xfer) + -DENABLE_ZSTD=$(usex zstd) + ) + cmake_src_configure +} + +src_test() { + if $(locale -a | grep -iq "en_US\.utf.*8"); then + cmake_src_test -V + else + eerror "en_US.UTF-8 locale is required to run ${PN}'s ${FUNCNAME}" + die "required locale missing" + fi +} diff --git a/net-irc/weechat/weechat-9999.ebuild b/net-irc/weechat/weechat-9999.ebuild index 741324dee72d..b35455cb8847 100644 --- a/net-irc/weechat/weechat-9999.ebuild +++ b/net-irc/weechat/weechat-9999.ebuild @@ -31,7 +31,7 @@ PLUGINS="+alias +buflist +charset +exec +fifo +fset +logger +relay +scripts +spe # dev-lang/v8 was dropped from Gentoo so we can't enable javascript support # dev-lang/php eclass support is lacking, php plugins don't work. bug #705702 SCRIPT_LANGS="guile lua +perl +python ruby tcl" -LANGS=" cs de es fr it ja pl ru" +LANGS=" cs de es fr hu it ja pl pt pt_BR ru sr tr" IUSE="doc enchant man nls relay-api selinux test +zstd ${SCRIPT_LANGS} ${PLUGINS} ${INTERFACES} ${NETWORKS}" REQUIRED_USE=" @@ -85,10 +85,6 @@ BDEPEND+=" nls? ( >=sys-devel/gettext-0.15 ) " -PATCHES=( - "${FILESDIR}"/${PN}-3.3-cmake_lua_version.patch -) - DOCS="AUTHORS.md CHANGELOG.md CONTRIBUTING.md UPGRADING.md README.md" RESTRICT="!test? ( test )" |