X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=openpandora.oe.git;a=blobdiff_plain;f=recipes%2Fpandora-system%2Fpandora-libpnd.bb;h=7616a20a26a1bc01918ce69f6479eac1ef3c47d2;hp=3b06711f1e52c06336db3dbb9caf021a03f42214;hb=0ae556a7d1f70144f17cac2fa2b0966fcf5ed564;hpb=f0311e3ccd0daf0f12be3b8730cf2755ddb1ea2a diff --git a/recipes/pandora-system/pandora-libpnd.bb b/recipes/pandora-system/pandora-libpnd.bb index 3b06711..7616a20 100755 --- a/recipes/pandora-system/pandora-libpnd.bb +++ b/recipes/pandora-system/pandora-libpnd.bb @@ -1,7 +1,7 @@ DESCRIPTION = "Support for the PND format in Pandora images (lib, daemon, init script etc.)" LICENSE = "lGPL" -PR = "r55" +PR = "r80" PARALLEL_MAKE = "" @@ -14,19 +14,17 @@ SRC_URI = " \ file://op_pnd_run.desktop \ " -SRCREV = "5d906b85757ca445f84899067062fed7346f89f2" +SRCREV = "21e05fa823097b0ae86f5290bd3d70b824e14196" S = "${WORKDIR}/git" inherit update-rc.d TARGET_CC_ARCH += "${LDFLAGS}" -TARGET_CFLAGS += "-Wall -I./include -I${STAGING_INCDIR}/usr/include -I${STAGING_INCDIR}/SDL " +TARGET_CFLAGS += "-Wall -I./include -I${STAGING_INCDIR}/usr/include -I${STAGING_INCDIR}/SDL -D_FILE_OFFSET_BITS=64 " PACKAGES =+ "${PN}-pndnotifyd ${PN}-pndevmapperd ${PN}-minimenu" -RDEPENDS_${PN} += "${PN}-pndnotifyd ${PN}-pndevmapperd ${PN}-minimenu" - INITSCRIPT_PACKAGES = "${PN}-pndnotifyd ${PN}-pndevmapperd" INITSCRIPT_NAME_${PN}-pndnotifyd = "pndnotifyd-init" @@ -35,8 +33,10 @@ INITSCRIPT_PARAMS_${PN}-pndnotifyd = "start 30 5 3 . stop 40 0 1 6 ." INITSCRIPT_NAME_${PN}-pndevmapperd = "pndevmapperd-init" INITSCRIPT_PARAMS_${PN}-pndevmapperd = "start 30 5 3 . stop 40 0 1 6 ." -RDEPENDS_${PN}-pndnotifyd += "${PN}" -RDEPENDS_${PN}-pndevmapperd += "${PN}" +# not needed - done by OE +#RDEPENDS_${PN}-pndnotifyd += "${PN}" +#RDEPENDS_${PN}-pndevmapperd += "${PN}" +#RDEPENDS_${PN}-minimenu += "${PN}" do_compile_prepend() { cd ${S}/ @@ -56,8 +56,7 @@ do_install() { install -m 0644 ${S}/deployment/etc/pandora/conf/mmenu.conf ${D}${sysconfdir}/pandora/conf/mmenu.conf install -d ${D}${libdir}/ - install -m 0644 ${S}/deployment/usr/lib/libpnd* ${D}${libdir}/ - install -m 0644 ${S}/deployment/usr/lib/libpnd.so.1.0.1 ${D}${libdir}/libpnd.so.1 + oe_libinstall -C ${S}/deployment/usr/lib/ libpnd ${D}/${libdir}/ install -d ${D}${bindir}/ install -m 0755 ${S}/deployment/usr/bin/pndnotifyd ${D}${bindir}/pndnotifyd @@ -76,7 +75,9 @@ do_install() { install -d ${D}${sysconfdir}/pandora/mmenu/ install -d ${D}${sysconfdir}/pandora/mmenu/skins/ install -d ${D}${sysconfdir}/pandora/mmenu/skins/default/ + install -d ${D}${sysconfdir}/pandora/mmenu/skins/clean/ install -m 0755 ${S}/deployment/etc/pandora/mmenu/skins/default/* ${D}${sysconfdir}/pandora/mmenu/skins/default + install -m 0755 ${S}/deployment/etc/pandora/mmenu/skins/clean/* ${D}${sysconfdir}/pandora/mmenu/skins/clean install -d ${D}${sysconfdir}/init.d/ install -m 0755 ${WORKDIR}/rc.pndnotifyd ${D}${sysconfdir}/init.d/pndnotifyd-init @@ -102,3 +103,7 @@ FILES_${PN}-doc += "${libdir}/libpnd.txt " # Mop up remaining files. FILES_${PN} += "${bindir} ${sbindir} ${prefix}/pandora/*" + +CONFFILES_${PN} += ${sysconfdir}/pandora/conf/eventmap + +NATIVE_INSTALL_WORKS = "1"