From cbf055ae8f2fb67e00df9ea122e64a67f930f576 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 23 Jun 2023 13:24:24 +0100 Subject: gentoo auto-resync : 23:06:2023 - 13:24:24 --- net-libs/Manifest.gz | Bin 32628 -> 32629 bytes net-libs/libtorrent-rasterbar/Manifest | 2 + .../libtorrent-rasterbar-1.2.19.ebuild | 70 +++++++++++++++++++++ 3 files changed, 72 insertions(+) create mode 100644 net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.19.ebuild (limited to 'net-libs') diff --git a/net-libs/Manifest.gz b/net-libs/Manifest.gz index 3702c3e5d41e..2173e37c07d1 100644 Binary files a/net-libs/Manifest.gz and b/net-libs/Manifest.gz differ diff --git a/net-libs/libtorrent-rasterbar/Manifest b/net-libs/libtorrent-rasterbar/Manifest index ad87f352b61a..f5966b26eaaa 100644 --- a/net-libs/libtorrent-rasterbar/Manifest +++ b/net-libs/libtorrent-rasterbar/Manifest @@ -1,7 +1,9 @@ DIST libtorrent-rasterbar-1.2.18.tar.gz 4178407 BLAKE2B ccf8d891e4c34d101a8d822149d14b46cebf57dd893c00e2481e55c0cb35f6931b02e4b6f8877140316bb3bf1840a54eb04943aa1fd190d29708ae64a5c93604 SHA512 4ac7ad6357a612bdc537d4dbce40935a43c32295773870e490d1acffab9841b2bb3052e476a91f702b7b5eb2ab3e6282792f53593cdcb06ddbd6f1d5a3097ee7 +DIST libtorrent-rasterbar-1.2.19.tar.gz 4244826 BLAKE2B 9983cc59d0a1ebfc92b9c1cdc992bd27cb2ae2cb39a71d9dac3ae20e66474b0ef1ad1b79bc8a1e4123a42215d148d8810c60dbf09a61ab786a89738392af492c SHA512 b427c03efc9601f57bcd0473064191f77fb73a25abcb006e332c7b4b9140158a2f866418363fc13f594d6bd836d1c8b3902e2bef60fc5579f2d0d0c267a18ecd DIST libtorrent-rasterbar-2.0.8.tar.gz 4562750 BLAKE2B 6ea5855bd2e2d2ef56191ffea7bfc08a88ef43ffee177c1de12dbb62dc9167789abc5fcf2608856d5b23d5dc461fdc8d3f30c01286ce2ba9a11cb4d24fed477c SHA512 697988feae149876745097bedfbfb4cceae00ffe1cd4ba2063dcb93a8eee9e99344f772b8364e3df1986a50105e386e56b75fe362707d58ba3272139d9beb98f DIST libtorrent-rasterbar-2.0.9.tar.gz 4720611 BLAKE2B 54de2dfba2bdc6c4341fddc54ce16d267b8aafde0218b262bfaa8d4c49dd28ef608a2500a572ee04c82a3e89b6322b0019405f8d9e03e8b31c6de9914f6d43a8 SHA512 c252dbe1e2a246769017b8a622bb3418527e2bc2615115ac2bff9662afb53759bc7b2cbf6657438c515ba6de0140fc1c388b340c48b3dd9f7e6202ec0df1aec7 EBUILD libtorrent-rasterbar-1.2.18-r1.ebuild 1789 BLAKE2B 863906064e168b1c7a4856607153e17ffd4714096b0ff4d3cff44663a9af9a677f19e27745ead1d42824bf7a592e3dac60d8620747b37da69fae7d155b1fe4c7 SHA512 e38953c0946835bdc36ed6d8d80ac31eb199189446cd419c3d2588a9d270a2b0e9adb13b1d450fa0f5866475fd131787099b9203eb4c323c9d0fd7dd97042995 +EBUILD libtorrent-rasterbar-1.2.19.ebuild 1791 BLAKE2B dce4a514f28b0b8d0015b01f0342134aedc4214482cb625de0c593208098fc7d4d41bd751b2380a7d3144c522fe84c508556b1448787cc2d55c43bd8bb470a02 SHA512 82b234329999fba3acd54fbe722d935fa439f99a9ee3378d1b4fbaa7ca62139f4729a87b4b4111df9f14be885b624d6aae1ae6012834596014c2e1fba200e1db EBUILD libtorrent-rasterbar-2.0.8.ebuild 1893 BLAKE2B 2a22bc1340ea847a8f5a8aaf0e420a4c108ace8acd4b1275a283f8c93c5fd2855e83652abaa5722c2e984ef763832f90abb2b8d4948f7939178acb5bbcab73d4 SHA512 aea9aca9595497b5f54ffec4def5ed4d6b6f5a7e747b3e8447d83580dcd62c24a91225a3cdb3ed2ee23971c276787f7664fce9756d24aefe2da27d4e140b430e EBUILD libtorrent-rasterbar-2.0.9.ebuild 1895 BLAKE2B 2c9627e0610c3164e1c877057a98214ad27f5294e1549448071b2bf048c171c84177c48be9dc4054f47b183083f4824dbde43f5111325fb4ff4aba68bb633a08 SHA512 4c93a1f10a0b315e67a3a9f5753ac263be7cdb0fe878a89d4baa4711563cd344925e4e13727376dcde17e465efd098842aeb9442b2bb815b14e1caddde3b0bbb MISC metadata.xml 530 BLAKE2B 602487cff9d278f0ee1ee427ad49005080accb6e2dd8e833db165800789fbefac9f351a463f6b26bb8662af41c1dc9a7e4693076c6109ec881f6a7d12bf40a92 SHA512 fce66854e89057b0fa6d5850d8a91069ca763f89eace002e7d85e54b576f64213dc263589185a0e5d9891ae39d24567faf218c48757ecd377fa2f89bb27f3cc3 diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.19.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.19.ebuild new file mode 100644 index 000000000000..0da40a43037d --- /dev/null +++ b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.19.ebuild @@ -0,0 +1,70 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) + +inherit cmake python-single-r1 + +DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" +HOMEPAGE="https://libtorrent.org/ https://github.com/arvidn/libtorrent" +SRC_URI="https://github.com/arvidn/libtorrent/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/10" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="+dht debug python ssl test" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" +RESTRICT="!test? ( test )" + +DEPEND=" + dev-libs/boost:= + python? ( + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-libs/boost[python,${PYTHON_USEDEP}] + ') + ) + ssl? ( dev-libs/openssl:= ) +" +RDEPEND="${DEPEND}" +BDEPEND="python? ( + $(python_gen_cond_dep ' + dev-python/setuptools[${PYTHON_USEDEP}] + ') + )" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DBUILD_SHARED_LIBS=ON + -Dbuild_examples=OFF + -Ddht=$(usex dht ON OFF) + -Dencryption=$(usex ssl ON OFF) + -Dlogging=$(usex debug ON OFF) + -Dpython-bindings=$(usex python ON OFF) + -Dbuild_tests=$(usex test ON OFF) + ) + + # We need to drop the . from the Python version to satisfy Boost's + # FindBoost.cmake module, bug #793038. + use python && mycmakeargs+=( -Dboost-python-module-name="${EPYTHON/./}" ) + + cmake_src_configure +} + +src_test() { + local myctestargs=( + # test_upnp: needs running UPnP server + -E "test_upnp" + ) + + # Checked out Fedora's test workarounds for inspiration + # https://src.fedoraproject.org/rpms/rb_libtorrent/blob/rawhide/f/rb_libtorrent.spec#_120 + # -j1 for https://bugs.gentoo.org/854603#c1 + LD_LIBRARY_PATH="${BUILD_DIR}:${LD_LIBRARY_PATH}" cmake_src_test -j1 +} -- cgit v1.2.3