2018-03-28 00:38:01 +00:00
|
|
|
DESCRIPTION = ""
|
|
|
|
HOMEPAGE = ""
|
|
|
|
LICENSE = "MIT"
|
|
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
|
|
|
|
2019-04-02 19:43:00 +00:00
|
|
|
DEPENDS = "dconf-native"
|
|
|
|
|
2018-03-28 00:38:01 +00:00
|
|
|
S = "${WORKDIR}"
|
|
|
|
|
2019-04-02 19:43:00 +00:00
|
|
|
SRC_URI = "\
|
|
|
|
file://gsettings/90_citadel.gschema.override \
|
2021-02-12 15:10:39 +00:00
|
|
|
file://dconf/build.d/realms.d/initial-realm-dconf.conf \
|
|
|
|
file://dconf/build.d/citadel.d/citadel-dconf.conf \
|
2019-04-02 19:43:00 +00:00
|
|
|
"
|
2018-03-28 00:38:01 +00:00
|
|
|
|
|
|
|
inherit allarch gsettings
|
|
|
|
|
2019-04-02 19:43:00 +00:00
|
|
|
do_compile() {
|
|
|
|
mkdir -p ${WORKDIR}/dconf-output
|
2021-02-12 15:10:39 +00:00
|
|
|
# Build the binary dconf database which is installed by default into each new realm
|
|
|
|
dconf compile ${WORKDIR}/dconf-output/user ${S}/dconf/build.d/realms.d/
|
|
|
|
# Build the binary dconf database which is installed by default into /home/citadel
|
|
|
|
dconf compile ${WORKDIR}/dconf-output/citadel ${S}/dconf/build.d/citadel.d/
|
2019-04-02 19:43:00 +00:00
|
|
|
}
|
|
|
|
|
2018-03-28 00:38:01 +00:00
|
|
|
do_install() {
|
|
|
|
install -d ${D}${datadir}/glib-2.0/schemas
|
2019-04-02 19:43:00 +00:00
|
|
|
install -d ${D}${sysconfdir}/skel/.config/dconf
|
2021-05-05 12:45:55 +00:00
|
|
|
install -m 0755 -d ${D}${datadir}/factory/storage/citadel-state/citadel-dconf
|
2019-04-02 19:43:00 +00:00
|
|
|
|
2018-03-28 00:38:01 +00:00
|
|
|
install -m 644 ${S}/gsettings/90_citadel.gschema.override ${D}${datadir}/glib-2.0/schemas
|
2019-04-02 19:43:00 +00:00
|
|
|
install -m 644 ${WORKDIR}/dconf-output/user ${D}${sysconfdir}/skel/.config/dconf
|
2021-05-05 12:45:55 +00:00
|
|
|
install -m 644 ${WORKDIR}/dconf-output/citadel ${D}${datadir}/factory/storage/citadel-state/citadel-dconf/user
|
2018-03-28 00:38:01 +00:00
|
|
|
}
|
|
|
|
|
2022-05-28 15:20:07 +00:00
|
|
|
FILES:${PN} = "/"
|