diff options
| author | Fabien Lahoudere <fabien.lahoudere@collabora.co.uk> | 2017-09-06 18:53:07 +0200 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-09-13 11:13:20 +0200 |
| commit | 33c822a7c11df08f35dda18a44aae730f93c6130 (patch) | |
| tree | d6ca2c1ba7a22c799a584921041c6e3776f51407 /meta-gnome | |
| parent | d4a0faf98e991228c5dc551872cade0b85c8ac6f (diff) | |
| download | meta-openembedded-33c822a7c11df08f35dda18a44aae730f93c6130.tar.gz | |
evince: Remove X dependency
gnome-desktop is the only X dependency for evince.
In order to build evince for Wayland based system without X support,
gnome-desktop is added to DEPENDS only if x11 exists in DISTRO_FEATURES.
So x11 is dropped from REQUIRED_DISTRO_FEATURES.
Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.co.uk>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-gnome')
| -rw-r--r-- | meta-gnome/recipes-gnome/evince/evince_3.24.0.bb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meta-gnome/recipes-gnome/evince/evince_3.24.0.bb b/meta-gnome/recipes-gnome/evince/evince_3.24.0.bb index aae8e719ad..78a949526b 100644 --- a/meta-gnome/recipes-gnome/evince/evince_3.24.0.bb +++ b/meta-gnome/recipes-gnome/evince/evince_3.24.0.bb | |||
| @@ -2,13 +2,11 @@ SUMMARY = "Evince is a document viewer for document formats like pdf, ps, djvu" | |||
| 2 | LICENSE = "GPLv2" | 2 | LICENSE = "GPLv2" |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=96f2f8d5ee576a2163977938ea36fa7b" | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=96f2f8d5ee576a2163977938ea36fa7b" |
| 4 | SECTION = "x11/office" | 4 | SECTION = "x11/office" |
| 5 | DEPENDS = "gtk+3 libsecret gnome-desktop3 poppler gstreamer1.0-plugins-base orc adwaita-icon-theme intltool-native gnome-common-native" | 5 | DEPENDS = "gtk+3 libsecret ${@bb.utils.contains('DISTRO_FEATURES','x11','gnome-desktop3','',d)} poppler gstreamer1.0-plugins-base orc adwaita-icon-theme intltool-native gnome-common-native" |
| 6 | PR = "r5" | 6 | PR = "r5" |
| 7 | 7 | ||
| 8 | inherit gnome pkgconfig gtk-icon-cache gsettings gobject-introspection distro_features_check systemd | 8 | inherit gnome pkgconfig gtk-icon-cache gsettings gobject-introspection distro_features_check systemd |
| 9 | 9 | ||
| 10 | REQUIRED_DISTRO_FEATURES = "x11" | ||
| 11 | |||
| 12 | SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive \ | 10 | SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive \ |
| 13 | file://0001-help-remove-YELP-macro.patch \ | 11 | file://0001-help-remove-YELP-macro.patch \ |
| 14 | file://0001-Add-format-attribute-to-_synctex_malloc.patch \ | 12 | file://0001-Add-format-attribute-to-_synctex_malloc.patch \ |
