summaryrefslogtreecommitdiff
path: root/recipes/packagekit/packagekit_0.2.4.bb
blob: 1b7f7805a9f1aec227211741ae62389debaba097 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
DESCRIPTION = "PackageKit package management abstraction"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "GPL"
DEPENDS = "dbus (>= 1.1.1) dbus-glib glib-2.0 sqlite3 ${IPKG_VARIANT} intltool intltool-native (>= 0.37.1)"
RDEPENDS_${PN} = "${IPKG_VARIANT}"

PE = "1"
PR = "r1"

SRC_URI = "http://www.packagekit.org/releases/PackageKit-${PV}.tar.gz \
           file://disable-docbook2man.patch;apply=yes \
           file://repository-ping.patch;apply=yes \
           file://force_depends.patch;apply=yes \
           file://racing_condition.patch;apply=yes \
           "


S = "${WORKDIR}/PackageKit-${PV}"

inherit autotools pkgconfig

EXTRA_OECONF = "--with-security-framework=dummy \
                --with-default-backend=opkg \
                --enable-opkg \
                ac_cv_path_XMLTO=no \
                "


do_configure_prepend() {
        echo "EXTRA_DIST=" > gtk-doc.make
        sed -i -e s:0\.1\.5:0\.1\.6:g configure.ac
}

do_stage () {
        autotools_stage_all
}

FILES_${PN} += "${libdir}/packagekit-backend/*.so ${datadir}/dbus-1/system-services/"
FILES_${PN}-dbg += "${libdir}/packagekit-backend/.debug/*.so "

SRC_URI[md5sum] = "87bf41fd021077c93549d47de6d5fe07"
SRC_URI[sha256sum] = "3b1a6f451928ca7e36d25e6e5a2e3dec2adae11c20770406f8bdc484f38b1600"