<commit_before>DESCRIPTION = "Icon theme from the Elementary project"
SECTION = "x11/icons"
HOMEPAGE = "http://www.elementary-project.com/"

inherit gtk-icon-cache

# We have to get the icons from a mirror (LaunchPad) as DeviantArt has a download 
# wrapper to stop simple HTTP gets :(.

SRC_URI = " \
  http://launchpad.net/elementaryicons/2.0/2.3/+download/elementary-monochrome.tar.gz;name=mono \
  http://launchpad.net/elementaryicons/2.0/2.3/+download/elementary.tar.gz;name=regular \
"

SRC_URI[mono.md5sum] = "986a2475e9953450b37912d154bb325d"
SRC_URI[mono.sha256sum] = "da461bd70b2fda633f26aa7495e1efc5d97815661799566f0a8accaea411272f"

SRC_URI[regular.md5sum] = "674a88984f55170c17298863f72dd34d"
SRC_URI[regular.sha256sum] = "f7cacfd0e4d3c9ea1c84b29a4f2c75fa1066d6c7f9b41ca0b96ae033c23992a6"

S = "${WORKDIR}"

do_install() {
	install -d ${D}${datadir}/icons/elementary/
	install -d ${D}${datadir}/icons/elementary-monochrome/

	cp -R ${S}/elementary/* ${D}${datadir}/icons/elementary/
	cp -R ${S}/elementary-monochrome/* ${D}${datadir}/icons/elementary-monochrome/
}

FILES_${PN} = "${datadir}/icons/elementary*"
RDEPENDS_${PN} += "gnome-icon-theme"<commit_msg>elementary-icon-theme: Switch to subdir= in SRC_URI<commit_after>DESCRIPTION = "Icon theme from the Elementary project"
SECTION = "x11/icons"
HOMEPAGE = "http://www.elementary-project.com/"

inherit gtk-icon-cache

# We have to get the icons from a mirror (LaunchPad) as DeviantArt has a download 
# wrapper to stop simple HTTP gets :(.

SRC_URI = " \
  http://launchpad.net/elementaryicons/2.0/2.3/+download/elementary-monochrome.tar.gz;name=mono;subdir=${BPN}-${PV} \
  http://launchpad.net/elementaryicons/2.0/2.3/+download/elementary.tar.gz;name=regular;subdir=${BPN}-${PV} \
"

SRC_URI[mono.md5sum] = "986a2475e9953450b37912d154bb325d"
SRC_URI[mono.sha256sum] = "da461bd70b2fda633f26aa7495e1efc5d97815661799566f0a8accaea411272f"

SRC_URI[regular.md5sum] = "674a88984f55170c17298863f72dd34d"
SRC_URI[regular.sha256sum] = "f7cacfd0e4d3c9ea1c84b29a4f2c75fa1066d6c7f9b41ca0b96ae033c23992a6"

do_install() {
	install -d ${D}${datadir}/icons/elementary/
	install -d ${D}${datadir}/icons/elementary-monochrome/

	cp -R ${S}/elementary/* ${D}${datadir}/icons/elementary/
	cp -R ${S}/elementary-monochrome/* ${D}${datadir}/icons/elementary-monochrome/
}

FILES_${PN} = "${datadir}/icons/elementary*"
RDEPENDS_${PN} += "gnome-icon-theme"
{'fraction_non_alphanumeric': 0.15474209650582363, 'fraction_numerical': 0.11813643926788686, 'mean_word_length': 5.832386363636363, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1453683', 'n_tokens_mistral': 1171, 'n_tokens_neox': 1018, 'n_words': 134}