summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/newt/libnewt_0.52.20.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/newt/libnewt_0.52.20.bb')
-rw-r--r--meta/recipes-extended/newt/libnewt_0.52.20.bb13
1 files changed, 9 insertions, 4 deletions
diff --git a/meta/recipes-extended/newt/libnewt_0.52.20.bb b/meta/recipes-extended/newt/libnewt_0.52.20.bb
index 264ef3b8ad..dc07a1809e 100644
--- a/meta/recipes-extended/newt/libnewt_0.52.20.bb
+++ b/meta/recipes-extended/newt/libnewt_0.52.20.bb
@@ -15,7 +15,7 @@ LICENSE = "LGPLv2"
15LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2" 15LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2"
16 16
17# slang needs to be >= 2.2 17# slang needs to be >= 2.2
18DEPENDS = "slang popt" 18DEPENDS = "slang popt python3"
19 19
20SRC_URI = "https://releases.pagure.org/newt/newt-${PV}.tar.gz \ 20SRC_URI = "https://releases.pagure.org/newt/newt-${PV}.tar.gz \
21 file://fix_SHAREDDIR.patch \ 21 file://fix_SHAREDDIR.patch \
@@ -30,15 +30,20 @@ SRC_URI[sha256sum] = "8d66ba6beffc3f786d4ccfee9d2b43d93484680ef8db9397a4fb70b5ad
30 30
31S = "${WORKDIR}/newt-${PV}" 31S = "${WORKDIR}/newt-${PV}"
32 32
33EXTRA_OECONF = "--without-tcl --without-python" 33inherit autotools-brokensep python3native python3-dir
34 34
35inherit autotools-brokensep 35EXTRA_OECONF = "--without-tcl --with-python"
36
37EXTRA_OEMAKE += "PYTHONVERS=${PYTHON_DIR}"
36 38
37CLEANBROKEN = "1" 39CLEANBROKEN = "1"
38 40
39export CPPFLAGS 41export CPPFLAGS
40 42
41PACKAGES_prepend = "whiptail " 43PACKAGES_prepend = "whiptail ${PN}-python "
44
45RDEPENDS_${PN}-python += "python3-core"
46FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}/*"
42 47
43do_configure_prepend() { 48do_configure_prepend() {
44 sh autogen.sh 49 sh autogen.sh