summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb')
-rw-r--r--meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb8
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb b/meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb
index 830c053b6b..f71514916b 100644
--- a/meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb
+++ b/meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb
@@ -6,8 +6,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
file://src/leafpad.h;endline=20;md5=d3d6a89f5e61e8b13bdea537511ba1fa \
file://src/utils.c;endline=20;md5=0d2cc6584ba3202448bb274f62739571"
-DEPENDS = "gtk+ intltool-native"
-DEPENDS_append_poky = " libowl"
+DEPENDS = "gtk+ intltool-native libowl"
+# The libowl requires x11 in DISTRO_FEATURES
+REQUIRED_DISTRO_FEATURES = "x11"
+
SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \
file://leafpad.desktop"
@@ -17,7 +19,7 @@ PR = "r2"
SRC_URI_append_poky = " file://owl-menu.patch;apply=yes "
-inherit autotools pkgconfig
+inherit autotools pkgconfig distro_features_check
EXTRA_OECONF = " --enable-chooser --disable-emacs --disable-print"