aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb
blob: 4094513b2907672a4316e128f1062181e8471d9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
SUMMARY = "GTK Performance tool"
SECTION = "libs"
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"

SRC_URI = "http://prdownloads.sourceforge.net/${BPN}/${BPN}_${PV}.tar.gz \
           file://Makevars \
           file://0001-Include-stdlib.h-for-exit-API.patch \
           file://0002-timing.c-Fix-format-security-errors.patch \
           "

SRC_URI[md5sum] = "4331dde4bb83865e15482885fcb0cc53"
SRC_URI[sha256sum] = "9704344e732038eecbd007dd996a56293a6b027b5b76f3f036273a3fae1ab27b"

DEPENDS = "gtk+"

S = "${WORKDIR}/${BPN}"

inherit distro_features_check autotools binconfig pkgconfig gettext

REQUIRED_DISTRO_FEATURES = "x11"

do_configure_prepend () {
    rm -f ${S}/m4/init.m4
    cp -f ${WORKDIR}/Makevars ${S}/po/
}

do_install_append () {
    rm -rf ${D}/${exec_prefix}/doc
}

FILES_${PN} += "${exec_prefix}/share/duck.png"