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 \ |
William A. Kennington III | b95905d | 2021-06-02 12:40:56 -0700 | [diff] [blame] | 16 | libhandy \ |
Brad Bishop | 23eaf03 | 2019-11-20 05:15:02 -0500 | [diff] [blame] | 17 | ${@bb.utils.contains('DISTRO_FEATURES','x11','gnome-desktop3','',d)} \ |
| 18 | " |
| 19 | |
Andrew Geissler | 89770b0 | 2020-06-13 10:40:47 -0500 | [diff] [blame] | 20 | GNOMEBASEBUILDCLASS = "meson" |
Brad Bishop | 23eaf03 | 2019-11-20 05:15:02 -0500 | [diff] [blame] | 21 | |
William A. Kennington III | b95905d | 2021-06-02 12:40:56 -0700 | [diff] [blame] | 22 | inherit gnomebase itstool gnome-help pkgconfig gsettings gobject-introspection gettext mime-xdg gtk-doc |
Andrew Geissler | 89770b0 | 2020-06-13 10:40:47 -0500 | [diff] [blame] | 23 | |
William A. Kennington III | b95905d | 2021-06-02 12:40:56 -0700 | [diff] [blame] | 24 | def gnome_verdir(v): |
| 25 | return oe.utils.trim_version(v, 1) |
| 26 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 27 | SRC_URI[archive.sha256sum] = "33420500e0e060f178a435063197d42dae7b67e39cc437a96510a33ddf7e95fb" |
Brad Bishop | 23eaf03 | 2019-11-20 05:15:02 -0500 | [diff] [blame] | 28 | |
Andrew Geissler | 89770b0 | 2020-06-13 10:40:47 -0500 | [diff] [blame] | 29 | GTKDOC_MESON_OPTION = "gtk_doc" |
| 30 | |
| 31 | EXTRA_OEMESON = " \ |
| 32 | -Dsystemduserunitdir=no \ |
Brad Bishop | 23eaf03 | 2019-11-20 05:15:02 -0500 | [diff] [blame] | 33 | " |
| 34 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 35 | do_compile:prepend() { |
Brad Bishop | 23eaf03 | 2019-11-20 05:15:02 -0500 | [diff] [blame] | 36 | export GIR_EXTRA_LIBS_PATH="${B}/libdocument/.libs" |
| 37 | } |
| 38 | |
| 39 | PACKAGECONFIG ??= "" |
Andrew Geissler | 89770b0 | 2020-06-13 10:40:47 -0500 | [diff] [blame] | 40 | PACKAGECONFIG[nautilus] = "-Dnautilus=true,-Dnautilus=false,nautilus" |
| 41 | PACKAGECONFIG[browser-plugin] = "-Dbrowser_plugin=true,-Dbrowser_plugin=false" |
Brad Bishop | 23eaf03 | 2019-11-20 05:15:02 -0500 | [diff] [blame] | 42 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 43 | RDEPENDS:${PN} += "glib-2.0-utils" |
Brad Bishop | 23eaf03 | 2019-11-20 05:15:02 -0500 | [diff] [blame] | 44 | RRECOMMMENDS_${PN} = "adwaita-icon-theme" |
| 45 | |
| 46 | PACKAGES =+ "${PN}-nautilus-extension" |
| 47 | PACKAGES =+ "${PN}-browser-plugin" |
| 48 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 49 | FILES:${PN} += "${datadir}/dbus-1 \ |
Brad Bishop | 23eaf03 | 2019-11-20 05:15:02 -0500 | [diff] [blame] | 50 | ${datadir}/metainfo \ |
| 51 | ${datadir}/thumbnailers \ |
| 52 | " |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 53 | FILES:${PN}-nautilus-extension = "${libdir}/nautilus/*/*so" |
| 54 | FILES:${PN}-browser-plugin = "${libdir}/mozilla/*/*so" |