diff options
author | Matt Turner <mattst88@gentoo.org> | 2021-05-27 19:06:27 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2021-06-03 18:14:13 -0700 |
commit | a85e71118da8a3dee180034d15a671878df83065 (patch) | |
tree | 14148959894c34494f8a995ef12c7e86ea812657 /sys-fs | |
parent | sys-apps/systemd: Switch to meson-multilib (diff) | |
download | gentoo-a85e71118da8a3dee180034d15a671878df83065.tar.gz gentoo-a85e71118da8a3dee180034d15a671878df83065.tar.bz2 gentoo-a85e71118da8a3dee180034d15a671878df83065.zip |
sys-fs/fuse: Switch to meson-multilib
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/fuse/fuse-3.10.3.ebuild | 14 | ||||
-rw-r--r-- | sys-fs/fuse/fuse-3.9.3.ebuild | 14 |
2 files changed, 4 insertions, 24 deletions
diff --git a/sys-fs/fuse/fuse-3.10.3.ebuild b/sys-fs/fuse/fuse-3.10.3.ebuild index 0d221326b6f4..4621e41834f2 100644 --- a/sys-fs/fuse/fuse-3.10.3.ebuild +++ b/sys-fs/fuse/fuse-3.10.3.ebuild @@ -4,7 +4,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{7,8,9} ) -inherit meson multilib-minimal udev python-any-r1 +inherit meson-multilib udev python-any-r1 DESCRIPTION="An interface for filesystems implemented in userspace" HOMEPAGE="https://github.com/libfuse/libfuse" @@ -35,17 +35,13 @@ pkg_setup() { multilib_src_configure() { local emesonargs=( - -Dexamples=$(usex test true false) + $(meson_use test examples) -Duseroot=false -Dudevrulesdir="${EPREFIX}$(get_udevdir)/rules.d" ) meson_src_configure } -multilib_src_compile() { - eninja -} - src_test() { if [[ ${EUID} != 0 ]]; then ewarn "Running as non-root user, skipping tests" @@ -60,13 +56,7 @@ multilib_src_test() { ${EPYTHON} -m pytest test || die } -multilib_src_install() { - DESTDIR="${D}" eninja install -} - multilib_src_install_all() { - einstalldocs - # installed via fuse-common rm -r "${ED}"/{etc,$(get_udevdir)} || die diff --git a/sys-fs/fuse/fuse-3.9.3.ebuild b/sys-fs/fuse/fuse-3.9.3.ebuild index 5e10d166e389..e5d07d2d9696 100644 --- a/sys-fs/fuse/fuse-3.9.3.ebuild +++ b/sys-fs/fuse/fuse-3.9.3.ebuild @@ -4,7 +4,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{7,8} ) -inherit meson multilib-minimal flag-o-matic udev python-any-r1 +inherit meson-multilib flag-o-matic udev python-any-r1 DESCRIPTION="An interface for filesystems implemented in userspace" HOMEPAGE="https://github.com/libfuse/libfuse" @@ -42,17 +42,13 @@ src_prepare() { multilib_src_configure() { local emesonargs=( - -Dexamples=$(usex test true false) + $(meson_use test examples) -Duseroot=false -Dudevrulesdir="${EPREFIX}$(get_udevdir)/rules.d" ) meson_src_configure } -multilib_src_compile() { - eninja -} - src_test() { if [[ ${EUID} != 0 ]]; then ewarn "Running as non-root user, skipping tests" @@ -67,13 +63,7 @@ multilib_src_test() { ${EPYTHON} -m pytest test || die } -multilib_src_install() { - DESTDIR="${D}" eninja install -} - multilib_src_install_all() { - einstalldocs - # installed via fuse-common rm -r "${ED}"/{etc,$(get_udevdir)} || die |