Magellan Linux

Contents of /branches/R11-unstable/extras/libxcb/libxcb-1.13.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32612 - (show annotations) (download)
Mon Apr 29 13:15:56 2019 UTC (5 years ago) by niro
File size: 1148 byte(s)
-release branches/R11-unstable
1 # $Id$
2
3 PNAME="libxcb"
4 PVER="1.13.1"
5 PBUILD="r1"
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 mbuild
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 }