DESCRIPTION = "Support for the PND format in Pandora images (lib, daemon, init script etc.)"
LICENSE = "lGPL"
-PR = "r36"
+PR = "r78"
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 = "23d9f33beb0ab00741f2fc1771ff8fe0811e00d4"
+SRCREV = "7dac5b011cf5f91d05e8e5caae61660c996774ac"
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"
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}/
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
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
# Mop up remaining files.
FILES_${PN} += "${bindir} ${sbindir} ${prefix}/pandora/*"
+
+CONFFILES_${PN} += ${sysconfdir}/pandora/conf/eventmap
+
+NATIVE_INSTALL_WORKS = "1"