diff options
author | Richard Purdie <richard@openedhand.com> | 2006-03-17 15:28:58 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-03-17 15:28:58 +0000 |
commit | e65bb68b3f05a763c89b55988919f219279d75b5 (patch) | |
tree | be7445988909a414f432869f6c51504d393f72f9 /openembedded/packages | |
parent | a3d76d6de4cf4497f05a3243894cb37d3be9241c (diff) | |
download | openembedded-core-e65bb68b3f05a763c89b55988919f219279d75b5.tar.gz openembedded-core-e65bb68b3f05a763c89b55988919f219279d75b5.tar.bz2 openembedded-core-e65bb68b3f05a763c89b55988919f219279d75b5.zip |
Add libart-lgpl
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@298 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages')
6 files changed, 83 insertions, 0 deletions
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 0000000000..749de32e2a --- /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 0000000000..b0e74ad6ae --- /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 0000000000..b0e74ad6ae --- /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 0000000000..b0e74ad6ae --- /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 0000000000..b0e74ad6ae --- /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 0000000000..8028c8ef3f --- /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} +} |