diff options
Diffstat (limited to 'meta/packages/xorg-lib/libx11_6.2.1.bb')
-rw-r--r-- | meta/packages/xorg-lib/libx11_6.2.1.bb | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/meta/packages/xorg-lib/libx11_6.2.1.bb b/meta/packages/xorg-lib/libx11_6.2.1.bb new file mode 100644 index 0000000000..ce57c42f7f --- /dev/null +++ b/meta/packages/xorg-lib/libx11_6.2.1.bb | |||
@@ -0,0 +1,41 @@ | |||
1 | SECTION = "x11/libs" | ||
2 | LICENSE = "XFree86" | ||
3 | PRIORITY = "optional" | ||
4 | MAINTAINER = "Greg Gilbert <greg@treke.net>" | ||
5 | DEPENDS = "xproto xextensions libxau xtrans libxdmcp" | ||
6 | PROVIDES = "virtual/libx11" | ||
7 | RPROVIDES = "virtual/libx11" | ||
8 | DESCRIPTION = "Base X libs." | ||
9 | FILES_${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB" | ||
10 | FILES_${PN}-locale += "${datadir}/X11/locale" | ||
11 | PR = "r4" | ||
12 | |||
13 | SRC_URI = "${XLIBS_MIRROR}/libX11-${PV}.tar.bz2 \ | ||
14 | file://errordb-keysymdb-path-fix.patch;patch=1 \ | ||
15 | file://autofoo.patch;patch=1" | ||
16 | S = "${WORKDIR}/libX11-${PV}" | ||
17 | |||
18 | inherit autotools pkgconfig | ||
19 | |||
20 | do_compile() { | ||
21 | ( | ||
22 | unset CC LD CXX CCLD | ||
23 | # unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS | ||
24 | oe_runmake -C src/util 'CFLAGS= -D_GNU_SOURCE' 'LDFLAGS=' 'CXXFLAGS=' 'CPPFLAGS=' makekeys | ||
25 | ) | ||
26 | oe_runmake | ||
27 | } | ||
28 | |||
29 | do_stage() { | ||
30 | install -c -m 644 include/X11/XKBlib.h ${STAGING_INCDIR}/X11/XKBlib.h | ||
31 | install -c -m 644 include/X11/Xcms.h ${STAGING_INCDIR}/X11/Xcms.h | ||
32 | install -c -m 644 include/X11/Xlib.h ${STAGING_INCDIR}/X11/Xlib.h | ||
33 | install -c -m 644 include/X11/Xlibint.h ${STAGING_INCDIR}/X11/Xlibint.h | ||
34 | install -c -m 644 include/X11/Xlocale.h ${STAGING_INCDIR}/X11/Xlocale.h | ||
35 | install -c -m 644 include/X11/Xresource.h ${STAGING_INCDIR}/X11/Xresource.h | ||
36 | install -c -m 644 include/X11/Xutil.h ${STAGING_INCDIR}/X11/Xutil.h | ||
37 | install -c -m 644 include/X11/cursorfont.h ${STAGING_INCDIR}/X11/cursorfont.h | ||
38 | install -c -m 644 include/X11/region.h ${STAGING_INCDIR}/X11/region.h | ||
39 | |||
40 | oe_libinstall -a -so -C src libX11 ${STAGING_LIBDIR} | ||
41 | } | ||