summaryrefslogtreecommitdiff
path: root/recipes/opie-camera/opie-camera.inc
blob: 3a131b4873b215d4e921f1c4ee0c2b37375128bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
DESCRIPTION = "Opie Camera, Photo and Video Capturing Application for the Sharp CF-AG06 camera"
SECTION = "opie/applications"
PRIORITY = "optional"
LICENSE = "GPL"
RDEPENDS_${PN} = "sharp-camera-support"
APPNAME = "camera"
APPTYPE = "binary"

COMPATIBLE_MACHINE = "collie"

S = "${WORKDIR}/camera"

EXTRA_QMAKEVARS_POST += "LIBS+=-L.."
PARALLEL_MAKE = ""

inherit opie

do_install() {
    install -d ${D}${palmtopdir}/pics/${APPNAME}
    install -d ${D}${palmtopdir}/lib/
    oe_libinstall -so libcamera ${D}${palmtopdir}/lib
    install -m 0755 capture ${D}${palmtopdir}/bin/
    install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/
}