diff options
Diffstat (limited to 'meta/recipes-sato/sato-icon-theme')
-rw-r--r-- | meta/recipes-sato/sato-icon-theme/icon-naming-utils_0.8.90.bb | 29 | ||||
-rw-r--r-- | meta/recipes-sato/sato-icon-theme/sato-icon-theme_git.bb | 29 |
2 files changed, 58 insertions, 0 deletions
diff --git a/meta/recipes-sato/sato-icon-theme/icon-naming-utils_0.8.90.bb b/meta/recipes-sato/sato-icon-theme/icon-naming-utils_0.8.90.bb new file mode 100644 index 0000000000..5502b66905 --- /dev/null +++ b/meta/recipes-sato/sato-icon-theme/icon-naming-utils_0.8.90.bb @@ -0,0 +1,29 @@ +HOMEPAGE = "http://tango.freedesktop.org/" +SUMMARY = "Enables backwards compatibility with current desktop icon themes" +DESCRIPTION = "A Perl script used for maintaining backwards \ +compatibility with current desktop icon themes, while migrating to the \ +names specified in the Icon Naming Specification. The Icon Naming \ +Utilities map the icon names used by the GNOME and KDE desktops to the \ +icon names proposed in the Icon Naming Specification, and generate the \ +icon files appropriate to the desktop environment you use. The Icon \ +Naming Specification provides a standard list of common icon contexts \ +and names that can be used to make icon themes work in a desktop \ +environment or application that implements the naming specification. " +LICENSE = "GPL-2.0-only" +DEPENDS = "libxml-simple-perl-native" + +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" + +SRC_URI = "${DEBIAN_MIRROR}/main/i/icon-naming-utils/icon-naming-utils_${PV}.orig.tar.gz" +SRC_URI[sha256sum] = "044ab2199ed8c6a55ce36fd4fcd8b8021a5e21f5bab028c0a7cdcf52a5902e1c" + +inherit autotools allarch perlnative + +do_configure:append() { + # Make sure we use our nativeperl wrapper. + sed -i -e "1s:#!.*:#!/usr/bin/env nativeperl:" ${S}/icon-name-mapping.pl.in +} + +FILES:${PN} += "${datadir}/dtds" + +BBCLASSEXTEND = "native" diff --git a/meta/recipes-sato/sato-icon-theme/sato-icon-theme_git.bb b/meta/recipes-sato/sato-icon-theme/sato-icon-theme_git.bb new file mode 100644 index 0000000000..1ebbf010f3 --- /dev/null +++ b/meta/recipes-sato/sato-icon-theme/sato-icon-theme_git.bb @@ -0,0 +1,29 @@ +SUMMARY = "Sato icon theme" +HOMEPAGE = "https://www.yoctoproject.org/" +BUGTRACKER = "http://bugzilla.yoctoproject.org/" + +LICENSE = "CC-BY-SA-3.0" +LIC_FILES_CHKSUM = "file://COPYING;md5=56a830bbe6e4697fe6cbbae01bb7c2b2" +SECTION = "x11" + +DEPENDS = "icon-naming-utils-native libxml-simple-perl-native" + +SRC_URI = "git://git.yoctoproject.org/sato-icon-theme.git;protocol=https;branch=master" +SRCREV = "d23f04ecb0328f655bf195df8eb04c1b734d53a9" +UPSTREAM_CHECK_COMMITS = "1" + +S = "${WORKDIR}/git" + +inherit autotools pkgconfig allarch gtk-icon-cache perlnative + +# The configure script uses pkg-config to find native binaries to execute, so +# tell it to use our pkg-config-native wrapper. +export PKG_CONFIG = "pkg-config-native" + +FILES:${PN} += "${datadir}/icons/Sato" + +do_install:append() { + find ${D}${datadir}/icons/Sato/ -maxdepth 1 -type d -exec ln -s preferences-system.png {}/apps/preferences-desktop.png \; + find ${D}${datadir}/icons/Sato/ -maxdepth 1 -type d -exec ln -s file-manager.png {}/apps/system-file-manager.png \; + find ${D}${datadir}/icons/Sato/ -maxdepth 1 -type d -exec ln -s ../apps/terminal.png {}/places/computer.png \; +} |