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 | |
Andrew Geissler | 89770b0 | 2020-06-13 10:40:47 -0500 | [diff] [blame] | 19 | GNOMEBASEBUILDCLASS = "meson" |
Brad Bishop | 23eaf03 | 2019-11-20 05:15:02 -0500 | [diff] [blame] | 20 | |
Andrew Geissler | 89770b0 | 2020-06-13 10:40:47 -0500 | [diff] [blame] | 21 | inherit gnomebase itstool gnome-help pkgconfig gsettings gobject-introspection upstream-version-is-even gettext mime-xdg gtk-doc |
| 22 | |
Andrew Geissler | c87764f | 2020-06-27 00:16:32 -0500 | [diff] [blame^] | 23 | SRC_URI[archive.md5sum] = "5d68c81a3d4c5d27754b97405451f04e" |
| 24 | SRC_URI[archive.sha256sum] = "6f0dd6e30639eb620f201a6ae40f21c4b78c030f0d6437f9e309f7240195e97c" |
Brad Bishop | 23eaf03 | 2019-11-20 05:15:02 -0500 | [diff] [blame] | 25 | SRC_URI += " \ |
| 26 | file://0001-Add-format-attribute-to-_synctex_malloc.patch \ |
| 27 | file://0002-add-a-formatting-attribute-check.patch \ |
| 28 | " |
| 29 | |
Andrew Geissler | 89770b0 | 2020-06-13 10:40:47 -0500 | [diff] [blame] | 30 | GTKDOC_MESON_OPTION = "gtk_doc" |
| 31 | |
| 32 | EXTRA_OEMESON = " \ |
| 33 | -Dsystemduserunitdir=no \ |
Brad Bishop | 23eaf03 | 2019-11-20 05:15:02 -0500 | [diff] [blame] | 34 | " |
| 35 | |
| 36 | do_compile_prepend() { |
| 37 | export GIR_EXTRA_LIBS_PATH="${B}/libdocument/.libs" |
| 38 | } |
| 39 | |
| 40 | PACKAGECONFIG ??= "" |
Andrew Geissler | 89770b0 | 2020-06-13 10:40:47 -0500 | [diff] [blame] | 41 | PACKAGECONFIG[nautilus] = "-Dnautilus=true,-Dnautilus=false,nautilus" |
| 42 | PACKAGECONFIG[browser-plugin] = "-Dbrowser_plugin=true,-Dbrowser_plugin=false" |
Brad Bishop | 23eaf03 | 2019-11-20 05:15:02 -0500 | [diff] [blame] | 43 | |
| 44 | RDEPENDS_${PN} += "glib-2.0-utils" |
| 45 | RRECOMMMENDS_${PN} = "adwaita-icon-theme" |
| 46 | |
| 47 | PACKAGES =+ "${PN}-nautilus-extension" |
| 48 | PACKAGES =+ "${PN}-browser-plugin" |
| 49 | |
| 50 | FILES_${PN} += "${datadir}/dbus-1 \ |
| 51 | ${datadir}/metainfo \ |
| 52 | ${datadir}/thumbnailers \ |
| 53 | " |
| 54 | FILES_${PN}-nautilus-extension = "${libdir}/nautilus/*/*so" |
| 55 | FILES_${PN}-browser-plugin = "${libdir}/mozilla/*/*so" |