/
baloo.bb
64 lines (55 loc) · 2.04 KB
/
baloo.bb
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
SUMMARY = "Baloo provides searching and indexing infrastucture with an emphasis on files"
LICENSE = "BSD-3-Clause & bzip2-1.0.6 & GPL-2.0-only & GPL-2.0-or-later & GPL-3.0-only & LGPL-2.0-or-later & LGPL-2.1-only & LGPL-2.1-or-later & LGPL-3.0-only"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=954f4d71a37096249f837652a7f586c0 \
file://LICENSES/bzip2-1.0.6.txt;md5=f1d2fdc6b1d232981a8007aa1854d24d \
file://LICENSES/GPL-2.0-only.txt;md5=93e64b4a83c7e441e48bbdeeea05c977 \
file://LICENSES/GPL-2.0-or-later.txt;md5=fed54355545ffd980b814dab4a3b312c \
file://LICENSES/GPL-3.0-only.txt;md5=1c76c4cc354acaac30ed4d5eefea7245 \
file://LICENSES/LGPL-2.0-or-later.txt;md5=6d2d9952d88b50a51a5c73dc431d06c7 \
file://LICENSES/LGPL-2.1-only.txt;md5=fabba2a3bfeb22a6483d44e9ae824d3f \
file://LICENSES/LGPL-2.1-or-later.txt;md5=2a4f4fd2128ea2f65047ee63fbca9f68 \
file://LICENSES/LGPL-3.0-only.txt;md5=c51d3eef3be114124d11349ca0d7e117 \
"
inherit kde-kf5 gtk-icon-cache
DEPENDS += " \
ki18n \
kconfig \
kconfig-native \
kauth-native \
kidletime \
kcrash \
solid \
kio \
kdbusaddons \
kitemmodels \
kfilemetadata \
kcoreaddons-native \
\
xapian-core \
"
PV = "${KF5_VERSION}"
SRC_URI[sha256sum] = "00fb769b32eec159368b1eed31a7bfdd2bae3ce37a81d044a8ab2d2a9406ff6a"
SRC_URI += " \
file://baloo_file.desktop \
"
do_configure:append() {
# remove absolute paths from exported cmake files
for f in `find ${B} -name '*Targets*.cmake'`; do
sed -i 's:${RECIPE_SYSROOT}${prefix}:${_IMPORT_PREFIX}:g' $f
done
}
do_install:append() {
install -d ${D}/${sysconfdir}/skel/.config/autostart
install -m 0644 ${WORKDIR}/baloo_file.desktop ${D}/${sysconfdir}/skel/.config/autostart/
}
PACKAGES =+ "${PN}-no-autostart"
FILES:${PN} += " \
${systemd_user_unitdir} \
${datadir}/dbus-1 \
${datadir}/icons \
${datadir}/kservices5 \
${OE_QMAKE_PATH_QML}/org/kde/baloo \
${OE_QMAKE_PATH_PLUGINS} \
"
FILES:${PN}-no-autostart = "${sysconfdir}/skel/.config/autostart"