diff options
Diffstat (limited to 'meta-gnome/recipes-gnome/evince/evince_48.1.bb')
| -rw-r--r-- | meta-gnome/recipes-gnome/evince/evince_48.1.bb | 62 |
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 @@ | |||
| 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 | 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 | |||
| 29 | inherit gnomebase itstool gnome-help pkgconfig gsettings gobject-introspection gettext mime-xdg gi-docgen features_check gtk-icon-cache | ||
| 30 | |||
| 31 | REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl', '', d)}" | ||
| 32 | |||
| 33 | def gnome_verdir(v): | ||
| 34 | return oe.utils.trim_version(v, 1) | ||
| 35 | |||
| 36 | SRC_URI[archive.sha256sum] = "7d8b9a6fa3a05d3f5b9048859027688c73a788ff6e923bc3945126884943fa10" | ||
| 37 | |||
| 38 | GTKDOC_MESON_OPTION = "gtk_doc" | ||
| 39 | |||
| 40 | PACKAGECONFIG ??= "" | ||
| 41 | PACKAGECONFIG[nautilus] = "-Dnautilus=true,-Dnautilus=false,nautilus" | ||
| 42 | |||
| 43 | RDEPENDS:${PN} += "glib-2.0-utils" | ||
| 44 | RRECOMMENDS:${PN} = "adwaita-icon-theme" | ||
| 45 | |||
| 46 | PACKAGES =+ "${PN}-nautilus-extension" | ||
| 47 | |||
| 48 | do_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 | |||
| 53 | FILES:${PN} += "${datadir}/dbus-1 \ | ||
| 54 | ${datadir}/metainfo \ | ||
| 55 | ${datadir}/thumbnailers \ | ||
| 56 | ${systemd_user_unitdir} \ | ||
| 57 | " | ||
| 58 | FILES:${PN}-nautilus-extension = "${libdir}/nautilus/*/*so" | ||
| 59 | |||
| 60 | CVE_PRODUCT = "evince" | ||
| 61 | CVE_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" | ||
| 62 | CVE_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" | ||
