Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | SUMMARY = "Implementation of a fully functional filesystem in a userspace program" |
| 2 | DESCRIPTION = "FUSE (Filesystem in Userspace) is a simple interface for userspace \ |
| 3 | programs to export a virtual filesystem to the Linux kernel. FUSE \ |
| 4 | also aims to provide a secure method for non privileged users to \ |
| 5 | create and mount their own filesystem implementations. \ |
| 6 | " |
| 7 | HOMEPAGE = "https://github.com/libfuse/libfuse" |
| 8 | SECTION = "libs" |
| 9 | LICENSE = "GPLv2 & LGPLv2" |
| 10 | LIC_FILES_CHKSUM = "file://GPL2.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
| 11 | file://LGPL2.txt;md5=4fbd65380cdd255951079008b364516c \ |
| 12 | file://LICENSE;md5=a55c12a2d7d742ecb41ca9ae0a6ddc66" |
| 13 | |
| 14 | SRC_URI = "https://github.com/libfuse/libfuse/releases/download/fuse-${PV}/fuse-${PV}.tar.xz \ |
| 15 | " |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 16 | SRC_URI[sha256sum] = "cd45270a064d2ae14f17cfc914f1555106d6c5091025b0b2698b860399d4ede6" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 17 | |
| 18 | S = "${WORKDIR}/fuse-${PV}" |
| 19 | |
| 20 | UPSTREAM_CHECK_URI = "https://github.com/libfuse/libfuse/releases" |
| 21 | UPSTREAM_CHECK_REGEX = "fuse\-(?P<pver>3(\.\d+)+).tar.xz" |
| 22 | |
Andrew Geissler | d221e03 | 2020-07-10 16:13:21 -0500 | [diff] [blame] | 23 | inherit meson pkgconfig ptest |
| 24 | |
| 25 | SRC_URI += " \ |
| 26 | file://run-ptest \ |
| 27 | " |
| 28 | |
| 29 | RDEPENDS_${PN}-ptest += " \ |
| 30 | ${PYTHON_PN}-pytest \ |
| 31 | bash \ |
| 32 | " |
| 33 | |
| 34 | do_install_ptest() { |
| 35 | install -d ${D}${PTEST_PATH}/test |
| 36 | cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ |
| 37 | } |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 38 | |
| 39 | DEPENDS = "udev" |
| 40 | |
| 41 | PACKAGES =+ "fuse3-utils" |
| 42 | |
| 43 | RPROVIDES_${PN}-dbg += "fuse3-utils-dbg" |
| 44 | |
| 45 | RRECOMMENDS_${PN}_class-target = "kernel-module-fuse fuse3-utils" |
| 46 | |
| 47 | FILES_${PN} += "${libdir}/libfuse3.so.*" |
| 48 | FILES_${PN}-dev += "${libdir}/libfuse3*.la" |
| 49 | |
| 50 | EXTRA_OEMESON += " \ |
| 51 | -Dexamples=false \ |
| 52 | " |
| 53 | |
| 54 | # Forbid auto-renaming to libfuse3-utils |
| 55 | FILES_fuse3-utils = "${bindir} ${base_sbindir}" |
| 56 | DEBIAN_NOAUTONAME_fuse3-utils = "1" |
| 57 | DEBIAN_NOAUTONAME_${PN}-dbg = "1" |
| 58 | |
| 59 | do_install_append() { |
| 60 | rm -rf ${D}${base_prefix}/dev |
| 61 | } |