blob: 9c1d8641e5822bb6999627d4f63c780f4e0ff96d [file] [log] [blame]
Brad Bishop23eaf032019-11-20 05:15:02 -05001SUMMARY = "Evince is a document viewer for document formats like pdf, ps, djvu"
2LICENSE = "GPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=96f2f8d5ee576a2163977938ea36fa7b"
4SECTION = "x11/office"
5DEPENDS = " \
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 ${@bb.utils.contains('DISTRO_FEATURES','x11','gnome-desktop3','',d)} \
17"
18
Andrew Geissler89770b02020-06-13 10:40:47 -050019GNOMEBASEBUILDCLASS = "meson"
Brad Bishop23eaf032019-11-20 05:15:02 -050020
Andrew Geissler89770b02020-06-13 10:40:47 -050021inherit gnomebase itstool gnome-help pkgconfig gsettings gobject-introspection upstream-version-is-even gettext mime-xdg gtk-doc
22
Andrew Geisslereef63862021-01-29 15:58:13 -060023SRC_URI[archive.sha256sum] = "26df897a417545b476d2606b14731122e84278ae994bd64ea535449c3cf01948"
Brad Bishop23eaf032019-11-20 05:15:02 -050024
Andrew Geissler89770b02020-06-13 10:40:47 -050025GTKDOC_MESON_OPTION = "gtk_doc"
26
27EXTRA_OEMESON = " \
28 -Dsystemduserunitdir=no \
Brad Bishop23eaf032019-11-20 05:15:02 -050029"
30
31do_compile_prepend() {
32 export GIR_EXTRA_LIBS_PATH="${B}/libdocument/.libs"
33}
34
35PACKAGECONFIG ??= ""
Andrew Geissler89770b02020-06-13 10:40:47 -050036PACKAGECONFIG[nautilus] = "-Dnautilus=true,-Dnautilus=false,nautilus"
37PACKAGECONFIG[browser-plugin] = "-Dbrowser_plugin=true,-Dbrowser_plugin=false"
Brad Bishop23eaf032019-11-20 05:15:02 -050038
39RDEPENDS_${PN} += "glib-2.0-utils"
40RRECOMMMENDS_${PN} = "adwaita-icon-theme"
41
42PACKAGES =+ "${PN}-nautilus-extension"
43PACKAGES =+ "${PN}-browser-plugin"
44
45FILES_${PN} += "${datadir}/dbus-1 \
46 ${datadir}/metainfo \
47 ${datadir}/thumbnailers \
48"
49FILES_${PN}-nautilus-extension = "${libdir}/nautilus/*/*so"
50FILES_${PN}-browser-plugin = "${libdir}/mozilla/*/*so"