mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
2f04ee22e1
Drop 0005-remove-python2-support.patch and use option `--with-python2/3' to replace. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
50 lines
1.5 KiB
BlitzBasic
50 lines
1.5 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 = "GPLv2+"
|
|
DEPENDS = "xmlrpc-c xmlrpc-c-native intltool-native \
|
|
json-c libtar libnewt libproxy rpm \
|
|
augeas satyr systemd \
|
|
"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
|
|
|
|
|
|
SRC_URI = "git://github.com/abrt/libreport.git;protocol=https"
|
|
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 \
|
|
"
|
|
SRCREV = "15f92bcaf73e5eb8958fbde655a57dcd111757a7"
|
|
|
|
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit distro_features_check
|
|
REQUIRED_DISTRO_FEATURES = "systemd"
|
|
|
|
inherit gettext autotools python3native pkgconfig
|
|
|
|
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES','x11','gtk','',d)}"
|
|
PACKAGECONFIG[gtk] = "--with-gtk, --without-gtk, gtk+3,"
|
|
|
|
EXTRA_OECONF += "--without-python2 --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}/*"
|
|
|