From e65bb68b3f05a763c89b55988919f219279d75b5 Mon Sep 17 00:00:00 2001
From: Richard Purdie <richard@openedhand.com>
Date: Fri, 17 Mar 2006 15:28:58 +0000
Subject: Add libart-lgpl

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@298 311d38ba-8fff-0310-9ca6-ca027cbcb966
---
 .../packages/gnome/libart-lgpl/Makefile.am.patch   | 13 ++++++++++
 .../packages/gnome/libart-lgpl/arm/art_config.h    | 10 ++++++++
 .../packages/gnome/libart-lgpl/i386/art_config.h   | 10 ++++++++
 .../packages/gnome/libart-lgpl/i586/art_config.h   | 10 ++++++++
 .../packages/gnome/libart-lgpl/i686/art_config.h   | 10 ++++++++
 openembedded/packages/gnome/libart-lgpl_2.3.16.bb  | 30 ++++++++++++++++++++++
 6 files changed, 83 insertions(+)
 create mode 100644 openembedded/packages/gnome/libart-lgpl/Makefile.am.patch
 create mode 100644 openembedded/packages/gnome/libart-lgpl/arm/art_config.h
 create mode 100644 openembedded/packages/gnome/libart-lgpl/i386/art_config.h
 create mode 100644 openembedded/packages/gnome/libart-lgpl/i586/art_config.h
 create mode 100644 openembedded/packages/gnome/libart-lgpl/i686/art_config.h
 create mode 100644 openembedded/packages/gnome/libart-lgpl_2.3.16.bb

(limited to 'openembedded')

diff --git a/openembedded/packages/gnome/libart-lgpl/Makefile.am.patch b/openembedded/packages/gnome/libart-lgpl/Makefile.am.patch
new file mode 100644
index 000000000..749de32e2
--- /dev/null
+++ b/openembedded/packages/gnome/libart-lgpl/Makefile.am.patch
@@ -0,0 +1,13 @@
+--- libart_lgpl-2.3.16/Makefile.am.old	2004-06-26 18:57:07.000000000 +0100
++++ libart_lgpl-2.3.16/Makefile.am	2004-06-26 18:57:12.000000000 +0100
+@@ -5,8 +5,8 @@
+ 
+ BUILT_SOURCES = art_config.h
+ 
+-art_config.h:	gen_art_config
+-	./gen_art_config > art_config.h
++#art_config.h:	gen_art_config
++#	./gen_art_config > art_config.h
+ 
+ EXTRA_DIST = 			\
+ 	libart-config.in	\
diff --git a/openembedded/packages/gnome/libart-lgpl/arm/art_config.h b/openembedded/packages/gnome/libart-lgpl/arm/art_config.h
new file mode 100644
index 000000000..b0e74ad6a
--- /dev/null
+++ b/openembedded/packages/gnome/libart-lgpl/arm/art_config.h
@@ -0,0 +1,10 @@
+/* Automatically generated by gen_art_config.c */
+
+#define ART_SIZEOF_CHAR 1
+#define ART_SIZEOF_SHORT 2
+#define ART_SIZEOF_INT 4
+#define ART_SIZEOF_LONG 4
+
+typedef unsigned char art_u8;
+typedef unsigned short art_u16;
+typedef unsigned int art_u32;
diff --git a/openembedded/packages/gnome/libart-lgpl/i386/art_config.h b/openembedded/packages/gnome/libart-lgpl/i386/art_config.h
new file mode 100644
index 000000000..b0e74ad6a
--- /dev/null
+++ b/openembedded/packages/gnome/libart-lgpl/i386/art_config.h
@@ -0,0 +1,10 @@
+/* Automatically generated by gen_art_config.c */
+
+#define ART_SIZEOF_CHAR 1
+#define ART_SIZEOF_SHORT 2
+#define ART_SIZEOF_INT 4
+#define ART_SIZEOF_LONG 4
+
+typedef unsigned char art_u8;
+typedef unsigned short art_u16;
+typedef unsigned int art_u32;
diff --git a/openembedded/packages/gnome/libart-lgpl/i586/art_config.h b/openembedded/packages/gnome/libart-lgpl/i586/art_config.h
new file mode 100644
index 000000000..b0e74ad6a
--- /dev/null
+++ b/openembedded/packages/gnome/libart-lgpl/i586/art_config.h
@@ -0,0 +1,10 @@
+/* Automatically generated by gen_art_config.c */
+
+#define ART_SIZEOF_CHAR 1
+#define ART_SIZEOF_SHORT 2
+#define ART_SIZEOF_INT 4
+#define ART_SIZEOF_LONG 4
+
+typedef unsigned char art_u8;
+typedef unsigned short art_u16;
+typedef unsigned int art_u32;
diff --git a/openembedded/packages/gnome/libart-lgpl/i686/art_config.h b/openembedded/packages/gnome/libart-lgpl/i686/art_config.h
new file mode 100644
index 000000000..b0e74ad6a
--- /dev/null
+++ b/openembedded/packages/gnome/libart-lgpl/i686/art_config.h
@@ -0,0 +1,10 @@
+/* Automatically generated by gen_art_config.c */
+
+#define ART_SIZEOF_CHAR 1
+#define ART_SIZEOF_SHORT 2
+#define ART_SIZEOF_INT 4
+#define ART_SIZEOF_LONG 4
+
+typedef unsigned char art_u8;
+typedef unsigned short art_u16;
+typedef unsigned int art_u32;
diff --git a/openembedded/packages/gnome/libart-lgpl_2.3.16.bb b/openembedded/packages/gnome/libart-lgpl_2.3.16.bb
new file mode 100644
index 000000000..8028c8ef3
--- /dev/null
+++ b/openembedded/packages/gnome/libart-lgpl_2.3.16.bb
@@ -0,0 +1,30 @@
+DESCRIPTION = "Library of functions for 2D graphics"
+SECTION = "x11/gnome"
+LICENSE = "LGPL"
+PR = "r2"
+ART_CONFIG = "${HOST_ARCH}/art_config.h"
+
+# can't use gnome.oeclass due to _ in filename
+SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libart_lgpl/2.3/libart_lgpl-${PV}.tar.bz2 \
+       file://${ART_CONFIG} \
+       file://Makefile.am.patch;patch=1"
+
+inherit autotools pkgconfig
+
+DEPENDS = ""
+
+FILES_${PN} = "${libdir}/*.so.*"
+FILES_${PN}-dev += "${bindir}/libart2-config"
+
+S = "${WORKDIR}/libart_lgpl-${PV}"
+
+do_configure_prepend() {
+	cp ${WORKDIR}/${ART_CONFIG} ${S}/art_config.h
+}
+
+EXTRA_OECONF = "--disable-gtk-doc"
+
+do_stage() {
+	autotools_stage_includes
+	oe_libinstall -a -so libart_lgpl_2 ${STAGING_LIBDIR}
+}
-- 
cgit v1.2.3