summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--packages/kdepimpi/kdepimpi-x11_git.bb50
1 files changed, 50 insertions, 0 deletions
diff --git a/packages/kdepimpi/kdepimpi-x11_git.bb b/packages/kdepimpi/kdepimpi-x11_git.bb
new file mode 100644
index 0000000..dd8f74e
--- a/dev/null
+++ b/packages/kdepimpi/kdepimpi-x11_git.bb
@@ -0,0 +1,50 @@
1DESCRIPTION = "qt4-x11 port of kdepmipi"
2SECTION = "x11/applications"
3PRIORITY = "optional"
4LICENSE = "GPL"
5
6SRCTAG="p2"
7PV = "2.2.8+git+${SRCTAG}"
8PR = "r2"
9
10SRC_URI = "git://git.klever.net/patchwork/kdepimpi.git;protocol=git;tag=${SRCTAG}"
11S = "${WORKDIR}/git"
12
13inherit qmake-base qt4x11
14
15do_configure() {
16 ${OE_QMAKE_QMAKE} -recursive kdepim-desktop.pro QMAKE_UIC3="${OE_QMAKE_UIC3}"
17}
18PARALLEL_MAKE=''
19do_compile() {
20 oe_runmake
21}
22do_install() {
23 install -d ${D}${bindir}
24 install -m 0755 ${S}/bin/{kapi,kopi,pwmpi} ${D}${bindir}/
25 install -d ${D}${libdir}/
26 cp -Rpd ${S}/bin/libxmicro{gammu,kabc,kcal,kde,kdepim,libetpan}.so.* ${D}${libdir}/
27 install -d ${D}${libdir}/kdepimpi
28 cp -Rpd ${S}/bin/kdepim/{kaddressbook,korganizer,pwmanager} ${D}${libdir}/kdepimpi/
29 install -m 755 ${S}/bin/libxmicrokabc_{dir,file,qtopia}.so ${D}${libdir}/kdepimpi/kaddressbook/
30 install -d ${D}/${datadir}/applications
31 for de in ${S}/{korganizer/korganizer,kaddressbook/kaddressbook,pwmanager/pwmanager/pwmanager}.desktop ; do
32 bn="$(basename "$de")"
33 sed <$de \
34 -e '/^CanFastLoad/d' -e 's,^Icon *= *kdepim/\(.*\),Icon = ${libdir}/kdepimpi/\1,g' \
35 >${D}${datadir}/applications/${bn}
36 done
37}
38
39PACKAGES = "${PN}-kapi ${PN}-kopi ${PN}-pwmpi \
40 ${PN}-libxmicrokabc \
41 ${PN}-libxmicrokcal ${PN}-libxmicrokde ${PN}-libxmicrokdepim ${PN}-libxmicrolibetpan"
42
43FILES_${PN}-kapi = "${bindir}/kapi ${libdir}/kdepimpi/kaddressbook ${datadir}/applications/kaddressbook.desktop"
44FILES_${PN}-kopi = "${bindir}/kopi ${libdir}/kdepimpi/korganizer ${datadir}/applications/korganizer.desktop"
45FILES_${PN}-pwmpi = "${bindir}/pwmpi ${libdir}/kdepimpi/pwmanager ${datadir}/applications/pwmanager.desktop"
46FILES_${PN}-libxmicrokabc = "${libdir}/libxmicrokabc.so.*"
47FILES_${PN}-libxmicrokcal = "${libdir}/libxmicrokcal.so.*"
48FILES_${PN}-libxmicrokde = "${libdir}/libxmicrokde.so.*"
49FILES_${PN}-libxmicrokdepim = "${libdir}/libxmicrokdepim.so.*"
50FILES_${PN}-libxmicrolibetpan = "${libdir}/libxmicrolibetpan.so.*"