diff options
Diffstat (limited to 'meta/recipes-extended/newt/libnewt_0.52.20.bb')
-rw-r--r-- | meta/recipes-extended/newt/libnewt_0.52.20.bb | 13 |
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" | |||
15 | LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2" | 15 | LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2" |
16 | 16 | ||
17 | # slang needs to be >= 2.2 | 17 | # slang needs to be >= 2.2 |
18 | DEPENDS = "slang popt" | 18 | DEPENDS = "slang popt python3" |
19 | 19 | ||
20 | SRC_URI = "https://releases.pagure.org/newt/newt-${PV}.tar.gz \ | 20 | SRC_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 | ||
31 | S = "${WORKDIR}/newt-${PV}" | 31 | S = "${WORKDIR}/newt-${PV}" |
32 | 32 | ||
33 | EXTRA_OECONF = "--without-tcl --without-python" | 33 | inherit autotools-brokensep python3native python3-dir |
34 | 34 | ||
35 | inherit autotools-brokensep | 35 | EXTRA_OECONF = "--without-tcl --with-python" |
36 | |||
37 | EXTRA_OEMAKE += "PYTHONVERS=${PYTHON_DIR}" | ||
36 | 38 | ||
37 | CLEANBROKEN = "1" | 39 | CLEANBROKEN = "1" |
38 | 40 | ||
39 | export CPPFLAGS | 41 | export CPPFLAGS |
40 | 42 | ||
41 | PACKAGES_prepend = "whiptail " | 43 | PACKAGES_prepend = "whiptail ${PN}-python " |
44 | |||
45 | RDEPENDS_${PN}-python += "python3-core" | ||
46 | FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}/*" | ||
42 | 47 | ||
43 | do_configure_prepend() { | 48 | do_configure_prepend() { |
44 | sh autogen.sh | 49 | sh autogen.sh |