summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/fltk/fltk-native.bb
blob: 322a28430fc4fd7694826a26f344c0c2cf810a9b (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
require ${BPN}.inc

DEPENDS = "zlib-native jpeg-native libpng-native libxext-native libxft-native"

SRC_URI += "file://fltk-native-link-libdl.patch"

UPSTREAM_CHECK_URI = "https://www.fltk.org/software.php"

inherit native

EXTRA_OECMAKE += " \
    -DOPTION_BUILD_SHARED_LIBS=OFF \
    -DOPTION_USE_THREADS=OFF \
    -DOPTION_USE_XDBE=OFF \
    -DOPTION_USE_XFT=OFF \
    -DFLTK_BUILD_TEST=OFF \
    -DOPTION_USE_XINERAMA=OFF \
    -DOPTION_USE_XFIXES=OFF \
    -DOPTION_USE_XCURSOR=OFF \
"

do_install:append() {
    # make sure native fltk-config is not used accidentaly
    rm -f ${D}${bindir}/fltk-config
}