From cb4e69e6346a9fbeebf83a5d5397cacbd41d48b5 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Sun, 16 Feb 2020 16:50:06 +0100 Subject: procps: upstream has switched to gitlab (From OE-Core rev: 7c67cff7683aeb80a07f55589f6c2f2a3dd6b44b) Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- meta/recipes-extended/procps/procps_3.3.16.bb | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'meta/recipes-extended') diff --git a/meta/recipes-extended/procps/procps_3.3.16.bb b/meta/recipes-extended/procps/procps_3.3.16.bb index 60f90976bb..2810ebd285 100644 --- a/meta/recipes-extended/procps/procps_3.3.16.bb +++ b/meta/recipes-extended/procps/procps_3.3.16.bb @@ -12,14 +12,19 @@ DEPENDS = "ncurses" inherit autotools gettext pkgconfig update-alternatives -SRC_URI = "http://downloads.sourceforge.net/project/procps-ng/Production/procps-ng-${PV}.tar.xz \ +SRC_URI = "git://gitlab.com/procps-ng/procps.git;protocol=https \ file://sysctl.conf \ " +SRCREV = "59c88e18f29000ceaf7e5f98181b07be443cf12f" -SRC_URI[md5sum] = "e8dc8455e573bdc40b8381d572bbb89b" -SRC_URI[sha256sum] = "925eacd65dedcf9c98eb94e8978bbfb63f5de37294cc1047d81462ed477a20af" +S = "${WORKDIR}/git" -S = "${WORKDIR}/procps-ng-${PV}" +# Upstream has a custom autogen.sh which invokes po/update-potfiles as they +# don't ship a po/POTFILES.in (which is silly). Without that file gettext +# doesn't believe po/ is a gettext directory and won't generate po/Makefile. +do_configure_prepend() { + ( cd ${S} && po/update-potfiles ) +} EXTRA_OECONF = "--enable-skill --disable-modern-top" -- cgit v1.2.3-54-g00ecf