blob: 15b44ed25c3af0edf7ee235bc7579d492b812f20 (
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
|
SUMMARY = "Configuration files for the Weston compositors for DRM lease testing"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
SRC_URI = " \
file://weston.ini.ivi \
file://weston.ini.cluster \
"
S = "${WORKDIR}"
inherit allarch update-alternatives
# On-target weston.ini directory
weston_ini_dir = "${sysconfdir}/xdg/weston"
do_install() {
install -d ${D}${weston_ini_dir}
install -m 0644 ${WORKDIR}/weston.ini.ivi ${D}${weston_ini_dir}/
install -m 0644 ${WORKDIR}/weston.ini.cluster ${D}${weston_ini_dir}/
}
ALTERNATIVE_LINK_NAME[weston.ini] = "${weston_ini_dir}/weston.ini"
RDEPENDS:${PN} = "${BPN}-ivi"
ALLOW_EMPTY:${PN} = "1"
PACKAGE_BEFORE_PN += "${PN}-ivi"
FILES:${PN}-ivi = "${weston_ini_dir}/weston.ini.ivi"
RPROVIDES:${PN}-ivi = "weston-ini"
ALTERNATIVE:${PN}-ivi = "weston.ini"
ALTERNATIVE_TARGET_${PN}-ivi = "${weston_ini_dir}/weston.ini.ivi"
PACKAGE_BEFORE_PN += "${PN}-cluster"
FILES:${PN}-cluster = "${weston_ini_dir}/weston.ini.cluster"
RPROVIDES:${PN}-cluster = "weston-ini"
RCONFLICTS:${PN}-cluster = "${PN}-ivi"
ALTERNATIVE:${PN}-cluster = "weston.ini"
ALTERNATIVE_TARGET_${PN}-cluster = "${weston_ini_dir}/weston.ini.cluster"
|