author | Michael Krelin <hacker@klever.net> | 2007-07-11 21:35:47 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-11 21:35:47 (UTC) |
commit | 91493dcfa5dccce18b12f34f7f208c7825c81e2a (patch) (unidiff) | |
tree | f89f483c6ae36c7843d23107d767f5597b861fc5 | |
download | oe-master.zip oe-master.tar.gz oe-master.tar.bz2 |
-rw-r--r-- | packages/kdepimpi/kdepimpi-x11_git.bb | 50 |
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 @@ | |||
1 | DESCRIPTION = "qt4-x11 port of kdepmipi" | ||
2 | SECTION = "x11/applications" | ||
3 | PRIORITY = "optional" | ||
4 | LICENSE = "GPL" | ||
5 | |||
6 | SRCTAG="p2" | ||
7 | PV = "2.2.8+git+${SRCTAG}" | ||
8 | PR = "r2" | ||
9 | |||
10 | SRC_URI = "git://git.klever.net/patchwork/kdepimpi.git;protocol=git;tag=${SRCTAG}" | ||
11 | S = "${WORKDIR}/git" | ||
12 | |||
13 | inherit qmake-base qt4x11 | ||
14 | |||
15 | do_configure() { | ||
16 | ${OE_QMAKE_QMAKE} -recursive kdepim-desktop.pro QMAKE_UIC3="${OE_QMAKE_UIC3}" | ||
17 | } | ||
18 | PARALLEL_MAKE='' | ||
19 | do_compile() { | ||
20 | oe_runmake | ||
21 | } | ||
22 | do_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 | |||
39 | PACKAGES = "${PN}-kapi ${PN}-kopi ${PN}-pwmpi \ | ||
40 | ${PN}-libxmicrokabc \ | ||
41 | ${PN}-libxmicrokcal ${PN}-libxmicrokde ${PN}-libxmicrokdepim ${PN}-libxmicrolibetpan" | ||
42 | |||
43 | FILES_${PN}-kapi = "${bindir}/kapi ${libdir}/kdepimpi/kaddressbook ${datadir}/applications/kaddressbook.desktop" | ||
44 | FILES_${PN}-kopi = "${bindir}/kopi ${libdir}/kdepimpi/korganizer ${datadir}/applications/korganizer.desktop" | ||
45 | FILES_${PN}-pwmpi = "${bindir}/pwmpi ${libdir}/kdepimpi/pwmanager ${datadir}/applications/pwmanager.desktop" | ||
46 | FILES_${PN}-libxmicrokabc = "${libdir}/libxmicrokabc.so.*" | ||
47 | FILES_${PN}-libxmicrokcal = "${libdir}/libxmicrokcal.so.*" | ||
48 | FILES_${PN}-libxmicrokde = "${libdir}/libxmicrokde.so.*" | ||
49 | FILES_${PN}-libxmicrokdepim = "${libdir}/libxmicrokdepim.so.*" | ||
50 | FILES_${PN}-libxmicrolibetpan = "${libdir}/libxmicrolibetpan.so.*" | ||