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 | |
| 28 | GNOMEBASEBUILDCLASS = "meson" |
| 29 | |
Andrew Geissler | 5082cc7 | 2023-09-11 08:41:39 -0400 | [diff] [blame] | 30 | 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] | 31 | |
| 32 | REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl', '', d)}" |
| 33 | |
| 34 | def gnome_verdir(v): |
| 35 | return oe.utils.trim_version(v, 1) |
| 36 | |
Andrew Geissler | 220dafd | 2023-10-04 10:18:08 -0500 | [diff] [blame] | 37 | SRC_URI[archive.sha256sum] = "d18647d4275cbddf0d32817b1d04e307342a85be914ec4dad2d8082aaf8aa4a8" |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 38 | |
| 39 | GTKDOC_MESON_OPTION = "gtk_doc" |
| 40 | |
| 41 | PACKAGECONFIG ??= "" |
| 42 | PACKAGECONFIG[nautilus] = "-Dnautilus=true,-Dnautilus=false,nautilus" |
| 43 | |
| 44 | RDEPENDS:${PN} += "glib-2.0-utils" |
| 45 | RRECOMMENDS:${PN} = "adwaita-icon-theme" |
| 46 | |
| 47 | PACKAGES =+ "${PN}-nautilus-extension" |
| 48 | |
Andrew Geissler | 3eeda90 | 2023-05-19 10:14:02 -0500 | [diff] [blame] | 49 | do_install:prepend() { |
Patrick Williams | e760df8 | 2023-05-26 11:10:49 -0500 | [diff] [blame] | 50 | sed -i -e 's|${B}/../${PN}-${PV}|/usr/src/debug/${PN}/${PV}-${PR}|g' ${B}/libview/ev-view-type-builtins.c |
| 51 | sed -i -e 's|${B}/../${PN}-${PV}|/usr/src/debug/${PN}/${PV}-${PR}|g' ${B}/libdocument/ev-document-type-builtins.c |
Andrew Geissler | 3eeda90 | 2023-05-19 10:14:02 -0500 | [diff] [blame] | 52 | } |
| 53 | |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 54 | FILES:${PN} += "${datadir}/dbus-1 \ |
| 55 | ${datadir}/metainfo \ |
| 56 | ${datadir}/thumbnailers \ |
| 57 | ${systemd_user_unitdir} \ |
| 58 | " |
| 59 | FILES:${PN}-nautilus-extension = "${libdir}/nautilus/*/*so" |