aboutsummaryrefslogtreecommitdiffstats
path: root/meta-filesystems/recipes-utils/udevil/udevil_0.4.4.bb
blob: c432e8546805a62be202f63420c40e320dd08be6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
SUMMARY = "A command line Linux program which mounts and unmounts removable devices"
HOMEPAGE = "http://ignorantguru.github.io/udevil/"

DEPENDS = "glib-2.0 \
    glib-2.0-native \
    intltool-native \
    udev \
"
RDEPENDS_${PN} = "udev"

LICENSE = "GPL-3.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"

inherit autotools systemd

SRC_URI = "https://github.com/IgnorantGuru/udevil/raw/pkg/${PV}/udevil-${PV}.tar.xz \
    file://0001-udevil-0.4.3-fix-compile-with-gcc6.patch \
    file://0002-etc-Makefile.am-Use-systemd_unitdir-instead-of-libdi.patch \
"

SRC_URI[md5sum] = "dc1c489b603a0500a04dc7e1805ac1d9"
SRC_URI[sha256sum] = "ce8c51fd4d589cda7be56e75b42188deeb258c66fc911a9b3a70a3945c157739"

PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}"
PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd"

SYSTEMD_SERVICE_${PN} = "devmon@.service"
SYSTEMD_AUTO_ENABLE = "disable"