citadel/meta-citadel/recipes-citadel/citadel-config/citadel-config-gnome.bb

37 lines
1.3 KiB
BlitzBasic
Raw Normal View History

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 \
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
# 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
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
install -m 644 ${WORKDIR}/dconf-output/citadel ${D}${datadir}/factory/storage/citadel-state/citadel-dconf/user
2018-03-28 00:38:01 +00:00
}
FILES_${PN} = "/"