diff options
Diffstat (limited to 'meta-gnome/recipes-gnome/evince/evince_41.4.bb')
-rw-r--r-- | meta-gnome/recipes-gnome/evince/evince_41.4.bb | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/evince/evince_41.4.bb b/meta-gnome/recipes-gnome/evince/evince_41.4.bb new file mode 100644 index 000000000..6b3479c26 --- /dev/null +++ b/meta-gnome/recipes-gnome/evince/evince_41.4.bb | |||
@@ -0,0 +1,52 @@ | |||
1 | SUMMARY = "Evince is a document viewer for document formats like pdf, ps, djvu" | ||
2 | LICENSE = "GPL-2.0-only" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=96f2f8d5ee576a2163977938ea36fa7b" | ||
4 | SECTION = "x11/office" | ||
5 | DEPENDS = " \ | ||
6 | gnome-common-native \ | ||
7 | yelp-tools-native \ | ||
8 | appstream-glib \ | ||
9 | gtk+3 \ | ||
10 | gspell \ | ||
11 | libsecret \ | ||
12 | poppler \ | ||
13 | gstreamer1.0-plugins-base \ | ||
14 | orc \ | ||
15 | adwaita-icon-theme \ | ||
16 | libhandy \ | ||
17 | ${@bb.utils.contains('DISTRO_FEATURES','x11','gnome-desktop','',d)} \ | ||
18 | " | ||
19 | |||
20 | GNOMEBASEBUILDCLASS = "meson" | ||
21 | |||
22 | inherit gnomebase itstool gnome-help pkgconfig gsettings gobject-introspection gettext mime-xdg gtk-doc | ||
23 | |||
24 | def gnome_verdir(v): | ||
25 | return oe.utils.trim_version(v, 1) | ||
26 | |||
27 | SRC_URI += " file://0001-Remove-incorrect-args-for-i18n.merge_file.patch" | ||
28 | SRC_URI[archive.sha256sum] = "ff245240f230922bec32a4d7b0a1d91b247a83d13484f99b74035d51eb232130" | ||
29 | |||
30 | GTKDOC_MESON_OPTION = "gtk_doc" | ||
31 | |||
32 | EXTRA_OEMESON = " \ | ||
33 | -Dsystemduserunitdir=no \ | ||
34 | " | ||
35 | |||
36 | do_compile:prepend() { | ||
37 | export GIR_EXTRA_LIBS_PATH="${B}/libdocument/.libs" | ||
38 | } | ||
39 | |||
40 | PACKAGECONFIG ??= "" | ||
41 | PACKAGECONFIG[nautilus] = "-Dnautilus=true,-Dnautilus=false,nautilus" | ||
42 | |||
43 | RDEPENDS:${PN} += "glib-2.0-utils" | ||
44 | RRECOMMMENDS_${PN} = "adwaita-icon-theme" | ||
45 | |||
46 | PACKAGES =+ "${PN}-nautilus-extension" | ||
47 | |||
48 | FILES:${PN} += "${datadir}/dbus-1 \ | ||
49 | ${datadir}/metainfo \ | ||
50 | ${datadir}/thumbnailers \ | ||
51 | " | ||
52 | FILES:${PN}-nautilus-extension = "${libdir}/nautilus/*/*so" | ||