diff options
Diffstat (limited to 'meta-oe/recipes-extended/libreport/libreport_2.17.15.bb')
-rw-r--r-- | meta-oe/recipes-extended/libreport/libreport_2.17.15.bb | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/libreport/libreport_2.17.15.bb b/meta-oe/recipes-extended/libreport/libreport_2.17.15.bb new file mode 100644 index 000000000..28c64a161 --- /dev/null +++ b/meta-oe/recipes-extended/libreport/libreport_2.17.15.bb | |||
@@ -0,0 +1,49 @@ | |||
1 | DESCRIPTION = "Libraries providing API for reporting different problems in applications \ | ||
2 | to different bug targets like Bugzilla, ftp, trac, etc..." | ||
3 | SUMMARY = "Generic library for reporting various problems" | ||
4 | HOMEPAGE = "https://abrt.readthedocs.org/" | ||
5 | LICENSE = "GPL-2.0-or-later" | ||
6 | DEPENDS = "xmlrpc-c xmlrpc-c-native intltool-native \ | ||
7 | json-c libarchive libtar libnewt libproxy rpm \ | ||
8 | augeas satyr systemd \ | ||
9 | " | ||
10 | |||
11 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | ||
12 | |||
13 | SRC_URI = "git://github.com/abrt/libreport.git;protocol=https;branch=master" | ||
14 | SRC_URI += "file://0001-Makefile.am-remove-doc-and-apidoc.patch \ | ||
15 | file://0002-configure.ac-remove-prog-test-of-xmlto-and-asciidoc.patch \ | ||
16 | file://0003-without-build-plugins.patch \ | ||
17 | file://0004-configure.ac-remove-prog-test-of-augparse.patch \ | ||
18 | " | ||
19 | |||
20 | SRCREV = "f6bb06a699617d078fcd4f8b71b4d063bf47b52b" | ||
21 | |||
22 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)" | ||
23 | |||
24 | S = "${WORKDIR}/git" | ||
25 | |||
26 | inherit features_check | ||
27 | REQUIRED_DISTRO_FEATURES = "systemd" | ||
28 | |||
29 | inherit gettext autotools python3native python3targetconfig pkgconfig | ||
30 | |||
31 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES','x11','gtk','',d)}" | ||
32 | PACKAGECONFIG[gtk] = "--with-gtk, --without-gtk, gtk+3," | ||
33 | |||
34 | EXTRA_OECONF += "--with-python3" | ||
35 | |||
36 | RDEPENDS:python3-libreport += "${PN}" | ||
37 | |||
38 | do_patch[prefuncs] += "do_gen_version" | ||
39 | do_gen_version() { | ||
40 | cd ${S} | ||
41 | ./gen-version | ||
42 | } | ||
43 | |||
44 | PACKAGES += "python3-libreport" | ||
45 | |||
46 | FILES:${PN} += "${datadir}/*" | ||
47 | FILES:${PN}-dbg += "${PYTHON_SITEPACKAGES_DIR}/*/.debug" | ||
48 | FILES:python3-libreport = "${PYTHON_SITEPACKAGES_DIR}/*" | ||
49 | |||