Patrick Williams | ac13d5f | 2023-11-24 18:59:46 -0600 | [diff] [blame] | 1 | SUMMARY = "GNOME disk utility" |
| 2 | LICENSE = "GPL-2.0-only" |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| 4 | |
| 5 | SECTION = "x11/gnome" |
| 6 | |
| 7 | DEPENDS = " \ |
| 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 | |
| 20 | inherit gnomebase gsettings gtk-icon-cache gettext features_check mime-xdg |
| 21 | |
| 22 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" |
| 23 | REQUIRED_DISTRO_FEATURES = "polkit" |
| 24 | |
| 25 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)}" |
| 26 | |
| 27 | # As soon as elogind is of interest this needs rework: meson option is combo |
| 28 | PACKAGECONFIG[systemd] = "-Dlogind=libsystemd,-Dlogind=none,systemd" |
| 29 | PACKAGECONFIG[x11] = ",,libcanberra" |
| 30 | |
| 31 | SRC_URI:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'file://0001-gnome-disk-utility-remove-libcanberra-dependency.patch', '', d)}" |
| 32 | SRC_URI[archive.sha256sum] = "3d8625faa99047bc4aefd29921ad728ab4d700cff86e0f2ec67e8dba877d0dd3" |
| 33 | |
| 34 | EXTRA_OEMESON = "-Dman=false" |
| 35 | |
| 36 | FILES:${PN} += " \ |
| 37 | ${datadir}/metainfo \ |
| 38 | ${datadir}/dbus-1 \ |
| 39 | " |