diff options
Diffstat (limited to 'net-irc/weechat')
-rw-r--r-- | net-irc/weechat/Manifest | 9 | ||||
-rw-r--r-- | net-irc/weechat/files/weechat-3.0-cmake_lua_version.patch | 9 | ||||
-rw-r--r-- | net-irc/weechat/weechat-3.1.ebuild | 171 | ||||
-rw-r--r-- | net-irc/weechat/weechat-3.2.ebuild | 171 | ||||
-rw-r--r-- | net-irc/weechat/weechat-3.3.ebuild | 4 | ||||
-rw-r--r-- | net-irc/weechat/weechat-9999.ebuild | 7 |
6 files changed, 8 insertions, 363 deletions
diff --git a/net-irc/weechat/Manifest b/net-irc/weechat/Manifest index 8b1a1a5d0079..5092614007c6 100644 --- a/net-irc/weechat/Manifest +++ b/net-irc/weechat/Manifest @@ -1,10 +1,5 @@ -AUX weechat-3.0-cmake_lua_version.patch 272 BLAKE2B 3c88a0aad5d0ad9c5067062039fd147c9356923324089d74ebd5987e6f5a67bc1da785a12b863dffafc8e63af18b52b5ed6aba97cacec105b04f7b70ac0b3e5c SHA512 81a3143acfeb35ccd8e913efa0b881165459049bdbb3e7bf96b41c7f764fe37647349599d3bceadb966ae52f2156cba5170926ba7af7ed667f7664f8adb920aa AUX weechat-3.3-cmake_lua_version.patch 292 BLAKE2B 1eb735429ece6431ad190e63beea3e036659ee7c2c1462601ed102f1f5e7df982807df741ee49eb1a3e9dc37de415ae927e59c8204d3735af8c593489ae3b13c SHA512 c8bced50df1119311d8db38f586d99d805a3f13d5bf8e4e3098c486906bb847a67446ec60f0819c410e7f57d33c5789ab8f948ba62d4caf0b25b8afe59d48821 -DIST weechat-3.1.tar.xz 2230316 BLAKE2B 95ce8c6107351676b64c368484baf2245bd17093c90552339d35d058a3caff7a0c4bb8e7692757bcf8c2d7617621961b5bc118806c5084cc212283d6982bd896 SHA512 1eb3f5a0e4d3f6777970fc60c816e7bc9be5e5cf91b9e072f6c77003f284c7bdbabfae7058cb5083915a2adf7f4c651a9afb8cc8ae17cac950e7f2ef9608ed78 -DIST weechat-3.2.tar.xz 2261376 BLAKE2B 6f9fcc72b4b36275e056f824a46d8640a45b1d78b9b6f0eaa5327fc2a965f891698982fade86c6d4e96d1f5c472ac4a82d036d478f37989f738f2ccd6e2f7002 SHA512 b4ad5cd6e678795d9093ddfa5aac0d396a7dbf994d04a6b9b083460b1639c851f1b9539cf7b97bd300154871d5df2c29f82fae387c42da840a1c3eb35c4a3660 DIST weechat-3.3.tar.xz 2564280 BLAKE2B 9cb119c2506ff5f9b4844b8016790af34347e300a1217762afc1307191cd0831c2c23e019a024c8161ff2e46607eddf94f94b3db9bd351bc51b7f057ddb375eb SHA512 18bbaa93620185ead64f64833e4c5df6a1cbc49dc6f60362614e955947221b78baaa93a2748f153bbb6f7867c7760f7a8fa8d6d9ed30040ad5e12af127526e13 -EBUILD weechat-3.1.ebuild 4249 BLAKE2B 15a46be0155555c65876a4058242d341fe48c4e24c730386a0730176862a217b83eed569e7d6ff48d18806e53b4888ed264aa9b6f7a0cc5eb7348bf17db18d8e SHA512 c0d2ede5f5a684368bb6f78c38a2b0a0c93e50aeedc238623e5a30b5d7121fa1c9bc6f6a0da40699286e4cabae09cb181f12f829bb7392c357ad1f7c6b9c4a87 -EBUILD weechat-3.2.ebuild 4252 BLAKE2B cf426dcc508110f7902cbbf9447dd6ec6bdb99d1d522cfe8a48296d81f7aa06b578da5e7e94060f8d9218bf10600253f79348d8c607ab73aadae4a41e2e9d8e6 SHA512 87bff86ac7a3fced70cb1935c7ee152eb2f91cb5e2954ac3a0a3ed0cd9606068571b7e3f53ad720dc7e519ae634f3cea6723e91c32c648c6ee90247f7e37aeb7 -EBUILD weechat-3.3.ebuild 4293 BLAKE2B 6371e879fa0430afbeb912104902ca0367dc97360d59650f84449b9481d06e514cd0d6e867ad265cbff176392c1701de3a898b614c5fa35cf131c4c1a3c2b60f SHA512 c0759eb67f2f81502397f8d7c4608671b93cb175725006a8fd2a9f59cea31df2516a64259a41e15fda46ccb15f834c4fdc3dc591e650cc0a4854d2203f12e38c -EBUILD weechat-9999.ebuild 4252 BLAKE2B cf426dcc508110f7902cbbf9447dd6ec6bdb99d1d522cfe8a48296d81f7aa06b578da5e7e94060f8d9218bf10600253f79348d8c607ab73aadae4a41e2e9d8e6 SHA512 87bff86ac7a3fced70cb1935c7ee152eb2f91cb5e2954ac3a0a3ed0cd9606068571b7e3f53ad720dc7e519ae634f3cea6723e91c32c648c6ee90247f7e37aeb7 +EBUILD weechat-3.3.ebuild 4272 BLAKE2B e4540d53a1e0f73ffb18e013a308e41fbf70af0ede0569287eb3b25b8fcf228b2bd1ccd61c70bc4325f9044919ea4df990d5008418d4c0518b5bc669fadfd4a8 SHA512 8d6e65d1dd7fef873769ade1296dee98927c9ae7b4003e029f2082d509e0f998a88c5fc50a4044e9ac80d2bf340cc779f6c874c50fe1292929115e5f63acd82c +EBUILD weechat-9999.ebuild 4275 BLAKE2B a3ee8fb32029caa078f3e6944912bce563458c115b6bf27dc67df67d9543356bc66adf432d3bdcf0c861866344c15c4926ae1df889d2e49379c705b88626cd02 SHA512 f8ff1a1de890f3284dc2c20f31a0e091e77addbe49c6d572d9188a0e429c4964e1f41cabaab05993420572f32a58428669752b037b895863aefc832dc7dd8792 MISC metadata.xml 985 BLAKE2B dfb7631e6013d342f1622f582aaa6e485cc5964d4558377987599cc3eff2270a085db1c911aff9978decd7e26c96b7a350a95701da460ec93100e88bcd1e3d3a SHA512 fe353b1581b45779f8851de08d5886514d4fddbf6098e42a290f9907aa268c0c0d5fe7f25b0d53a85d951857c00bab8bdea4aa9d912778aa3dc83970b0a5d37c diff --git a/net-irc/weechat/files/weechat-3.0-cmake_lua_version.patch b/net-irc/weechat/files/weechat-3.0-cmake_lua_version.patch deleted file mode 100644 index 6ed16efbd064..000000000000 --- a/net-irc/weechat/files/weechat-3.0-cmake_lua_version.patch +++ /dev/null @@ -1,9 +0,0 @@ ---- a/cmake/FindLua.cmake -+++ b/cmake/FindLua.cmake -@@ -35,5 +35,5 @@ - - find_package(PkgConfig) - if(PKG_CONFIG_FOUND) -- pkg_search_module(LUA lua5.3 lua-5.3 lua53 lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua51 lua-5.0 lua5.0 lua50 lua) -+ pkg_search_module(LUA lua) - endif() diff --git a/net-irc/weechat/weechat-3.1.ebuild b/net-irc/weechat/weechat-3.1.ebuild deleted file mode 100644 index a5a2514719df..000000000000 --- a/net-irc/weechat/weechat-3.1.ebuild +++ /dev/null @@ -1,171 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -LUA_COMPAT=( lua5-{1..4} ) -PYTHON_COMPAT=( python3_{7..9} ) - -inherit cmake lua-single python-single-r1 xdg-utils - -if [[ ${PV} == "9999" ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/weechat/weechat.git" -else - SRC_URI="https://weechat.org/files/src/${P}.tar.xz" - KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~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 +xfer" -# dev-lang/v8 was dropped from Gentoo so we can't enable javascript support -SCRIPT_LANGS="guile lua +perl php +python ruby tcl" -LANGS=" cs de es fr it ja pl ru" -IUSE="doc man nls selinux test ${SCRIPT_LANGS} ${PLUGINS} ${INTERFACES} ${NETWORKS}" - -REQUIRED_USE=" - lua? ( ${LUA_REQUIRED_USE} ) - python? ( ${PYTHON_REQUIRED_USE} ) - test? ( nls ) -" - -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 ) - lua? ( ${LUA_DEPS} ) - nls? ( virtual/libintl ) - perl? ( dev-lang/perl:= ) - php? ( >=dev-lang/php-7.0:*[embed] ) - python? ( ${PYTHON_DEPS} ) - ruby? ( || ( dev-lang/ruby:2.7 dev-lang/ruby:2.6 dev-lang/ruby:2.5 ) ) - selinux? ( sec-policy/selinux-irc ) - spell? ( app-text/aspell ) - tcl? ( >=dev-lang/tcl-8.4.15:0= ) -" - -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.0-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 - for i in $(grep add_subdirectory doc/CMakeLists.txt \ - | sed -e 's/.*add_subdirectory(\(..\)).*/\1/' -e '/en/d'); do - if ! has ${i} ${LINGUAS-${i}} ; then - sed -i \ - -e '/add_subdirectory('${i}')/d' \ - doc/CMakeLists.txt || die - fi - done - - # install docs in correct directory - sed -i "s#\${SHAREDIR}/doc/\${PROJECT_NAME}#\0-${PV}/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_ALIAS=$(usex alias) - -DENABLE_BUFLIST=$(usex buflist) - -DENABLE_CHARSET=$(usex charset) - -DENABLE_DOC=$(usex doc) - -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_PHP=$(usex php) - -DENABLE_PYTHON=$(usex python) - -DENABLE_RELAY=$(usex relay) - -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_XFER=$(usex xfer) - ) - 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 -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_icon_cache_update - xdg_mimeinfo_database_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_icon_cache_update - xdg_mimeinfo_database_update -} diff --git a/net-irc/weechat/weechat-3.2.ebuild b/net-irc/weechat/weechat-3.2.ebuild deleted file mode 100644 index f9ced9e04ddd..000000000000 --- a/net-irc/weechat/weechat-3.2.ebuild +++ /dev/null @@ -1,171 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -LUA_COMPAT=( lua5-{1..4} ) -PYTHON_COMPAT=( python3_{7..9} ) - -inherit cmake lua-single python-single-r1 xdg-utils - -if [[ ${PV} == "9999" ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/weechat/weechat.git" -else - SRC_URI="https://weechat.org/files/src/${P}.tar.xz" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~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 +xfer" -# dev-lang/v8 was dropped from Gentoo so we can't enable javascript support -SCRIPT_LANGS="guile lua +perl php +python ruby tcl" -LANGS=" cs de es fr it ja pl ru" -IUSE="doc man nls selinux test ${SCRIPT_LANGS} ${PLUGINS} ${INTERFACES} ${NETWORKS}" - -REQUIRED_USE=" - lua? ( ${LUA_REQUIRED_USE} ) - python? ( ${PYTHON_REQUIRED_USE} ) - test? ( nls ) -" - -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 ) - lua? ( ${LUA_DEPS} ) - nls? ( virtual/libintl ) - perl? ( dev-lang/perl:= ) - php? ( >=dev-lang/php-7.0:*[embed] ) - python? ( ${PYTHON_DEPS} ) - ruby? ( || ( dev-lang/ruby:2.7 dev-lang/ruby:2.6 dev-lang/ruby:2.5 ) ) - selinux? ( sec-policy/selinux-irc ) - spell? ( app-text/aspell ) - tcl? ( >=dev-lang/tcl-8.4.15:0= ) -" - -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.0-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 - for i in $(grep add_subdirectory doc/CMakeLists.txt \ - | sed -e 's/.*add_subdirectory(\(..\)).*/\1/' -e '/en/d'); do - if ! has ${i} ${LINGUAS-${i}} ; then - sed -i \ - -e '/add_subdirectory('${i}')/d' \ - doc/CMakeLists.txt || die - fi - done - - # install docs in correct directory - sed -i "s#\${SHAREDIR}/doc/\${PROJECT_NAME}#\0-${PV}/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_ALIAS=$(usex alias) - -DENABLE_BUFLIST=$(usex buflist) - -DENABLE_CHARSET=$(usex charset) - -DENABLE_DOC=$(usex doc) - -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_PHP=$(usex php) - -DENABLE_PYTHON=$(usex python) - -DENABLE_RELAY=$(usex relay) - -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_XFER=$(usex xfer) - ) - 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 -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_icon_cache_update - xdg_mimeinfo_database_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_icon_cache_update - xdg_mimeinfo_database_update -} diff --git a/net-irc/weechat/weechat-3.3.ebuild b/net-irc/weechat/weechat-3.3.ebuild index 48fd4089957f..8db7e46b2ae8 100644 --- a/net-irc/weechat/weechat-3.3.ebuild +++ b/net-irc/weechat/weechat-3.3.ebuild @@ -13,7 +13,7 @@ if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="https://github.com/weechat/weechat.git" else SRC_URI="https://weechat.org/files/src/${P}.tar.xz" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~x64-macos" + KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~x86 ~x64-macos" fi DESCRIPTION="Portable and multi-interface IRC client" @@ -48,7 +48,7 @@ RDEPEND=" perl? ( dev-lang/perl:= ) php? ( >=dev-lang/php-7.0:*[embed] ) python? ( ${PYTHON_DEPS} ) - ruby? ( || ( dev-lang/ruby:2.7 dev-lang/ruby:2.6 dev-lang/ruby:2.5 ) ) + ruby? ( || ( dev-lang/ruby:2.7 dev-lang/ruby:2.6 ) ) selinux? ( sec-policy/selinux-irc ) spell? ( app-text/aspell ) tcl? ( >=dev-lang/tcl-8.4.15:0= ) diff --git a/net-irc/weechat/weechat-9999.ebuild b/net-irc/weechat/weechat-9999.ebuild index f9ced9e04ddd..b93780811d94 100644 --- a/net-irc/weechat/weechat-9999.ebuild +++ b/net-irc/weechat/weechat-9999.ebuild @@ -23,7 +23,7 @@ LICENSE="GPL-3" SLOT="0/${PV}" NETWORKS="+irc" -PLUGINS="+alias +buflist +charset +exec +fifo +fset +logger +relay +scripts +spell +trigger +xfer" +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 SCRIPT_LANGS="guile lua +perl php +python ruby tcl" LANGS=" cs de es fr it ja pl ru" @@ -48,7 +48,7 @@ RDEPEND=" perl? ( dev-lang/perl:= ) php? ( >=dev-lang/php-7.0:*[embed] ) python? ( ${PYTHON_DEPS} ) - ruby? ( || ( dev-lang/ruby:2.7 dev-lang/ruby:2.6 dev-lang/ruby:2.5 ) ) + ruby? ( || ( dev-lang/ruby:2.7 dev-lang/ruby:2.6 ) ) selinux? ( sec-policy/selinux-irc ) spell? ( app-text/aspell ) tcl? ( >=dev-lang/tcl-8.4.15:0= ) @@ -66,7 +66,7 @@ BDEPEND=" " PATCHES=( - "${FILESDIR}"/${PN}-3.0-cmake_lua_version.patch + "${FILESDIR}"/${PN}-3.3-cmake_lua_version.patch ) DOCS="AUTHORS.adoc ChangeLog.adoc Contributing.adoc ReleaseNotes.adoc README.adoc" @@ -144,6 +144,7 @@ src_configure() { -DENABLE_TCL=$(usex tcl) -DENABLE_TESTS=$(usex test) -DENABLE_TRIGGER=$(usex trigger) + -DENABLE_TYPING=$(usex typing) -DENABLE_XFER=$(usex xfer) ) cmake_src_configure |