summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-fs/btfs/Manifest1
-rw-r--r--net-fs/btfs/btfs-2.23.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/net-fs/btfs/Manifest b/net-fs/btfs/Manifest
index 699fef683aa6..5ca8cb24f207 100644
--- a/net-fs/btfs/Manifest
+++ b/net-fs/btfs/Manifest
@@ -1,2 +1,3 @@
DIST btfs-2.20.tar.gz 24107 BLAKE2B 3b9cc89e002e6b19160b1cec6d6c984013714cfb5229924c74921741d8c3e854ac626103f6e51845a3e44a97e30960241dcfe02dd2324953b23ae2ed4464729c SHA512 6a0e0abbe07329daf810fddf2557892ec69659a381c445f7a3ada4a69e422c371d587623a9cb5f079f0738d00fca579af56f37036a2ba8060891d167fa9bb947
DIST btfs-2.22.tar.gz 24179 BLAKE2B b917c411a7061f95a79ded4fae14364c0eaf5b5c9058b6a0a7b2ee9a6257954927d11432f7b9dae1645df156fc5139371de4c7a8b487ce71c86f844bf20e4126 SHA512 bc0fbded3e52cdc0093053762467e7290380a55e116ea2457b2700fe82110c4b6f7a592b9bebef335a14a4ce0fb262fc3dc9c0f4ea3b619d02595e4e74e36fa3
+DIST btfs-2.23.tar.gz 24292 BLAKE2B d834fe347a75ba9633464ef8d7952e557ade9d0008d2845bd72a0277c19fb83bb6aa59c2e97077f67c525fe7fb69509c2a1ba34a5fdfa9069f0915e2f3639a2e SHA512 f911b334367e619621677793342fe36247dc63a8bff6fcab65f0b64e1645bab2ede261a7e7c03c76e18ad75b9b485d8c422e99ffcbd6069ceeb5b5e590bf5f63
diff --git a/net-fs/btfs/btfs-2.23.ebuild b/net-fs/btfs/btfs-2.23.ebuild
new file mode 100644
index 000000000000..ec77a5957b93
--- /dev/null
+++ b/net-fs/btfs/btfs-2.23.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6..9} )
+
+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}"
+
+CDEPEND=">=sys-fs/fuse-2.8.0:0
+ >=net-misc/curl-7.22.0
+ dev-libs/boost:=
+ >=net-libs/libtorrent-rasterbar-0.16.0:="
+DEPEND="${CDEPEND}
+ virtual/pkgconfig"
+RDEPEND="${CDEPEND}
+ ${PYTHON_DEPS}"
+
+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
+}