diff options
| -rw-r--r-- | meta-oe/recipes-graphics/gpicview/gpicview_0.3.1.bb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/meta-oe/recipes-graphics/gpicview/gpicview_0.3.1.bb b/meta-oe/recipes-graphics/gpicview/gpicview_0.3.1.bb index dab11a02bc..01ba65728c 100644 --- a/meta-oe/recipes-graphics/gpicview/gpicview_0.3.1.bb +++ b/meta-oe/recipes-graphics/gpicview/gpicview_0.3.1.bb | |||
| @@ -8,14 +8,16 @@ SECTION = "x11" | |||
| 8 | LICENSE = "GPL-2.0-only" | 8 | LICENSE = "GPL-2.0-only" |
| 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" |
| 10 | 10 | ||
| 11 | DEPENDS = "glib-2.0-native intltool-native jpeg" | 11 | DEPENDS = "glib-2.0-native intltool-native jpeg libx11" |
| 12 | 12 | ||
| 13 | SRC_URI = "git://github.com/lxde/gpicview.git;protocol=https;branch=master;tag=${PV}" | 13 | SRC_URI = "git://github.com/lxde/gpicview.git;protocol=https;branch=master;tag=${PV}" |
| 14 | SRCREV = "ca13623c6176585db4759ce4371fbf89c56fa630" | 14 | SRCREV = "ca13623c6176585db4759ce4371fbf89c56fa630" |
| 15 | 15 | ||
| 16 | inherit autotools mime-xdg pkgconfig | 16 | inherit autotools mime-xdg pkgconfig features_check |
| 17 | 17 | ||
| 18 | PACKAGECONFIG ?= "gtk3" | 18 | REQUIRED_DISTRO_FEATURES = "x11" |
| 19 | |||
| 20 | PACKAGECONFIG ?= "${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'gtk3', 'gtk2', d)}" | ||
| 19 | PACKAGECONFIG[gtk2] = ",,gtk+" | 21 | PACKAGECONFIG[gtk2] = ",,gtk+" |
| 20 | PACKAGECONFIG[gtk3] = "--enable-gtk3,,gtk+3" | 22 | PACKAGECONFIG[gtk3] = "--enable-gtk3,,gtk+3" |
| 21 | 23 | ||
