1*eb8dc403SDave CobbleyDESCRIPTION = "An icon theme for Gnome" 2*eb8dc403SDave CobbleySECTION = "x11/wm" 3*eb8dc403SDave CobbleyLICENSE = "GPLv3" 4*eb8dc403SDave CobbleyHOMEPAGE = "http://code.google.com/p/faenza-icon-theme/" 5*eb8dc403SDave CobbleyLIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 6*eb8dc403SDave Cobbley 7*eb8dc403SDave Cobbleyinherit allarch gtk-icon-cache 8*eb8dc403SDave Cobbley 9*eb8dc403SDave CobbleyS = "${WORKDIR}" 10*eb8dc403SDave Cobbley 11*eb8dc403SDave CobbleySRC_URI = "http://faenza-icon-theme.googlecode.com/files/${PN}_${PV}.zip" 12*eb8dc403SDave CobbleySRC_URI[md5sum] = "e9bd6106d13017ce06d24b586259ae9c" 13*eb8dc403SDave CobbleySRC_URI[sha256sum] = "d4486fda0413f8a81a87e0dd2329f50f2a8a7cb4147b48cf147f0160add8174a" 14*eb8dc403SDave Cobbley 15*eb8dc403SDave Cobbleydo_install() { 16*eb8dc403SDave Cobbley install -d ${D}${datadir}/icons 17*eb8dc403SDave Cobbley for theme in `find -name 'Faenza*.tar.gz'`; do 18*eb8dc403SDave Cobbley tar -xf ${theme} -C ${D}${datadir}/icons 19*eb8dc403SDave Cobbley done 20*eb8dc403SDave Cobbley tar -xf emesene-faenza-theme.tar.gz -C ${D}${datadir} 21*eb8dc403SDave Cobbley mv -f ${D}${datadir}/emesene/themes ${D}${datadir}/themes 22*eb8dc403SDave Cobbley rm -rf ${D}${datadir}/emesene 23*eb8dc403SDave Cobbley chown -R root:root ${D}${datadir} 24*eb8dc403SDave Cobbley} 25*eb8dc403SDave Cobbley 26*eb8dc403SDave CobbleyFILES_${PN} += "${datadir}/icons ${datadir}/themes" 27