Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 1 | HOMEPAGE = "http://tango.freedesktop.org/" |
| 2 | SUMMARY = "Enables backwards compatibility with current desktop icon themes" |
| 3 | DESCRIPTION = "A Perl script used for maintaining backwards \ |
| 4 | compatibility with current desktop icon themes, while migrating to the \ |
| 5 | names specified in the Icon Naming Specification. The Icon Naming \ |
| 6 | Utilities map the icon names used by the GNOME and KDE desktops to the \ |
| 7 | icon names proposed in the Icon Naming Specification, and generate the \ |
| 8 | icon files appropriate to the desktop environment you use. The Icon \ |
| 9 | Naming Specification provides a standard list of common icon contexts \ |
| 10 | and names that can be used to make icon themes work in a desktop \ |
| 11 | environment or application that implements the naming specification. " |
| 12 | LICENSE = "GPL-2.0-only" |
| 13 | DEPENDS = "libxml-simple-perl-native" |
| 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[sha256sum] = "044ab2199ed8c6a55ce36fd4fcd8b8021a5e21f5bab028c0a7cdcf52a5902e1c" |
| 19 | |
| 20 | inherit autotools allarch perlnative |
| 21 | |
| 22 | do_configure:append() { |
| 23 | # Make sure we use our nativeperl wrapper. |
| 24 | sed -i -e "1s:#!.*:#!/usr/bin/env nativeperl:" ${S}/icon-name-mapping.pl.in |
| 25 | } |
| 26 | |
| 27 | FILES:${PN} += "${datadir}/dtds" |
| 28 | |
| 29 | BBCLASSEXTEND = "native" |