aboutsummaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-support/xdg-desktop-portal/xdg-desktop-portal-gtk_1.15.1.bb
blob: 0d2b0012c5d8411d14fbf79b7d8e959937408172 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
SUMMARY = "A backend implementation for xdg-desktop-portal that is using GTK and various pieces of GNOME infrastructure."
HOMEPAGE = "https://github.com/flatpak/xdg-desktop-portal-gtk"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"

DEPENDS = " \
    glib-2.0-native \
    gtk+3\
    xdg-desktop-portal \
    libadwaita \
    dconf \
"

inherit gettext meson pkgconfig gsettings features_check

REQUIRED_DISTRO_FEATURES = "polkit"

SRC_URI = "git://github.com/flatpak/xdg-desktop-portal-gtk.git;protocol=https;branch=main"

S = "${WORKDIR}/git"
SRCREV = "54003825481c2b48fd0c42355b484469dea12020"

PACKAGECONFIG ?= "wallpaper appchooser lockdown settings"

PACKAGECONFIG[wallpaper] = "-Dwallpaper=enabled,-Dwallpaper=disabled,gnome-desktop"
PACKAGECONFIG[settings] = "-Dsettings=enabled,-Dsettings=disabled,gsettings-desktop-schemas fontconfig"
PACKAGECONFIG[appchooser] = "-Dappchooser=enabled,-Dappchooser=disabled"
PACKAGECONFIG[lockdown] = "-Dlockdown=enabled,-Dlockdown=disabled"

FILES:${PN} += "${systemd_user_unitdir} ${datadir}"