summaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-gnome/evince/evince_45.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-gnome/recipes-gnome/evince/evince_45.0.bb')
-rw-r--r--meta-gnome/recipes-gnome/evince/evince_45.0.bb59
1 files changed, 59 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/evince/evince_45.0.bb b/meta-gnome/recipes-gnome/evince/evince_45.0.bb
new file mode 100644
index 0000000000..d97a8a0cf6
--- /dev/null
+++ b/meta-gnome/recipes-gnome/evince/evince_45.0.bb
@@ -0,0 +1,59 @@
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 adwaita-icon-theme \
7 appstream-glib \
8 cairo \
9 desktop-file-utils-native \
10 dbus \
11 gdk-pixbuf \
12 glib-2.0 \
13 gnome-common-native \
14 gnome-desktop \
15 gsettings-desktop-schemas \
16 gspell \
17 gstreamer1.0-plugins-base \
18 gtk+3 \
19 libarchive \
20 libhandy \
21 libsecret \
22 libxml2 \
23 poppler \
24 yelp-tools-native \
25 zlib \
26"
27
28GNOMEBASEBUILDCLASS = "meson"
29
30inherit gnomebase itstool gnome-help pkgconfig gsettings gobject-introspection gettext mime-xdg gi-docgen features_check gtk-icon-cache
31
32REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl', '', d)}"
33
34def gnome_verdir(v):
35 return oe.utils.trim_version(v, 1)
36
37SRC_URI[archive.sha256sum] = "d18647d4275cbddf0d32817b1d04e307342a85be914ec4dad2d8082aaf8aa4a8"
38
39GTKDOC_MESON_OPTION = "gtk_doc"
40
41PACKAGECONFIG ??= ""
42PACKAGECONFIG[nautilus] = "-Dnautilus=true,-Dnautilus=false,nautilus"
43
44RDEPENDS:${PN} += "glib-2.0-utils"
45RRECOMMENDS:${PN} = "adwaita-icon-theme"
46
47PACKAGES =+ "${PN}-nautilus-extension"
48
49do_install:prepend() {
50 sed -i -e 's|${B}/../${PN}-${PV}|/usr/src/debug/${PN}/${PV}-${PR}|g' ${B}/libview/ev-view-type-builtins.c
51 sed -i -e 's|${B}/../${PN}-${PV}|/usr/src/debug/${PN}/${PV}-${PR}|g' ${B}/libdocument/ev-document-type-builtins.c
52}
53
54FILES:${PN} += "${datadir}/dbus-1 \
55 ${datadir}/metainfo \
56 ${datadir}/thumbnailers \
57 ${systemd_user_unitdir} \
58"
59FILES:${PN}-nautilus-extension = "${libdir}/nautilus/*/*so"