Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY = "Enables backwards compatibility with current desktop icon themes" |
| 2 | DESCRIPTION = "A Perl script used for maintaining backwards \ |
| 3 | compatibility with current desktop icon themes, while migrating to the \ |
| 4 | names specified in the Icon Naming Specification. The Icon Naming \ |
| 5 | Utilities map the icon names used by the GNOME and KDE desktops to the \ |
| 6 | icon names proposed in the Icon Naming Specification, and generate the \ |
| 7 | icon files appropriate to the desktop environment you use. The Icon \ |
| 8 | Naming Specification provides a standard list of common icon contexts \ |
| 9 | and names that can be used to make icon themes work in a desktop \ |
| 10 | environment or application that implements the naming specification. " |
| 11 | LICENSE = "GPLv2" |
| 12 | DEPENDS = "libxml-simple-perl-native" |
| 13 | PR = "r5" |
| 14 | |
| 15 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" |
| 16 | |
| 17 | SRC_URI = "http://tango.freedesktop.org/releases/icon-naming-utils-${PV}.tar.gz" |
| 18 | SRC_URI[md5sum] = "2c5c7a418e5eb3268f65e21993277fba" |
| 19 | SRC_URI[sha256sum] = "044ab2199ed8c6a55ce36fd4fcd8b8021a5e21f5bab028c0a7cdcf52a5902e1c" |
| 20 | |
| 21 | inherit autotools allarch perlnative |
| 22 | |
| 23 | do_configure_append() { |
| 24 | # Make sure we use our nativeperl wrapper. |
| 25 | sed -i -e "1s:#!.*:#!/usr/bin/env nativeperl:" ${S}/icon-name-mapping.pl.in |
| 26 | } |
| 27 | |
| 28 | FILES_${PN} += "${datadir}/dtds" |
| 29 | |
| 30 | BBCLASSEXTEND = "native" |