blob: 3e8e2cdf77c606556f3e20419cf0abc8fcfa94b4 [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001require ${BPN}.inc
2
3DEPENDS = "zlib-native jpeg-native libpng-native libxext-native libxft-native"
4
Andrew Geissler8f840682023-07-21 09:09:43 -05005SRC_URI += "file://fltk-native-link-libdl.patch"
6
Brad Bishop6e60e8b2018-02-01 10:27:11 -05007inherit native
8
9EXTRA_OECMAKE += " \
10 -DOPTION_BUILD_SHARED_LIBS=OFF \
11 -DOPTION_USE_THREADS=OFF \
12 -DOPTION_USE_XDBE=OFF \
13 -DOPTION_USE_XFT=OFF \
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070014 -DFLTK_BUILD_TEST=OFF \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050015 -DOPTION_USE_XINERAMA=OFF \
16 -DOPTION_USE_XFIXES=OFF \
17 -DOPTION_USE_XCURSOR=OFF \
18"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050019
Patrick Williams213cb262021-08-07 19:21:33 -050020do_install:append() {
Brad Bishopd7bf8c12018-02-25 22:55:05 -050021 # make sure native fltk-config is not used accidentaly
22 rm -f ${D}${bindir}/fltk-config
23}