summaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-gnome/evince/evince_48.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-gnome/recipes-gnome/evince/evince_48.1.bb')
-rw-r--r--meta-gnome/recipes-gnome/evince/evince_48.1.bb62
1 files changed, 62 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/evince/evince_48.1.bb b/meta-gnome/recipes-gnome/evince/evince_48.1.bb
new file mode 100644
index 0000000000..9cf048f14b
--- /dev/null
+++ b/meta-gnome/recipes-gnome/evince/evince_48.1.bb
@@ -0,0 +1,62 @@
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
28
29inherit gnomebase itstool gnome-help pkgconfig gsettings gobject-introspection gettext mime-xdg gi-docgen features_check gtk-icon-cache
30
31REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl', '', d)}"
32
33def gnome_verdir(v):
34 return oe.utils.trim_version(v, 1)
35
36SRC_URI[archive.sha256sum] = "7d8b9a6fa3a05d3f5b9048859027688c73a788ff6e923bc3945126884943fa10"
37
38GTKDOC_MESON_OPTION = "gtk_doc"
39
40PACKAGECONFIG ??= ""
41PACKAGECONFIG[nautilus] = "-Dnautilus=true,-Dnautilus=false,nautilus"
42
43RDEPENDS:${PN} += "glib-2.0-utils"
44RRECOMMENDS:${PN} = "adwaita-icon-theme"
45
46PACKAGES =+ "${PN}-nautilus-extension"
47
48do_install:prepend() {
49 sed -i -e 's|${B}/../sources/${BP}|${TARGET_DBGSRC_DIR}|g' ${B}/libview/ev-view-type-builtins.c
50 sed -i -e 's|${B}/../sources/${BP}|${TARGET_DBGSRC_DIR}|g' ${B}/libdocument/ev-document-type-builtins.c
51}
52
53FILES:${PN} += "${datadir}/dbus-1 \
54 ${datadir}/metainfo \
55 ${datadir}/thumbnailers \
56 ${systemd_user_unitdir} \
57"
58FILES:${PN}-nautilus-extension = "${libdir}/nautilus/*/*so"
59
60CVE_PRODUCT = "evince"
61CVE_STATUS[CVE-2011-0433] = "fixed-version: No action required. The current version (46.0) is not affected by the CVE which has been patched since version 3.1.2"
62CVE_STATUS[CVE-2011-5244] = "fixed-version: No action required. The current version (46.0) is not affected by the CVE which has been patched since version 3.1.2"