Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions sys-fs/fuse/fuse-3.18.3.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Distributed under the terms of the GNU General Public License v2
# Autogen by MARK Devkit

EAPI=7
PYTHON_COMPAT=( python3+ )
inherit flag-o-matic meson udev python-any-r1

DESCRIPTION="The reference implementation of the Linux FUSE (Filesystem in Userspace) interface"
HOMEPAGE="https://github.com/libfuse/libfuse"
SRC_URI="https://github.com/libfuse/libfuse/releases/download/fuse-3.18.3/fuse-3.18.3.tar.gz -> fuse-3.18.3.tar.gz"
LICENSE="NOASSERTION"
SLOT="3"
KEYWORDS="*"
DOCS=(
AUTHORS
ChangeLog.rst
README.md
doc/README.NFS
doc/kernel.txt
)
IUSE="+suid"
BDEPEND="virtual/pkgconfig

"
RDEPEND="sys-fs/fuse-common

"
src_configure() {
# bug #853058
filter-lto
local emesonargs=(
-Dexamples=false
-Dtests=false
-Duseroot=false
-Dinitscriptdir=
-Dudevrulesdir="${EPREFIX}$(get_udevdir)/rules.d"
)
meson_src_configure
}
src_install() {
meson_src_install
# Installed via fuse-common
rm -r "${ED}"{/etc,$(get_udevdir)} || die
# useroot=false prevents the build system from doing this.
use suid && fperms u+s /usr/bin/fusermount3
# manually install man pages to respect compression
rm -r "${ED}"/usr/share/man || die
doman doc/{fusermount3.1,mount.fuse3.8}
}


# vim: filetype=ebuild