summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/mml-widget/gtkmathview_0.8.0.bb
blob: 9ee9e30352b40a4c4804a0a9434a9b5a5e871c38 (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
HOMEPAGE = "http://helm.cs.unibo.it/mml-widget/"
DEPENDS = "t1lib gtk+ popt libxslt-native libxml2"

LICENSE = "LGPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=6a6a8e020838b23406c81b19c1d46df6"

PR = "r3"
SRCREV = "0bc2cfa0a47aed2c8a63abd989cb8da4dcceb2ec"
PV = "0.8.0+git${SRCPV}"

SRC_URI = "git://github.com/GNOME/gtkmathview.git \
    file://use_hostcxx.patch \
    file://0001-include-cstdio-to-get-printf-definitions.patch \
    file://0002-configure.ac-header-detection-of-hash_map-is-broken-.patch \
    file://0003-gcc-6.0-build-fixes.patch \
    file://0001-Fix-formatting-for-modern-c-11-compilers.patch \
"

S = "${WORKDIR}/git"

inherit distro_features_check autotools pkgconfig

REQUIRED_DISTRO_FEATURES = "x11"

do_configure_append() {
    # avoid host polution inf pkg-config files
    sed -i "s:${STAGING_DIR_HOST}::g" `find -name '*.pc'`
}