summaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-gnome/evince/evince_42.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-gnome/recipes-gnome/evince/evince_42.1.bb')
-rw-r--r--meta-gnome/recipes-gnome/evince/evince_42.1.bb51
1 files changed, 51 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/evince/evince_42.1.bb b/meta-gnome/recipes-gnome/evince/evince_42.1.bb
new file mode 100644
index 0000000000..2e22f2e703
--- /dev/null
+++ b/meta-gnome/recipes-gnome/evince/evince_42.1.bb
@@ -0,0 +1,51 @@
1SUMMARY = "Evince is a document viewer for document formats like pdf, ps, djvu"
2LICENSE = "GPL-2.0-only"
3LIC_FILES_CHKSUM = "file://COPYING;md5=96f2f8d5ee576a2163977938ea36fa7b"
4SECTION = "x11/office"
5DEPENDS = " \
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
20GNOMEBASEBUILDCLASS = "meson"
21
22inherit gnomebase itstool gnome-help pkgconfig gsettings gobject-introspection gettext mime-xdg gtk-doc
23
24def gnome_verdir(v):
25 return oe.utils.trim_version(v, 1)
26
27SRC_URI[archive.sha256sum] = "b24767bb3d5103b4e35b0e15cf033dbe2488f88700cdd882d22a43adeec2e80a"
28
29GTKDOC_MESON_OPTION = "gtk_doc"
30
31EXTRA_OEMESON = " \
32 -Dsystemduserunitdir=no \
33"
34
35do_compile:prepend() {
36 export GIR_EXTRA_LIBS_PATH="${B}/libdocument/.libs"
37}
38
39PACKAGECONFIG ??= ""
40PACKAGECONFIG[nautilus] = "-Dnautilus=true,-Dnautilus=false,nautilus"
41
42RDEPENDS:${PN} += "glib-2.0-utils"
43RRECOMMMENDS_${PN} = "adwaita-icon-theme"
44
45PACKAGES =+ "${PN}-nautilus-extension"
46
47FILES:${PN} += "${datadir}/dbus-1 \
48 ${datadir}/metainfo \
49 ${datadir}/thumbnailers \
50"
51FILES:${PN}-nautilus-extension = "${libdir}/nautilus/*/*so"