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 +} +