Magellan Linux

Annotation of /branches/R11-unstable/extras/libxcb/libxcb-1.11-r5.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 23109 - (hide annotations) (download)
Thu Oct 30 14:44:31 2014 UTC (9 years, 6 months ago) by niro
Original Path: trunk/extras/libxcb/libxcb-1.11-r5.smage2
File size: 1139 byte(s)
-rebuild, use new features of xorg.sminc
1 niro 23109 # $Id$
2    
3     PNAME="libxcb"
4     PVER="1.11"
5     PBUILD="r5"
6    
7     PCAT="x11-libs"
8    
9     DESCRIPTION="X protocol C-language Binding (XCB) library."
10     HOMEPAGE="http://xcb.freedesktop.org/"
11    
12     # xcb-proto,libpthread-stubs runtime dep to satisfy builds against libxcb
13     DEPEND=">= x11-proto/xcb-proto-1.11
14     >= dev-libs/libpthread-stubs-0.1
15     >= x11-libs/libXau-1
16     >= x11-libs/libXdmcp-1.1"
17    
18     SDEPEND=">= dev-libs/libxslt-1.1.26"
19    
20     if mqueryfeature "check"
21     then
22     # make check needs libcheck
23     SDEPEND+="
24     >= dev-util/check-0.9"
25     fi
26    
27     sminclude xorg multilib
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     }