[oe-commits] Alexander Kanavin : gnome-icon-theme: add a recipe from oe-core

git at git.openembedded.org git at git.openembedded.org
Mon Sep 14 09:45:01 UTC 2015


Module: meta-openembedded.git
Branch: master-next
Commit: 3ee8796e56c3d42463e0cf5e2b2eadb5b72ce01f
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=3ee8796e56c3d42463e0cf5e2b2eadb5b72ce01f

Author: Alexander Kanavin <alexander.kanavin at linux.intel.com>
Date:   Tue Sep  8 11:24:19 2015 +0300

gnome-icon-theme: add a recipe from oe-core

Signed-off-by: Alexander Kanavin <alexander.kanavin at linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 .../gnome-icon-theme/files/pkgconfig-native.patch  | 28 ++++++++++++++++++++++
 .../gnome-icon-theme/gnome-icon-theme_2.31.0.bb    | 22 +++++++++++++++++
 2 files changed, 50 insertions(+)

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 <ross.burton at intel.com>
+
+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"



More information about the Openembedded-commits mailing list