Magellan Linux

Contents of /trunk/extras/libxcb/libxcb-1.11-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 22593 - (show annotations) (download)
Fri Oct 24 12:04:03 2014 UTC (9 years, 8 months ago) by niro
File size: 1139 byte(s)
-libpthread-stubs are runtime required too
1 # $Id$
2
3 PNAME="libxcb"
4 PVER="1.11"
5 PBUILD="r4"
6
7 PCAT="x11-libs"
8
9 DESCRIPTION="X protocol C-language Binding (XCB) library."
10 HOMEPAGE="http://xcb.freedesktop.org/"
11
12 sminclude xorg multilib
13
14 # xcb-proto,libpthread-stubs runtime dep to satisfy builds against libxcb
15 DEPEND=">= x11-proto/xcb-proto-1.11
16 >= dev-libs/libpthread-stubs-0.1
17 >= x11-libs/libXau-1
18 >= x11-libs/libXdmcp-1.1"
19
20 SDEPEND=">= dev-libs/libxslt-1.1.26"
21
22 if mqueryfeature "check"
23 then
24 # make check needs libcheck
25 SDEPEND+="
26 >= dev-util/check-0.9"
27 fi
28
29 SRC_URI=(
30 http://xcb.freedesktop.org/dist/${SRCFILE}
31 mirror://${PNAME}/${SRCFILE}
32 )
33
34 UP2DATE="updatecmd 'http://xcb.freedesktop.org/dist/?C=M;O=A' | grep ${PNAME}- | lasttarball"
35
36 src_compile()
37 {
38 mconfigure --enable-xinput || die
39 mmake || die
40 }
41
42 postinstall()
43 {
44 xorg_postinstall
45
46 echo
47 echo "libxcb-1.1 adds the LIBXCB_ALLOW_SLOPPY_LOCK variable to allow"
48 echo "broken applications to keep running instead of being aborted."
49 echo "Set this variable if you need to use broken packages such as Java"
50 echo "(for example, add LIBXCB_ALLOW_SLOPPY_LOCK=1 to /etc/env.d/00local"
51 echo "and run env-update)."
52 echo
53 }