blob: 1b60c470d15b23eb9ba7ede1515a8f7847e517c8 (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
SUMMARY = "PackageKit package management abstraction"
SECTION = "libs"
LICENSE = "GPL-2.0+"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
DEPENDS = "gtk+ python polkit dbus dbus-glib glib-2.0 sqlite3 opkg intltool intltool-native"
RDEPENDS_${PN} = "opkg bash"
inherit gnome pythonnative
SRC_URI = "http://www.freedesktop.org/software/PackageKit/releases/PackageKit-${PV}.tar.bz2;name=archive \
file://configurefix.patch \
file://opkgfixes.patch \
file://0001-Don-t-call-deprecated-glib-functions-and-use-the-new.patch \
"
SRC_URI[archive.md5sum] = "33a3127e9ed41e26671786aee9fe56ff"
SRC_URI[archive.sha256sum] = "8dae41493dfb011442746d252b3435bf3204e17bf7c47e396f90fbd215260e14"
S = "${WORKDIR}/PackageKit-${PV}"
PACKAGECONFIG ??= ""
PACKAGECONFIG[service-packs] = "--enable-service-packs,--disable-service-packs,libarchive"
EXTRA_OECONF = "--with-security-framework=dummy \
--with-default-backend=opkg \
--enable-opkg \
--disable-tests \
--disable-ruck \
--disable-qt \
--disable-gstreamer-plugin \
--disable-local \
--disable-networkmanager \
--disable-device-rebind \
ac_cv_path_XMLTO=no \
"
#do_configure_prepend() {
# mkdir -p m4
# echo "EXTRA_DIST=" > gtk-doc.make
#}
do_configure_append() {
for i in $(find . -name Makefile) ; do
sed -i -e s:${STAGING_DIR_NATIVE}::g \
-e s:/usr/bin/intltool-merge:${STAGING_BINDIR_NATIVE}/intltool-merge:g \
$i
done
}
PACKAGES =+ "${PN}-website"
FILES_${PN}-website = "${datadir}/PackageKit/website"
PACKAGES =+ "${PN}-python"
FILES_${PN}-python = "${libdir}/python*"
PACKAGES =+ "${PN}-gtkmodule"
FILES_${PN}-gtkmodule = "${libdir}/gtk-2.0/*/*.so"
FILES_${PN} += "${libdir}/packagekit-backend/*.so ${libdir}/pm-utils ${datadir}/dbus-1/system-services/ ${datadir}/PolicyKit ${datadir}/PackageKit"
FILES_${PN}-dbg += "${libdir}/packagekit-backend/.debug/*.so ${libdir}/gtk-2.0/*/.debug"
FILES_${PN}-dev += "${libdir}/packagekit-backend/*.la ${libdir}/gtk-2.0/*/*.la"
FILES_${PN}-staticdev += "${libdir}/packagekit-backend/*.a ${libdir}/gtk-2.0/*/*.a"
# PackageKit-0.5.6/backends/opkg/pk-backend-opkg.c:31:26: fatal error: libopkg/opkg.h: No such file or directory
PNBLACKLIST[packagekit] ?= "BROKEN: depends on old deprecated libopkg which is currently disabled and will be removed soon - the recipe will be removed on 2017-09-01 unless the issue is fixed"
|