aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb
blob: a2ecf95d414cb4b46634be580ad66653f6d291c8 (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
33
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 \
           file://gettext.patch \
           "

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

DEPENDS = "gtk+"

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

inherit 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"