Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [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 | 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 | libhandy \ |
Andrew Geissler | d583833 | 2022-05-27 11:33:10 -0500 | [diff] [blame] | 17 | ${@bb.utils.contains('DISTRO_FEATURES','x11','gnome-desktop','dbus',d)} \ |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 18 | " |
| 19 | |
| 20 | GNOMEBASEBUILDCLASS = "meson" |
| 21 | |
| 22 | inherit gnomebase itstool gnome-help pkgconfig gsettings gobject-introspection gettext mime-xdg gtk-doc |
| 23 | |
| 24 | def gnome_verdir(v): |
| 25 | return oe.utils.trim_version(v, 1) |
| 26 | |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame^] | 27 | SRC_URI[archive.sha256sum] = "49aecf845c946c96db17ba89d75c8002c5ae8963f504a9b0626d12675914645e" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 28 | |
| 29 | GTKDOC_MESON_OPTION = "gtk_doc" |
| 30 | |
| 31 | EXTRA_OEMESON = " \ |
| 32 | -Dsystemduserunitdir=no \ |
| 33 | " |
| 34 | |
| 35 | do_compile:prepend() { |
| 36 | export GIR_EXTRA_LIBS_PATH="${B}/libdocument/.libs" |
| 37 | } |
| 38 | |
| 39 | PACKAGECONFIG ??= "" |
| 40 | PACKAGECONFIG[nautilus] = "-Dnautilus=true,-Dnautilus=false,nautilus" |
| 41 | |
| 42 | RDEPENDS:${PN} += "glib-2.0-utils" |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame^] | 43 | RRECOMMENDS:${PN} = "adwaita-icon-theme" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 44 | |
| 45 | PACKAGES =+ "${PN}-nautilus-extension" |
| 46 | |
| 47 | FILES:${PN} += "${datadir}/dbus-1 \ |
| 48 | ${datadir}/metainfo \ |
| 49 | ${datadir}/thumbnailers \ |
| 50 | " |
| 51 | FILES:${PN}-nautilus-extension = "${libdir}/nautilus/*/*so" |