libart-lgpl: add (from oe-core)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Ross Burton 2015-04-14 14:06:25 +01:00 committed by Martin Jansa
parent ff3c52f44d
commit 91fd102139
17 changed files with 195 additions and 0 deletions

View File

@ -0,0 +1,17 @@
Upstream-Status: Inappropriate [configuration]
Index: libart_lgpl-2.3.21/Makefile.am
===================================================================
--- libart_lgpl-2.3.21.orig/Makefile.am 2009-04-18 05:29:25.000000000 -0700
+++ libart_lgpl-2.3.21/Makefile.am 2010-11-23 23:12:32.445450075 -0800
@@ -7,8 +7,8 @@
BUILT_SOURCES = art_config.h
-art_config.h:
- ./gen_art_config.sh > art_config.h
+#art_config.h:
+# ./gen_art_config.sh > art_config.h
EXTRA_DIST = \
libart.def \

View File

@ -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 8
typedef unsigned char art_u8;
typedef unsigned short art_u16;
typedef unsigned int art_u32;

View File

@ -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 8
typedef unsigned char art_u8;
typedef unsigned short art_u16;
typedef unsigned int art_u32;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -0,0 +1,10 @@
/* Automatically generated by gen_art_config */
#define ART_SIZEOF_CHAR 1
#define ART_SIZEOF_SHORT 2
#define ART_SIZEOF_INT 4
#define ART_SIZEOF_LONG 8
typedef unsigned char art_u8;
typedef unsigned short art_u16;
typedef unsigned int art_u32;

View File

@ -0,0 +1,10 @@
/* Automatically generated by gen_art_config */
#define ART_SIZEOF_CHAR 1
#define ART_SIZEOF_SHORT 2
#define ART_SIZEOF_INT 4
#define ART_SIZEOF_LONG 8
typedef unsigned char art_u8;
typedef unsigned short art_u16;
typedef unsigned int art_u32;

View File

@ -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;

View File

@ -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;

View File

@ -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 8
typedef unsigned char art_u8;
typedef unsigned short art_u16;
typedef unsigned int art_u32;

View File

@ -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 8
typedef unsigned char art_u8;
typedef unsigned short art_u16;
typedef unsigned int art_u32;

View File

@ -0,0 +1,28 @@
SUMMARY = "Library of functions for 2D graphics"
SECTION = "x11/gnome"
LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7"
PR = "r2"
ART_CONFIG = "${HOST_ARCH}/art_config.h"
# can't use gnome.oeclass due to _ in filename
SRC_URI = "${GNOME_MIRROR}/libart_lgpl/2.3/libart_lgpl-${PV}.tar.bz2 \
file://${ART_CONFIG} \
file://Makefile.am.patch"
SRC_URI[md5sum] = "08559ff3c67fd95d57b0c5e91a6b4302"
SRC_URI[sha256sum] = "fdc11e74c10fc9ffe4188537e2b370c0abacca7d89021d4d303afdf7fd7476fa"
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
}