commit: 4c5419ef917a7013f66d0159a40e516fd3261e6c
Author: Filip Kobierski <fkobi <AT> pm <DOT> me>
AuthorDate: Tue Oct 1 07:10:07 2024 +0000
Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Tue Oct 1 23:04:09 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c5419ef
net-libs/libtorrent-rasterbar: drop 2.0.9-r0
Signed-off-by: Filip Kobierski <fkobi <AT> pm.me>
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>
.../libtorrent-rasterbar-2.0.9.ebuild | 75 ----------------------
1 file changed, 75 deletions(-)
diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.9.ebuild
b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.9.ebuild
deleted file mode 100644
index b20882528b68..000000000000
--- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.9.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# 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/2.0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc x86"
-IUSE="+dht debug gnutls 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? (
- gnutls? ( net-libs/gnutls:= )
- !gnutls? ( 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=(
- -DCMAKE_CXX_STANDARD=17
- -DBUILD_SHARED_LIBS=ON
- -Dbuild_examples=OFF
- -Ddht=$(usex dht ON OFF)
- -Dencryption=$(usex ssl ON OFF)
- -Dgnutls=$(usex gnutls 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=(
- # 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
-}