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=89c347225ca17d00a2b8c87dd657db63cd214aca;hb=0ae556a7d1f70144f17cac2fa2b0966fcf5ed564;hpb=473137ecb7d939ec712cc432f446336592aef893 diff --git a/recipes/pandora-system/pandora-libpnd.bb b/recipes/pandora-system/pandora-libpnd.bb index 89c3472..7616a20 100755 --- a/recipes/pandora-system/pandora-libpnd.bb +++ b/recipes/pandora-system/pandora-libpnd.bb @@ -1,32 +1,30 @@ DESCRIPTION = "Support for the PND format in Pandora images (lib, daemon, init script etc.)" LICENSE = "lGPL" -PR = "r15" +PR = "r80" PARALLEL_MAKE = "" DEPENDS = "virtual/libsdl libsdl-image libsdl-gfx libsdl-ttf" SRC_URI = " \ - git://openpandora.org/pandora-libraries.git;protocol=git;branch=master \ + git://git.openpandora.org/pandora-libraries.git;protocol=git;branch=master \ file://rc.pndnotifyd \ file://rc.pndevmapperd \ file://op_pnd_run.desktop \ " -SRCREV = "d5f15991dcbd0c3ab9437064473a4bb0f50f36a2" +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 @@ -69,14 +68,16 @@ do_install() { install -d ${D}${prefix}/pandora/ install -d ${D}${prefix}/pandora/apps/ - install -d ${D}${prefix}/pandora/scripts/ + install -d ${D}${prefix}/pandora/scripts/ install -m 0755 ${S}/deployment/usr/pandora/scripts/* ${D}${prefix}/pandora/scripts install -m 0755 ${S}/testdata/scripts/* ${D}${prefix}/pandora/scripts 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"