Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 1 | SUMMARY = "A backend implementation for xdg-desktop-portal that is using GTK and various pieces of GNOME infrastructure." |
| 2 | HOMEPAGE = "https://github.com/flatpak/xdg-desktop-portal-gtk" |
| 3 | LICENSE = "LGPL-2.1-only" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" |
| 5 | |
| 6 | DEPENDS = " \ |
| 7 | glib-2.0-native \ |
| 8 | gtk+3\ |
| 9 | xdg-desktop-portal \ |
| 10 | libadwaita \ |
| 11 | fontconfig \ |
| 12 | gsettings-desktop-schemas \ |
| 13 | gnome-desktop \ |
| 14 | dconf \ |
| 15 | " |
| 16 | |
| 17 | inherit gettext autotools pkgconfig gsettings features_check |
| 18 | |
| 19 | REQUIRED_DISTRO_FEATURES = "polkit" |
| 20 | |
| 21 | SRC_URI = "git://github.com/flatpak/xdg-desktop-portal-gtk.git;protocol=https;nobranch=1" |
| 22 | |
| 23 | S = "${WORKDIR}/git" |
| 24 | SRCREV = "952005f6a7850a247d286f14838202f506b402b7" |
| 25 | |
| 26 | # gdbus-codegen wants to create files in ${B}/src and fails because of missing directory |
| 27 | do_configure:append() { |
| 28 | mkdir -p ${B}/src |
| 29 | } |
| 30 | |
| 31 | # Note: wlroots has its own implementation for screenshot and screencast, but |
| 32 | # you may want to include the according PACKAGECONFIGS for gnome. |
| 33 | PACKAGECONFIG ?= "wallpaper appchooser lockdown" |
| 34 | |
| 35 | PACKAGECONFIG[screenshot] = "--enable-screenshot,--disable-screenshot,gnome-shell" |
| 36 | PACKAGECONFIG[screencast] = "--enable-screencast,--disable-screencast,mutter" |
| 37 | PACKAGECONFIG[wallpaper] = "--enable-wallpaper,--disable-wallpaper,gnome-desktop" |
| 38 | PACKAGECONFIG[background] = "--enable-background,--disable-background,gnome-shell" |
| 39 | PACKAGECONFIG[appchooser] = "--enable-appchooser,--disable-appchooser" |
| 40 | PACKAGECONFIG[lockdown] = "--enable-lockdown,--disable-lockdown" |
| 41 | |
| 42 | FILES:${PN} += "${systemd_user_unitdir} ${datadir}" |