blob: 052783626957061d31be36c884c17697bd9a03b1 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001DESCRIPTION = "The usermode contains the userhelper program, which can be used to allow configured \
2programs to be run with superuser privileges by ordinary users, and several \
3graphical tools for users: \
4* userinfo allows users to change their finger information. \
5* usermount lets users mount, unmount, and format filesystems. \
6* userpasswd allows users to change their passwords. \
7"
8HOMEPAGE = "https://pagure.io/usermode"
9LICENSE = "GPLv2+"
10DEPENDS = "libuser ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} \
11 gtk+ desktop-file-utils-native \
12 startup-notification intltool-native \
13 util-linux \
14"
15
16SRC_URI = "https://releases.pagure.org/${BPN}/${BPN}-${PV}.tar.xz \
17 file://0001-fix-compile-failure-against-musl-C-library.patch \
18 file://0001-Makefile.am-Link-with-libm-for-powl-API.patch \
19 "
20SRC_URI[md5sum] = "eadfbff18578b645096b6fa61854b41d"
21SRC_URI[sha256sum] = "99fbfd248b411ed0e7c44d1957b0ecde699b5a968a4db5d37228e82e7b1ba092"
22
23LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
24
25inherit distro_features_check autotools gettext pkgconfig
26
27EXTRA_OEMAKE += "INSTALL='install -p'"
28
29REQUIRED_DISTRO_FEATURES = "x11 pam"