diff --git a/recipes-gnome/polkit-gnome/polkit-gnome.bb b/recipes-gnome/polkit-gnome/polkit-gnome.bb new file mode 100644 index 0000000..4a762cf --- /dev/null +++ b/recipes-gnome/polkit-gnome/polkit-gnome.bb @@ -0,0 +1,26 @@ +SUMMARY = "GNOME Authentication Agent for PolicyKit" +LICENSE = "LGPL-2.0-or-later" +LIC_FILES_CHKSUM = " \ + file://COPYING;md5=74579fab173e4c5e12aac0cd83ee98ec \ + file://src/main.c;beginline=1;endline=20;md5=aba145d1802f2329ba561e3e48ecb795 \ +" + +DEPENDS = " \ + intltool-native \ + glib-2.0-native \ + polkit \ + gtk+3 \ + gnome-common \ +" + +inherit autotools pkgconfig gtk-doc features_check + +REQUIRED_DISTRO_FEATURES = "x11 polkit" + +SRC_URI = " \ + git://gitlab.gnome.org/Archive/policykit-gnome.git;branch=master;protocol=https \ + file://gtk-doc-check.patch \ +" +SRCREV = "a0763a246a81188f60b0f9810143e49224dc752f" +S = "${WORKDIR}/git" +PV = "0.105+git${SRCPV}" diff --git a/recipes-gnome/polkit-gnome/polkit-gnome/gtk-doc-check.patch b/recipes-gnome/polkit-gnome/polkit-gnome/gtk-doc-check.patch new file mode 100644 index 0000000..4b6ad75 --- /dev/null +++ b/recipes-gnome/polkit-gnome/polkit-gnome/gtk-doc-check.patch @@ -0,0 +1,12 @@ +--- polkit-gnome-0.105/configure.ac.org 2015-05-04 22:33:03.925977953 -0700 ++++ polkit-gnome-0.105/configure.ac 2015-05-04 22:33:16.862288030 -0700 +@@ -120,6 +120,9 @@ + # Check for required packages + # *************************** + ++# check for gtk-doc ++GTK_DOC_CHECK([1.14],[--flavour no-tmpl]) ++ + POLKIT_AGENT_REQUIRED=0.97 + POLKIT_GOBJECT_REQUIRED=0.97 + GTK_REQUIRED=3.0.0