summaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-gnome/grilo/grilo_0.3.19.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-gnome/recipes-gnome/grilo/grilo_0.3.19.bb')
-rw-r--r--meta-gnome/recipes-gnome/grilo/grilo_0.3.19.bb38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/grilo/grilo_0.3.19.bb b/meta-gnome/recipes-gnome/grilo/grilo_0.3.19.bb
new file mode 100644
index 0000000000..c3d6294d06
--- /dev/null
+++ b/meta-gnome/recipes-gnome/grilo/grilo_0.3.19.bb
@@ -0,0 +1,38 @@
1SUMMARY = "Grilo is a framework for searching media content from various sources"
2LICENSE = "LGPL-2.1-only"
3LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
4
5DEPENDS = " \
6 libxml2 \
7 glib-2.0 \
8"
9
10inherit gnomebase gobject-introspection gtk-doc gettext vala
11
12SRC_URI[archive.sha256sum] = "0869c81d19ab139c667d79567c14ddcb6cb5cbfc0108d04cade287eb29536706"
13
14GIR_MESON_OPTION = "enable-introspection"
15GTKDOC_MESON_OPTION = "enable-gtk-doc"
16
17PACKAGECONFIG ??= "net"
18
19PACKAGECONFIG[net] = "-Denable-grl-net=true, -Denable-grl-net=false, libsoup-3.0"
20PACKAGECONFIG[test-ui] = "-Denable-test-ui=true, -Denable-test-ui=false, gtk+3 liboauth"
21
22# Once we have a recipe for 'totem-plparser' this can turn into a PACKAGECONFIG
23EXTRA_OEMESON = "-Denable-grl-pls=false"
24
25do_compile:append() {
26 # grl-type-builtins.* are generated by glib-mkenums which leave full paths
27 # in comment and #include directives. Rewrite those before *-src packaging.
28
29 # Path can be relative to B or WORKDIR in devtool modify
30 for base in ${B} ${WORKDIR} ; do
31 relpath="$(realpath --relative-to="$base" "${S}")"
32 sed -i -e "s,$base/$relpath/src/,," \
33 ${B}/src/grl-type-builtins.h \
34 ${B}/src/grl-type-builtins.c
35 done
36}
37
38FILES:${PN} += "${libdir}/girepository-1.0"