Signed-off-by: Alexander Kanavin <[email protected]> --- .../gnome-icon-theme/files/pkgconfig-native.patch | 28 ++++++++++++++++++++++ .../gnome-icon-theme/gnome-icon-theme_2.31.0.bb | 22 +++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 meta-gnome/recipes-gnome/gnome-icon-theme/files/pkgconfig-native.patch create mode 100644 meta-gnome/recipes-gnome/gnome-icon-theme/gnome-icon-theme_2.31.0.bb
diff --git a/meta-gnome/recipes-gnome/gnome-icon-theme/files/pkgconfig-native.patch b/meta-gnome/recipes-gnome/gnome-icon-theme/files/pkgconfig-native.patch new file mode 100644 index 0000000..6139eab --- /dev/null +++ b/meta-gnome/recipes-gnome/gnome-icon-theme/files/pkgconfig-native.patch @@ -0,0 +1,28 @@ +icon-naming-utils is a native dependency so we need to use the native pkg-config +to find it. Simply perform the old switcheroonie on $PKG_CONFIG so +pkg-config-native is used temporarily. + +Upstream-Status: Inappropriate (OE-specific) +Signed-off-by: Ross Burton <[email protected]> + +diff --git a/configure.ac b/configure.ac +index 6074f2c..3d38e49 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -40,6 +40,8 @@ if test "x$enable_mapping" != "xno"; then + UTILS_REQUIRED=0.8.7 + + AC_MSG_CHECKING([icon-naming-utils >= $UTILS_REQUIRED]) ++ save_PKG_CONFIG=$PKG_CONFIG ++ PKG_CONFIG=pkg-config-native + PKG_CHECK_EXISTS(icon-naming-utils >= $UTILS_REQUIRED, + have_utils=yes, have_utils=no) + if test "x$have_utils" = "xyes"; then +@@ -51,6 +53,7 @@ if test "x$enable_mapping" != "xno"; then + AC_MSG_ERROR([icon-naming-utils >= $UTILS_REQUIRED is required to build + and install gnome-icon-theme]) + fi ++ PKG_CONFIG=save_PKG_CONFIG + else + ICONMAP="false" + fi diff --git a/meta-gnome/recipes-gnome/gnome-icon-theme/gnome-icon-theme_2.31.0.bb b/meta-gnome/recipes-gnome/gnome-icon-theme/gnome-icon-theme_2.31.0.bb new file mode 100644 index 0000000..a6a3afa --- /dev/null +++ b/meta-gnome/recipes-gnome/gnome-icon-theme/gnome-icon-theme_2.31.0.bb @@ -0,0 +1,22 @@ +SUMMARY = "GNOME 2 default icon themes" +HOMEPAGE = "http://www.gnome.org/" +BUGTRACKER = "https://bugzilla.gnome.org/" +SECTION = "x11/gnome" + +LICENSE = "LGPLv3+ | CC-BY-SA-3.0" +LIC_FILES_CHKSUM = "file://COPYING;md5=e7e289d90fc8bdceed5e3f142f98229e" + +PR = "r5" + +DEPENDS = "icon-naming-utils-native intltool-native libxml-simple-perl-native" + +inherit allarch autotools perlnative gtk-icon-cache pkgconfig gettext + +SRC_URI = "${GNOME_MIRROR}/${BPN}/2.31/${BPN}-${PV}.tar.bz2 \ + file://pkgconfig-native.patch" + +SRC_URI[md5sum] = "8e727703343d4c18c73c79dd2009f8ed" +SRC_URI[sha256sum] = "ea7e05b77ead159379392b3b275ca0c9cbacd7d936014e447cc7c5e27a767982" + +FILES_${PN} += "${datadir}/*" +RRECOMMENDS_${PN} += "librsvg-gtk" -- 2.1.4 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
