Andrew Geissler | 517393d | 2023-01-13 08:55:19 -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 | GNOMEBASEBUILDCLASS = "meson" |
| 20 | |
| 21 | inherit gnomebase gsettings gtk-icon-cache gettext features_check mime-xdg |
| 22 | |
| 23 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" |
| 24 | REQUIRED_DISTRO_FEATURES = "polkit" |
| 25 | |
| 26 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)}" |
| 27 | |
| 28 | # As soon as elogind is of interest this needs rework: meson option is combo |
| 29 | PACKAGECONFIG[systemd] = "-Dlogind=libsystemd,-Dlogind=none,systemd" |
| 30 | PACKAGECONFIG[x11] = ",,libcanberra" |
| 31 | |
| 32 | SRC_URI:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'file://0001-gnome-disk-utility-remove-libcanberra-dependency.patch', '', d)}" |
| 33 | SRC_URI[archive.sha256sum] = "7afca9805a6b92db6933dd7efcec4af8386c01bbc1f871e2dae4def7e192a2c5" |
| 34 | |
| 35 | EXTRA_OEMESON = "-Dman=false" |
| 36 | |
| 37 | FILES:${PN} += " \ |
| 38 | ${datadir}/metainfo \ |
| 39 | ${datadir}/dbus-1 \ |
| 40 | " |