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 | eef6386 | 2021-01-29 15:58:13 -0600 | [diff] [blame] | 23 | SRC_URI[archive.sha256sum] = "26df897a417545b476d2606b14731122e84278ae994bd64ea535449c3cf01948" |
Brad Bishop | 23eaf03 | 2019-11-20 05:15:02 -0500 | [diff] [blame] | 24 | |
Andrew Geissler | 89770b0 | 2020-06-13 10:40:47 -0500 | [diff] [blame] | 25 | GTKDOC_MESON_OPTION = "gtk_doc" |
| 26 | |
| 27 | EXTRA_OEMESON = " \ |
| 28 | -Dsystemduserunitdir=no \ |
Brad Bishop | 23eaf03 | 2019-11-20 05:15:02 -0500 | [diff] [blame] | 29 | " |
| 30 | |
| 31 | do_compile_prepend() { |
| 32 | export GIR_EXTRA_LIBS_PATH="${B}/libdocument/.libs" |
| 33 | } |
| 34 | |
| 35 | PACKAGECONFIG ??= "" |
Andrew Geissler | 89770b0 | 2020-06-13 10:40:47 -0500 | [diff] [blame] | 36 | PACKAGECONFIG[nautilus] = "-Dnautilus=true,-Dnautilus=false,nautilus" |
| 37 | PACKAGECONFIG[browser-plugin] = "-Dbrowser_plugin=true,-Dbrowser_plugin=false" |
Brad Bishop | 23eaf03 | 2019-11-20 05:15:02 -0500 | [diff] [blame] | 38 | |
| 39 | RDEPENDS_${PN} += "glib-2.0-utils" |
| 40 | RRECOMMMENDS_${PN} = "adwaita-icon-theme" |
| 41 | |
| 42 | PACKAGES =+ "${PN}-nautilus-extension" |
| 43 | PACKAGES =+ "${PN}-browser-plugin" |
| 44 | |
| 45 | FILES_${PN} += "${datadir}/dbus-1 \ |
| 46 | ${datadir}/metainfo \ |
| 47 | ${datadir}/thumbnailers \ |
| 48 | " |
| 49 | FILES_${PN}-nautilus-extension = "${libdir}/nautilus/*/*so" |
| 50 | FILES_${PN}-browser-plugin = "${libdir}/mozilla/*/*so" |