Files
Martin Jansa 50a61ea57a libreport: add dependency on libarchive
* it's often pulled by elfutils when debuginfod is in DISTRO_FEATURES, but
  when it isn't, it fails with:
  http://errors.yoctoproject.org/Errors/Details/702773/

  checking for libarchive... no
  configure: error: Package requirements (libarchive) were not met:
  No package 'libarchive' found

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-03 21:24:55 -07:00

52 lines
1.6 KiB
BlitzBasic

DESCRIPTION = "Libraries providing API for reporting different problems in applications \
to different bug targets like Bugzilla, ftp, trac, etc..."
SUMMARY = "Generic library for reporting various problems"
HOMEPAGE = "https://abrt.readthedocs.org/"
LICENSE = "GPL-2.0-or-later"
DEPENDS = "xmlrpc-c xmlrpc-c-native intltool-native \
json-c libarchive libtar libnewt libproxy rpm \
augeas satyr systemd \
"
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
SRC_URI = "git://github.com/abrt/libreport.git;protocol=https;branch=master"
SRC_URI += "file://0001-Makefile.am-remove-doc-and-apidoc.patch \
file://0002-configure.ac-remove-prog-test-of-xmlto-and-asciidoc.patch \
file://0003-without-build-plugins.patch \
file://0004-configure.ac-remove-prog-test-of-augparse.patch \
"
# 2.17.8
SRCREV = "46a99a14adba7276e5697b7c613d918796792345"
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
S = "${WORKDIR}/git"
inherit features_check
REQUIRED_DISTRO_FEATURES = "systemd"
inherit gettext autotools python3native python3targetconfig pkgconfig
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES','x11','gtk','',d)}"
PACKAGECONFIG[gtk] = "--with-gtk, --without-gtk, gtk+3,"
EXTRA_OECONF += "--with-python3"
RDEPENDS:python3-libreport += "${PN}"
do_patch[prefuncs] += "do_gen_version"
do_gen_version() {
cd ${S}
./gen-version
}
PACKAGES += "python3-libreport"
FILES:${PN} += "${datadir}/*"
FILES:${PN}-dbg += "${PYTHON_SITEPACKAGES_DIR}/*/.debug"
FILES:python3-libreport = "${PYTHON_SITEPACKAGES_DIR}/*"