Brad Bishop | 23eaf03 | 2019-11-20 05:15:02 -0500 | [diff] [blame] | 1 | SUMMARY = "Evince is a document viewer for document formats like pdf, ps, djvu" |
| 2 | LICENSE = "GPLv2" |
| 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 | ${@bb.utils.contains('DISTRO_FEATURES','x11','gnome-desktop3','',d)} \ |
| 17 | " |
| 18 | |
Brad Bishop | 8410d61 | 2019-11-25 09:40:59 -0500 | [diff] [blame] | 19 | inherit gnomebase itstool gnome-help pkgconfig gsettings gobject-introspection upstream-version-is-even gettext features_check |
Brad Bishop | 23eaf03 | 2019-11-20 05:15:02 -0500 | [diff] [blame] | 20 | |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame^] | 21 | SRC_URI[archive.md5sum] = "9e9e82fa8f6045ad7817157d9335d185" |
| 22 | SRC_URI[archive.sha256sum] = "3cc0955f11204e3a2db1c7ab99b866692749592257485b87304134ad69da0617" |
Brad Bishop | 23eaf03 | 2019-11-20 05:15:02 -0500 | [diff] [blame] | 23 | SRC_URI += " \ |
| 24 | file://0001-Add-format-attribute-to-_synctex_malloc.patch \ |
| 25 | file://0002-add-a-formatting-attribute-check.patch \ |
| 26 | " |
| 27 | |
| 28 | EXTRA_OECONF = " \ |
| 29 | --enable-thumbnailer \ |
| 30 | --without-systemduserunitdir \ |
| 31 | " |
| 32 | |
| 33 | do_compile_prepend() { |
| 34 | export GIR_EXTRA_LIBS_PATH="${B}/libdocument/.libs" |
| 35 | } |
| 36 | |
| 37 | PACKAGECONFIG ??= "" |
| 38 | PACKAGECONFIG[nautilus] = "--enable-nautilus,--disable-nautilus,nautilus" |
| 39 | PACKAGECONFIG[browser-plugin] = "--enable-browser-plugin,--disable-browser-plugin," |
| 40 | |
| 41 | RDEPENDS_${PN} += "glib-2.0-utils" |
| 42 | RRECOMMMENDS_${PN} = "adwaita-icon-theme" |
| 43 | |
| 44 | PACKAGES =+ "${PN}-nautilus-extension" |
| 45 | PACKAGES =+ "${PN}-browser-plugin" |
| 46 | |
| 47 | FILES_${PN} += "${datadir}/dbus-1 \ |
| 48 | ${datadir}/metainfo \ |
| 49 | ${datadir}/thumbnailers \ |
| 50 | " |
| 51 | FILES_${PN}-nautilus-extension = "${libdir}/nautilus/*/*so" |
| 52 | FILES_${PN}-browser-plugin = "${libdir}/mozilla/*/*so" |