blob: a70d31fed075a24471f0f13d90bd8f72a94af090 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "GTK Performance tool"
2SECTION = "libs"
Andrew Geissler9aee5002022-03-30 16:27:02 +00003LICENSE = "LGPL-2.1-only"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05004LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
5
6SRC_URI = "http://prdownloads.sourceforge.net/${BPN}/${BPN}_${PV}.tar.gz \
Brad Bishop6e60e8b2018-02-01 10:27:11 -05007 file://Makevars \
8 file://0001-Include-stdlib.h-for-exit-API.patch \
9 file://0002-timing.c-Fix-format-security-errors.patch \
Brad Bishope42b3e32020-01-15 22:08:42 -050010 file://gettext.patch \
Andrew Geissler87f5cff2022-09-30 13:13:31 -050011 file://0001-main.c-Define-prototype-for-setup_appdata.patch \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050012 "
Patrick Williamsb48b7b42016-08-17 15:04:38 -050013
14SRC_URI[md5sum] = "4331dde4bb83865e15482885fcb0cc53"
15SRC_URI[sha256sum] = "9704344e732038eecbd007dd996a56293a6b027b5b76f3f036273a3fae1ab27b"
16
17DEPENDS = "gtk+"
18
19S = "${WORKDIR}/${BPN}"
20
Brad Bishop8410d612019-11-25 09:40:59 -050021inherit features_check autotools binconfig pkgconfig gettext
Brad Bishop316dfdd2018-06-25 12:45:53 -040022
23REQUIRED_DISTRO_FEATURES = "x11"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050024
Patrick Williams213cb262021-08-07 19:21:33 -050025do_configure:prepend () {
Patrick Williamsb48b7b42016-08-17 15:04:38 -050026 rm -f ${S}/m4/init.m4
27 cp -f ${WORKDIR}/Makevars ${S}/po/
28}
29
Patrick Williams213cb262021-08-07 19:21:33 -050030do_install:append () {
Patrick Williamsb48b7b42016-08-17 15:04:38 -050031 rm -rf ${D}/${exec_prefix}/doc
32}
33
Patrick Williams213cb262021-08-07 19:21:33 -050034FILES:${PN} += "${exec_prefix}/share/duck.png"