mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-22 06:57:59 +02:00
43 lines
837 B
Bash
43 lines
837 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{11..13} )
|
|
inherit autotools python-r1
|
|
|
|
DESCRIPTION="Bittorrent filesystem based on FUSE"
|
|
HOMEPAGE="https://github.com/johang/btfs"
|
|
SRC_URI="https://github.com/johang/btfs/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
|
|
DEPEND="
|
|
>=sys-fs/fuse-2.8.0:0
|
|
>=net-misc/curl-7.22.0
|
|
dev-libs/boost:=
|
|
>=net-libs/libtorrent-rasterbar-0.16.0:=
|
|
"
|
|
RDEPEND="
|
|
${DEPEND}
|
|
${PYTHON_DEPS}
|
|
"
|
|
BDEPEND="virtual/pkgconfig"
|
|
|
|
src_prepare() {
|
|
default
|
|
|
|
# Don't install btplay via make
|
|
sed -i '/^SUBDIRS =/s/scripts//' Makefile.am || die
|
|
|
|
eautoreconf
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
|
|
python_foreach_impl python_doscript scripts/btplay
|
|
}
|