2018-03-27 20:38:01 -04:00
|
|
|
DESCRIPTION = ""
|
|
|
|
HOMEPAGE = ""
|
|
|
|
LICENSE = "MIT"
|
|
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
|
|
|
|
2019-04-02 15:43:00 -04:00
|
|
|
DEPENDS = "dconf-native"
|
|
|
|
|
2018-03-27 20:38:01 -04:00
|
|
|
S = "${WORKDIR}"
|
|
|
|
|
2019-04-02 15:43:00 -04:00
|
|
|
SRC_URI = "\
|
|
|
|
file://gsettings/90_citadel.gschema.override \
|
2024-05-08 11:05:58 -04:00
|
|
|
file://gsettings/com.subgraph.RealmConfig.gschema.xml \
|
2021-02-12 10:10:39 -05:00
|
|
|
file://dconf/build.d/realms.d/initial-realm-dconf.conf \
|
|
|
|
file://dconf/build.d/citadel.d/citadel-dconf.conf \
|
2019-04-02 15:43:00 -04:00
|
|
|
"
|
2018-03-27 20:38:01 -04:00
|
|
|
|
|
|
|
inherit allarch gsettings
|
|
|
|
|
2019-04-02 15:43:00 -04:00
|
|
|
do_compile() {
|
|
|
|
mkdir -p ${WORKDIR}/dconf-output
|
2021-02-12 10:10:39 -05: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 15:43:00 -04:00
|
|
|
}
|
|
|
|
|
2018-03-27 20:38:01 -04:00
|
|
|
do_install() {
|
|
|
|
install -d ${D}${datadir}/glib-2.0/schemas
|
2019-04-02 15:43:00 -04:00
|
|
|
install -d ${D}${sysconfdir}/skel/.config/dconf
|
2021-05-05 08:45:55 -04:00
|
|
|
install -m 0755 -d ${D}${datadir}/factory/storage/citadel-state/citadel-dconf
|
2019-04-02 15:43:00 -04:00
|
|
|
|
2018-03-27 20:38:01 -04:00
|
|
|
install -m 644 ${S}/gsettings/90_citadel.gschema.override ${D}${datadir}/glib-2.0/schemas
|
2024-05-08 11:05:58 -04:00
|
|
|
install -m 644 ${S}/gsettings/com.subgraph.RealmConfig.gschema.xml ${D}${datadir}/glib-2.0/schemas
|
2019-04-02 15:43:00 -04:00
|
|
|
install -m 644 ${WORKDIR}/dconf-output/user ${D}${sysconfdir}/skel/.config/dconf
|
2021-05-05 08:45:55 -04:00
|
|
|
install -m 644 ${WORKDIR}/dconf-output/citadel ${D}${datadir}/factory/storage/citadel-state/citadel-dconf/user
|
2018-03-27 20:38:01 -04:00
|
|
|
}
|
|
|
|
|
2022-05-28 11:20:07 -04:00
|
|
|
FILES:${PN} = "/"
|