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 \ |
| 9 | dbus \ |
| 10 | gdk-pixbuf \ |
| 11 | glib-2.0 \ |
| 12 | gnome-common-native \ |
| 13 | gnome-desktop \ |
| 14 | gsettings-desktop-schemas \ |
| 15 | gspell \ |
| 16 | gstreamer1.0-plugins-base \ |
| 17 | gtk+3 \ |
| 18 | libarchive \ |
| 19 | libhandy \ |
| 20 | libsecret \ |
| 21 | libxml2 \ |
| 22 | poppler \ |
| 23 | yelp-tools-native \ |
| 24 | zlib \ |
| 25 | " |
| 26 | |
| 27 | GNOMEBASEBUILDCLASS = "meson" |
| 28 | |
| 29 | inherit gnomebase itstool gnome-help pkgconfig gsettings gobject-introspection gettext mime-xdg gtk-doc features_check gtk-icon-cache |
| 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 | |
| 36 | SRC_URI[archive.sha256sum] = "6d75ca62b73bfbb600f718a098103dc6b813f9050b9594be929e29b4589d2335" |
| 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 | |
| 48 | FILES:${PN} += "${datadir}/dbus-1 \ |
| 49 | ${datadir}/metainfo \ |
| 50 | ${datadir}/thumbnailers \ |
| 51 | ${systemd_user_unitdir} \ |
| 52 | " |
| 53 | FILES:${PN}-nautilus-extension = "${libdir}/nautilus/*/*so" |