Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 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 \ |
Patrick Williams | 8e7b46e | 2023-05-01 14:19:06 -0500 | [diff] [blame] | 9 | desktop-file-utils-native \ |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 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 | |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 28 | |
Andrew Geissler | 5082cc7 | 2023-09-11 08:41:39 -0400 | [diff] [blame] | 29 | inherit gnomebase itstool gnome-help pkgconfig gsettings gobject-introspection gettext mime-xdg gi-docgen features_check gtk-icon-cache |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 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 | |
Andrew Geissler | 220dafd | 2023-10-04 10:18:08 -0500 | [diff] [blame] | 36 | SRC_URI[archive.sha256sum] = "d18647d4275cbddf0d32817b1d04e307342a85be914ec4dad2d8082aaf8aa4a8" |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 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 | |
Andrew Geissler | 3eeda90 | 2023-05-19 10:14:02 -0500 | [diff] [blame] | 48 | do_install:prepend() { |
Patrick Williams | ac13d5f | 2023-11-24 18:59:46 -0600 | [diff] [blame] | 49 | sed -i -e 's|${B}/../${PN}-${PV}|${TARGET_DBGSRC_DIR}|g' ${B}/libview/ev-view-type-builtins.c |
| 50 | sed -i -e 's|${B}/../${PN}-${PV}|${TARGET_DBGSRC_DIR}|g' ${B}/libdocument/ev-document-type-builtins.c |
Andrew Geissler | 3eeda90 | 2023-05-19 10:14:02 -0500 | [diff] [blame] | 51 | } |
| 52 | |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 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" |