Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 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 = "GPLv2+" |
| 6 | DEPENDS = "xmlrpc-c xmlrpc-c-native intltool-native \ |
| 7 | json-c libtar libnewt libproxy rpm \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 8 | augeas satyr systemd \ |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 9 | " |
| 10 | |
| 11 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" |
| 12 | |
| 13 | |
| 14 | SRC_URI = "git://github.com/abrt/libreport.git;protocol=https" |
| 15 | SRC_URI += "file://0001-Makefile.am-remove-doc-and-apidoc.patch \ |
| 16 | file://0002-configure.ac-remove-prog-test-of-xmlto-and-asciidoc.patch \ |
| 17 | file://0003-without-build-plugins.patch \ |
| 18 | file://0004-configure.ac-remove-prog-test-of-augparse.patch \ |
| 19 | file://0005-remove-python2-support.patch \ |
| 20 | " |
| 21 | SRCREV = "cfff49f06d9d17e269d463ee71b3d94c8bfb0c58" |
| 22 | S = "${WORKDIR}/git" |
| 23 | |
| 24 | inherit distro_features_check |
| 25 | REQUIRED_DISTRO_FEATURES = "systemd" |
| 26 | |
| 27 | inherit gettext autotools python3native pkgconfig |
| 28 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 29 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES','x11','gtk','',d)}" |
| 30 | PACKAGECONFIG[gtk] = "--with-gtk, --without-gtk, gtk+3," |
| 31 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 32 | RDEPENDS_python3-libreport += "${PN}" |
| 33 | |
| 34 | do_patch[prefuncs] += "do_gen_version" |
| 35 | do_gen_version() { |
| 36 | cd ${S} |
| 37 | ./gen-version |
| 38 | } |
| 39 | |
| 40 | PACKAGES += "python3-libreport" |
| 41 | |
| 42 | FILES_${PN} += "${datadir}/*" |
| 43 | FILES_${PN}-dbg += "${PYTHON_SITEPACKAGES_DIR}/*/.debug" |
| 44 | FILES_python3-libreport = "${PYTHON_SITEPACKAGES_DIR}/*" |
| 45 | |