Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | require ${BPN}.inc |
| 2 | |
| 3 | DEPENDS = "zlib-native jpeg-native libpng-native libxext-native libxft-native" |
| 4 | |
Andrew Geissler | 8f84068 | 2023-07-21 09:09:43 -0500 | [diff] [blame] | 5 | SRC_URI += "file://fltk-native-link-libdl.patch" |
| 6 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 7 | inherit native |
| 8 | |
| 9 | EXTRA_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 III | b95905d | 2021-06-02 12:40:56 -0700 | [diff] [blame] | 14 | -DFLTK_BUILD_TEST=OFF \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 15 | -DOPTION_USE_XINERAMA=OFF \ |
| 16 | -DOPTION_USE_XFIXES=OFF \ |
| 17 | -DOPTION_USE_XCURSOR=OFF \ |
| 18 | " |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 19 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 20 | do_install:append() { |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 21 | # make sure native fltk-config is not used accidentaly |
| 22 | rm -f ${D}${bindir}/fltk-config |
| 23 | } |