summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-05-22 05:03:37 +0100
committerSam James <sam@gentoo.org>2022-05-22 05:03:52 +0100
commitcff927ad33881c2fa07588b73b3ce0e8b093d93d (patch)
tree2d02eac35d28c1791a5fa736aa3f2c53a572540e
parentdev-util/scanmem: fix musl tests (diff)
downloadgentoo-cff927ad33881c2fa07588b73b3ce0e8b093d93d.tar.gz
gentoo-cff927ad33881c2fa07588b73b3ce0e8b093d93d.tar.bz2
gentoo-cff927ad33881c2fa07588b73b3ce0e8b093d93d.zip
net-fs/btfs: add 2.24
Closes: https://bugs.gentoo.org/846128 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--net-fs/btfs/Manifest1
-rw-r--r--net-fs/btfs/btfs-2.24.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/net-fs/btfs/Manifest b/net-fs/btfs/Manifest
index 2d90fd49c7e..1603354e8d3 100644
--- a/net-fs/btfs/Manifest
+++ b/net-fs/btfs/Manifest
@@ -1 +1,2 @@
DIST btfs-2.23.tar.gz 24292 BLAKE2B d834fe347a75ba9633464ef8d7952e557ade9d0008d2845bd72a0277c19fb83bb6aa59c2e97077f67c525fe7fb69509c2a1ba34a5fdfa9069f0915e2f3639a2e SHA512 f911b334367e619621677793342fe36247dc63a8bff6fcab65f0b64e1645bab2ede261a7e7c03c76e18ad75b9b485d8c422e99ffcbd6069ceeb5b5e590bf5f63
+DIST btfs-2.24.tar.gz 24328 BLAKE2B d143d25fd78706e60e7ad46053371140bc73a15e313ad35258aedc350614efe72c3662418da2ca61eb8c36a6f153db3477cdc0b5f290afd0eb361739b9d33f3d SHA512 33339d9eefe6836c8c96c4ea0fb6ee99150df5500f4d1dce107c20df72e0d2959152fca0901676cec1eebf1de39a69dc46ea96442aecd234c9fb4e7618337b0c
diff --git a/net-fs/btfs/btfs-2.24.ebuild b/net-fs/btfs/btfs-2.24.ebuild
new file mode 100644
index 00000000000..bbf144bed74
--- /dev/null
+++ b/net-fs/btfs/btfs-2.24.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit autotools python-r1
+
+DESCRIPTION="a 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 ~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
+}