From 5755f77984c8186f5aa9c6ea99a551ebc90f603c Mon Sep 17 00:00:00 2001 From: David McKinney Date: Fri, 20 Jul 2018 17:13:12 -0400 Subject: [PATCH] Setup icons/default/index.theme to inherit Paper cursor theme, closes #12 --- .../recipes-desktop/paper-icon-theme/files/index.theme | 3 +++ .../paper-icon-theme/paper-icon-theme_1.3.bb | 10 +++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 meta-citadel/recipes-desktop/paper-icon-theme/files/index.theme diff --git a/meta-citadel/recipes-desktop/paper-icon-theme/files/index.theme b/meta-citadel/recipes-desktop/paper-icon-theme/files/index.theme new file mode 100644 index 0000000..c673636 --- /dev/null +++ b/meta-citadel/recipes-desktop/paper-icon-theme/files/index.theme @@ -0,0 +1,3 @@ +[Icon Theme] +Inherits=Paper + diff --git a/meta-citadel/recipes-desktop/paper-icon-theme/paper-icon-theme_1.3.bb b/meta-citadel/recipes-desktop/paper-icon-theme/paper-icon-theme_1.3.bb index 456a5ff..9f4e6c6 100644 --- a/meta-citadel/recipes-desktop/paper-icon-theme/paper-icon-theme_1.3.bb +++ b/meta-citadel/recipes-desktop/paper-icon-theme/paper-icon-theme_1.3.bb @@ -3,7 +3,9 @@ LICENSE = "CC-BY-SA-4.0" LIC_FILES_CHKSUM = "file://COPYING;md5=8335471e369a410f354d5179fdcf0195 \ file://LICENSE;md5=4a312f184ff2ceafe9466cbb7ea43f4e" -SRC_URI = "https://github.com/snwh/paper-icon-theme/archive/v1.4.0.tar.gz;downloadfilename=paper-icon-theme-${PV}.tar.gz" +SRC_URI = "https://github.com/snwh/paper-icon-theme/archive/v1.4.0.tar.gz;downloadfilename=paper-icon-theme-${PV}.tar.gz \ + file://index.theme \ + " SRC_URI[md5sum] = "076e1dfa1bc5928f4c6616ffd933926a" SRC_URI[sha256sum] = "b90f3a84634572bcba76cdd0c2a0d305a5c521c2054d3d390edffda5f233928b" @@ -15,3 +17,9 @@ FILES_${PN} = "${datadir}/icons" EXTRA_OECONF = "" +# Add an index.theme to /usr/share/icons/default that inherits Paper cursors +do_install_append() { + mkdir -p ${D}${datadir}/icons/default + install -m 644 ${WORKDIR}/index.theme ${D}${datadir}/icons/default/index.theme +} +