blob: 4f3738cfb5bbe889ab9e4578a442d272a0d2c645 [file] [log] [blame]
Patrick Williamsac13d5f2023-11-24 18:59:46 -06001SUMMARY = "GNOME disk utility"
2LICENSE = "GPL-2.0-only"
3LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
4
5SECTION = "x11/gnome"
6
7DEPENDS = " \
8 desktop-file-utils-native \
9 gtk+3 \
10 libdvdread \
11 libnotify \
12 libsecret \
13 libpwquality \
14 udisks2 \
15 libhandy \
16 xz \
17"
18
19
20inherit gnomebase gsettings gtk-icon-cache gettext features_check mime-xdg
21
22ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
23REQUIRED_DISTRO_FEATURES = "polkit"
24
25PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)}"
26
27# As soon as elogind is of interest this needs rework: meson option is combo
28PACKAGECONFIG[systemd] = "-Dlogind=libsystemd,-Dlogind=none,systemd"
29PACKAGECONFIG[x11] = ",,libcanberra"
30
31SRC_URI:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'file://0001-gnome-disk-utility-remove-libcanberra-dependency.patch', '', d)}"
32SRC_URI[archive.sha256sum] = "3d8625faa99047bc4aefd29921ad728ab4d700cff86e0f2ec67e8dba877d0dd3"
33
34EXTRA_OEMESON = "-Dman=false"
35
36FILES:${PN} += " \
37 ${datadir}/metainfo \
38 ${datadir}/dbus-1 \
39"