From 54eca75a4e3e380e1d386f4d235baeb7d4ff332e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 19 Jul 2022 20:39:44 +0100 Subject: gentoo auto-resync : 19:07:2022 - 20:39:44 --- net-libs/tox/Manifest | 2 +- net-libs/tox/tox-0.2.18-r1.ebuild | 120 ++++++++++++++++++++++++++++++++++++++ net-libs/tox/tox-0.2.18.ebuild | 120 -------------------------------------- 3 files changed, 121 insertions(+), 121 deletions(-) create mode 100644 net-libs/tox/tox-0.2.18-r1.ebuild delete mode 100644 net-libs/tox/tox-0.2.18.ebuild (limited to 'net-libs/tox') diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest index fd38d887de03..4a2b326b986b 100644 --- a/net-libs/tox/Manifest +++ b/net-libs/tox/Manifest @@ -5,6 +5,6 @@ AUX tox-bootstrapd.service 365 BLAKE2B f17891d280007180811414f85f1f8a4defd854364 DIST c-toxcore-0.2.13.tar.gz 511533 BLAKE2B 8c68180710e3d06eaaef9fc05dc0ff2492907586934d1d6f57f147e07bb78b262f78b0057911e4b5cd27d2d1efb51cb714f757b90caa269988e604cafa62cd00 SHA512 f4ed9ea4afb7f9c14a5afd949f3a52e7880838c910acaf5adc39acb09ad574406be08f43b76a9fbdd4fc4bd14f0d73212dc7bd10783565055c910c6c3e5e357a DIST c-toxcore-0.2.18.tar.gz 653247 BLAKE2B c27da02753aede5056c42e5bf1949920fc30e98a23c058ab445c2fe345271e442885a3eeb011e8fde16d8fc8451376a015c5f821145785c75e7d0dda3a8b72eb SHA512 e9b0d73a2e0460290c8453a0a64fc91deed2e0cf87f945d0ba203b929f19a296571d7140f4df89b06f7e67f2b61894460ce4dd32ab9ecf6ea7d5b67538fadb23 EBUILD tox-0.2.13.ebuild 2920 BLAKE2B 59bf6f61244b267d49a181359b3322186efe21217578b6561b41dcd798e50bc9104beb27dbd611485949a112a80ab11d774f4f17a18cdfb23f4ef106729383cc SHA512 8fdb59395d4ce07c6f2edbfc8a8672b021a0b32d62682ecc697e9e816be09d31587be9c41e9b5755aaab1570d9c7aa12d84e3ac6c7b68abdc0c1a099df35fb75 -EBUILD tox-0.2.18.ebuild 3232 BLAKE2B 7d80c32b5c5a0240d7643f46ee29ab87a04aa6a08f798ce5d6c6a9a62ae9261b383412aac8938710562a180a522f2785aa455699b5cf14bdcf48b8ef319d98e9 SHA512 ed7899eafb63ecde109c8294f74668c31dbd92602c8f4f803b3bd4d8953f743028b01d168aaaf4052f99b9060607d856828ab63a93ee8f53fab15c3e3359533b +EBUILD tox-0.2.18-r1.ebuild 3234 BLAKE2B 43fef21afc144c156f67891b6fe0e5d4fc5b07bd0784ce22125f7876e0b369fe104b21cc7605f23385bf3852e2ff2973727653759601de4c275f10f530f118c5 SHA512 59f1d8f6f37967123e1b429e318ba2432ded6b0ff61db9bc2515a07c76ac7cdfc5aa026b9e43c9afb53012a0097b681a8d699190f9f8e7e29ac1e1177085092e EBUILD tox-9999.ebuild 3088 BLAKE2B 689337dbd95cf6b20186473cc642947763c4f8577c305df4aad55b6e74e6feb1cee7898a7d8651ea7e57491d85b3ff136c914c2c76bbce64db6059ecea3d7525 SHA512 8ed472219c205c7524ce1fca59948abe261de025713e5b2f1d90681f1411cc3c94bba5b096e1b164d59ae1a7b8eca9349b45d81189edbdc1c80240ab54691886 MISC metadata.xml 985 BLAKE2B a77c49ccdcb1407dc40590f2fbcd4a932d1167dbaad973c878da09107def195cc9755c6d5f1a824cf22006543f1f6db3461d03e11ba7a21b3f321b6173c8aee8 SHA512 67eecd0db74c985cd97c840414ff6860a1d5a3ac9eaa00cd73c5c61e59831ff458a596251605af9515817f074d76eb342c12714409e7b31176d56e9ee311fc0c diff --git a/net-libs/tox/tox-0.2.18-r1.ebuild b/net-libs/tox/tox-0.2.18-r1.ebuild new file mode 100644 index 000000000000..00753d1f6819 --- /dev/null +++ b/net-libs/tox/tox-0.2.18-r1.ebuild @@ -0,0 +1,120 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake systemd + +MY_P="c-toxcore-${PV}" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="Encrypted P2P, messaging, and audio/video calling platform" +HOMEPAGE="https://tox.chat https://github.com/TokTok/c-toxcore" +SRC_URI="https://github.com/TokTok/c-toxcore/releases/download/v${PV}/${MY_P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0/0.2" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="+av debug daemon dht-node ipv6 key-utils log-debug +log-error log-info log-trace log-warn test" + +REQUIRED_USE="?? ( log-debug log-error log-info log-trace log-warn ) + daemon? ( dht-node )" +RESTRICT="!test? ( test )" + +BDEPEND="virtual/pkgconfig" +DEPEND="dev-libs/libsodium:=[asm,urandom,-minimal] + dev-libs/msgpack + av? ( + media-libs/libvpx:= + media-libs/opus + ) + daemon? ( dev-libs/libconfig:= )" + +RDEPEND="${DEPEND} + daemon? ( + acct-group/tox + acct-user/tox + ) + key-utils? ( || ( sys-devel/gcc[openmp] sys-devel/clang-runtime[openmp] ) )" + +src_prepare() { + cmake_src_prepare + + #Remove faulty tests + for testname in lan_discovery save_load; do + sed -i -e "/^auto_test(${testname})$/d" ./auto_tests/CMakeLists.txt || die + done +} + +src_configure() { + local mycmakeargs=( + -DAUTOTEST=$(usex test ON OFF) + -DBOOTSTRAP_DAEMON=$(usex daemon ON OFF) + -DBUILD_FUN_UTILS=$(usex key-utils ON OFF) + -DBUILD_FUZZ_TESTS=OFF #Upstream reports that this breaks all other tests + -DBUILD_MISC_TESTS=$(usex test ON OFF) + -DBUILD_TOXAV=$(usex av ON OFF) + -DCMAKE_BUILD_TYPE=$(usex debug Debug Release) + -DDHT_BOOTSTRAP=$(usex dht-node ON OFF) + -DENABLE_SHARED=ON + -DENABLE_STATIC=OFF + -DFULLY_STATIC=OFF + -DMUST_BUILD_TOXAV=$(usex av ON OFF) + ) + + if use test; then + mycmakeargs+=( + -DTEST_TIMEOUT_SECONDS=150 + -DNON_HERMETIC_TESTS=OFF + -DUSE_IPV6=$(usex ipv6 ON OFF) + ) + else + mycmakeargs+=(-DUSE_IPV6=OFF) + fi + + if use log-trace; then + mycmakeargs+=(-DMIN_LOGGER_LEVEL="TRACE") + elif use log-debug; then + mycmakeargs+=(-DMIN_LOGGER_LEVEL="DEBUG") + elif use log-info; then + mycmakeargs+=(-DMIN_LOGGER_LEVEL="INFO") + elif use log-warn; then + mycmakeargs+=(-DMIN_LOGGER_LEVEL="WARNING") + elif use log-error; then + mycmakeargs+=(-DMIN_LOGGER_LEVEL="ERROR") + else + mycmakeargs+=(-DMIN_LOGGER_LEVEL="") + einfo "Logging disabled" + fi + + cmake_src_configure +} + +src_test() { + cmake_src_test -j1 +} + +src_install() { + cmake_src_install + + if use daemon; then + newinitd "${FILESDIR}"/initd tox-dht-daemon + newconfd "${FILESDIR}"/confd tox-dht-daemon + insinto /etc + doins "${FILESDIR}"/tox-bootstrapd.conf + systemd_dounit "${FILESDIR}"/tox-bootstrapd.service + fi +} + +pkg_postinst() { + if use dht-node; then + ewarn "The QA notice regarding libmisc_tools.so is known by the upstream" + ewarn "developers and is on their TODO list. For more information," + ewarn "please see 'https://github.com/toktok/c-toxcore/issues/1144'" + ewarn "" + ewarn "There is currently an unresolved issue with tox DHT Bootstrap node" + ewarn "that causes the program to be built with a null library reference." + ewarn "This causes an infinite loop for certain revdep-rebuild commands." + ewarn "If you aren't running a node, please consider disabling the dht-node use flag." + fi +} diff --git a/net-libs/tox/tox-0.2.18.ebuild b/net-libs/tox/tox-0.2.18.ebuild deleted file mode 100644 index 4296b1ad05d7..000000000000 --- a/net-libs/tox/tox-0.2.18.ebuild +++ /dev/null @@ -1,120 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake systemd - -MY_P=c-toxcore-${PV} -DESCRIPTION="Encrypted P2P, messaging, and audio/video calling platform" -HOMEPAGE="https://tox.chat https://github.com/TokTok/c-toxcore" -SRC_URI="https://github.com/TokTok/c-toxcore/releases/download/v${PV}/${MY_P}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0/0.2" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="+av debug daemon dht-node ipv6 key-utils log-debug +log-error log-info log-trace log-warn test" - -REQUIRED_USE="?? ( log-debug log-error log-info log-trace log-warn ) - daemon? ( dht-node )" -RESTRICT="!test? ( test )" - -BDEPEND="virtual/pkgconfig" -DEPEND="dev-libs/libsodium:=[asm,urandom,-minimal] - dev-libs/msgpack - av? ( - media-libs/libvpx:= - media-libs/opus - ) - daemon? ( dev-libs/libconfig:= )" - -RDEPEND="${DEPEND} - daemon? ( - acct-group/tox - acct-user/tox - ) - key-utils? ( || ( sys-devel/gcc[openmp] sys-devel/clang-runtime[openmp] ) )" - -S="${WORKDIR}"/${MY_P} - -src_prepare() { - cmake_src_prepare - - #Remove faulty tests - for testname in lan_discovery save_load; do - sed -i -e "/^auto_test(${testname})$/d" ./auto_tests/CMakeLists.txt || die - done -} - -src_configure() { - local mycmakeargs=( - -DAUTOTEST=$(usex test ON OFF) - -DBOOTSTRAP_DAEMON=$(usex daemon ON OFF) - -DBUILD_FUN_UTILS=$(usex key-utils ON OFF) - -DBUILD_FUZZ_TESTS=OFF #Upstream reports that this breaks all other tests - -DBUILD_MISC_TESTS=$(usex test ON OFF) - -DBUILD_TOXAV=$(usex av ON OFF) - -DCMAKE_BUILD_TYPE=$(usex debug Debug Release) - -DDHT_BOOTSTRAP=$(usex dht-node ON OFF) - -DENABLE_SHARED=ON - -DENABLE_STATIC=OFF - -DFULLY_STATIC=OFF - -DMUST_BUILD_TOXAV=$(usex av ON OFF) - ) - - if use test; then - mycmakeargs+=( - -DTEST_TIMEOUT_SECONDS=150 - -DNON_HERMETIC_TESTS=OFF - -DUSE_IPV6=$(usex ipv6 ON OFF) - ) - else - mycmakeargs+=(-DUSE_IPV6=OFF) - fi - - if use log-trace; then - mycmakeargs+=(-DMIN_LOGGER_LEVEL="TRACE") - elif use log-debug; then - mycmakeargs+=(-DMIN_LOGGER_LEVEL="DEBUG") - elif use log-info; then - mycmakeargs+=(-DMIN_LOGGER_LEVEL="INFO") - elif use log-warn; then - mycmakeargs+=(-DMIN_LOGGER_LEVEL="WARNING") - elif use log-error; then - mycmakeargs+=(-DMIN_LOGGER_LEVEL="ERROR") - else - mycmakeargs+=(-DMIN_LOGGER_LEVEL="") - einfo "Logging disabled" - fi - - cmake_src_configure -} - -src_test() { - cmake_src_test -j1 -} - -src_install() { - cmake_src_install - - if use daemon; then - newinitd "${FILESDIR}"/initd tox-dht-daemon - newconfd "${FILESDIR}"/confd tox-dht-daemon - insinto /etc - doins "${FILESDIR}"/tox-bootstrapd.conf - systemd_dounit "${FILESDIR}"/tox-bootstrapd.service - fi -} - -pkg_postinst() { - if use dht-node; then - ewarn "The QA notice regarding libmisc_tools.so is known by the upstream" - ewarn "developers and is on their TODO list. For more information," - ewarn "please see 'https://github.com/toktok/c-toxcore/issues/1144'" - ewarn "" - ewarn "There is currently an unresolved issue with tox DHT Bootstrap node" - ewarn "that causes the program to be built with a null library reference." - ewarn "This causes an infinite loop for certain revdep-rebuild commands." - ewarn "If you aren't running a node, please consider disabling the dht-node use flag." - fi -} -- cgit v1.2.3