diff options
Diffstat (limited to 'recipes/freesmartphone/cornucopia.inc')
-rw-r--r-- | recipes/freesmartphone/cornucopia.inc | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/recipes/freesmartphone/cornucopia.inc b/recipes/freesmartphone/cornucopia.inc index c3bf018369..17da17cb08 100644 --- a/recipes/freesmartphone/cornucopia.inc +++ b/recipes/freesmartphone/cornucopia.inc @@ -2,14 +2,25 @@ DESCRIPTION = "The freesmartphone.org API reference implementation (FSO 2.0)" AUTHOR = "Team FSO" LICENSE = "LGPL" SECTION = "devel" -DEPENDS = "vala-native glib-2.0 dbus dbus-glib" -PV = "0.0.0.0+gitr${SRCREV}" +DEPENDS = "vala-native glib-2.0 dbus dbus-glib libfso-glib libgee" +DEPENDS += "${@['libfsoframework', ''][(bb.data.getVar('PN', d, 1) in 'libfsoframework libfsobasics misc-vapi'.split())]}" +PV = "invalid, please override" +INC_PR = "r0" SRC_URI = "${FREESMARTPHONE_GIT}/cornucopia;protocol=git;branch=master" S = "${WORKDIR}/git/${PN}" inherit autotools_stage pkgconfig vala -FILES_${PN} += "${sysconfdir} ${datadir}" -# ship vapi files -FILES_${PN}-dev += "${datadir}/vala" +FILES_${PN} += "\ + ${sysconfdir} \ + ${datadir}\${PN} \ + ${datadir}/dbus-1 \ + ${libdir}/cornucopia/modules/*/lib*.so \ +" +FILES_${PN}-dev += "\ + ${libdir}/cornucopia/modules/*/lib*.la \ +" +FILES_${PN}-dbg += "\ + ${libdir}/cornucopia/modules/*/.debug \ +" |