diff options
Diffstat (limited to 'import-layers/meta-openembedded/meta-oe/recipes-support/fltk/fltk.bb')
-rw-r--r-- | import-layers/meta-openembedded/meta-oe/recipes-support/fltk/fltk.bb | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/import-layers/meta-openembedded/meta-oe/recipes-support/fltk/fltk.bb b/import-layers/meta-openembedded/meta-oe/recipes-support/fltk/fltk.bb index 619d1420a..ec9e04bed 100644 --- a/import-layers/meta-openembedded/meta-oe/recipes-support/fltk/fltk.bb +++ b/import-layers/meta-openembedded/meta-oe/recipes-support/fltk/fltk.bb @@ -2,7 +2,10 @@ require ${BPN}.inc DEPENDS = "alsa-lib zlib jpeg libpng libxext libxft" -inherit binconfig lib_package gtk-icon-cache mime +inherit distro_features_check binconfig lib_package gtk-icon-cache mime +REQUIRED_DISTRO_FEATURES = "x11" + +SRC_URI += "file://0003-CMake-build-Force-shared-libs-with-unsuffixed-names.patch" EXTRA_OECMAKE = " \ -DOPTION_BUILD_SHARED_LIBS=ON \ @@ -15,6 +18,7 @@ EXTRA_OECMAKE = " \ PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}" PACKAGECONFIG[examples] = "-DOPTION_BUILD_EXAMPLES=ON,-DOPTION_BUILD_EXAMPLES=OFF," +PACKAGECONFIG[cairo] = "-DOPTION_CAIRO=ON,-DOPTION_CAIRO=OFF,cairo" PACKAGECONFIG[opengl] = "-DOPTION_USE_GL=ON,-DOPTION_USE_GL=OFF,virtual/libgl" PACKAGECONFIG[xinerama] = "-DOPTION_USE_XINERAMA=ON,-DOPTION_USE_XINERAMA=OFF,libxinerama" PACKAGECONFIG[xfixes] = "-DOPTION_USE_XFIXES=ON,-DOPTION_USE_XFIXES=OFF,libxfixes" @@ -31,4 +35,12 @@ python populate_packages_prepend () { LEAD_SONAME = "libfltk.so" -FILES_${PN} += "${datadir}/mime" +# .desktop / icons / mime only necessary for fluid app +FILES_${PN}-bin += " \ + ${datadir}/applications \ + ${datadir}/icons \ + ${datadir}/mime \ +" + +# cmake files +FILES_${PN}-dev += "${datadir}/fltk" |