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 | poky-e65bb68b3f05a763c89b55988919f219279d75b5.tar.gz |
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 @@ | |||
1 | --- libart_lgpl-2.3.16/Makefile.am.old 2004-06-26 18:57:07.000000000 +0100 | ||
2 | +++ libart_lgpl-2.3.16/Makefile.am 2004-06-26 18:57:12.000000000 +0100 | ||
3 | @@ -5,8 +5,8 @@ | ||
4 | |||
5 | BUILT_SOURCES = art_config.h | ||
6 | |||
7 | -art_config.h: gen_art_config | ||
8 | - ./gen_art_config > art_config.h | ||
9 | +#art_config.h: gen_art_config | ||
10 | +# ./gen_art_config > art_config.h | ||
11 | |||
12 | EXTRA_DIST = \ | ||
13 | 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 @@ | |||
1 | /* Automatically generated by gen_art_config.c */ | ||
2 | |||
3 | #define ART_SIZEOF_CHAR 1 | ||
4 | #define ART_SIZEOF_SHORT 2 | ||
5 | #define ART_SIZEOF_INT 4 | ||
6 | #define ART_SIZEOF_LONG 4 | ||
7 | |||
8 | typedef unsigned char art_u8; | ||
9 | typedef unsigned short art_u16; | ||
10 | 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 @@ | |||
1 | /* Automatically generated by gen_art_config.c */ | ||
2 | |||
3 | #define ART_SIZEOF_CHAR 1 | ||
4 | #define ART_SIZEOF_SHORT 2 | ||
5 | #define ART_SIZEOF_INT 4 | ||
6 | #define ART_SIZEOF_LONG 4 | ||
7 | |||
8 | typedef unsigned char art_u8; | ||
9 | typedef unsigned short art_u16; | ||
10 | 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 @@ | |||
1 | /* Automatically generated by gen_art_config.c */ | ||
2 | |||
3 | #define ART_SIZEOF_CHAR 1 | ||
4 | #define ART_SIZEOF_SHORT 2 | ||
5 | #define ART_SIZEOF_INT 4 | ||
6 | #define ART_SIZEOF_LONG 4 | ||
7 | |||
8 | typedef unsigned char art_u8; | ||
9 | typedef unsigned short art_u16; | ||
10 | 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 @@ | |||
1 | /* Automatically generated by gen_art_config.c */ | ||
2 | |||
3 | #define ART_SIZEOF_CHAR 1 | ||
4 | #define ART_SIZEOF_SHORT 2 | ||
5 | #define ART_SIZEOF_INT 4 | ||
6 | #define ART_SIZEOF_LONG 4 | ||
7 | |||
8 | typedef unsigned char art_u8; | ||
9 | typedef unsigned short art_u16; | ||
10 | 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 @@ | |||
1 | DESCRIPTION = "Library of functions for 2D graphics" | ||
2 | SECTION = "x11/gnome" | ||
3 | LICENSE = "LGPL" | ||
4 | PR = "r2" | ||
5 | ART_CONFIG = "${HOST_ARCH}/art_config.h" | ||
6 | |||
7 | # can't use gnome.oeclass due to _ in filename | ||
8 | SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libart_lgpl/2.3/libart_lgpl-${PV}.tar.bz2 \ | ||
9 | file://${ART_CONFIG} \ | ||
10 | file://Makefile.am.patch;patch=1" | ||
11 | |||
12 | inherit autotools pkgconfig | ||
13 | |||
14 | DEPENDS = "" | ||
15 | |||
16 | FILES_${PN} = "${libdir}/*.so.*" | ||
17 | FILES_${PN}-dev += "${bindir}/libart2-config" | ||
18 | |||
19 | S = "${WORKDIR}/libart_lgpl-${PV}" | ||
20 | |||
21 | do_configure_prepend() { | ||
22 | cp ${WORKDIR}/${ART_CONFIG} ${S}/art_config.h | ||
23 | } | ||
24 | |||
25 | EXTRA_OECONF = "--disable-gtk-doc" | ||
26 | |||
27 | do_stage() { | ||
28 | autotools_stage_includes | ||
29 | oe_libinstall -a -so libart_lgpl_2 ${STAGING_LIBDIR} | ||
30 | } | ||