Magellan Linux

Contents of /smage/trunk/core/libxcb/libxcb-1.11.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7581 - (show annotations) (download)
Tue Sep 22 08:25:32 2015 UTC (8 years, 7 months ago) by niro
File size: 1292 byte(s)
auto added: ver bump to 1.11.1-r1
1 # $Id$
2
3 PNAME="libxcb"
4 PVER="1.11.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 DEPEND=">= x11-libs/libXau-1
13 >= x11-libs/libXdmcp-1"
14
15 # xcb-proto,libpthread-stubs runtime dep to satisfy builds against libxcb
16 ALX_DEV_DEPEND=">= x11-proto/xcb-proto-1.6
17 >= dev-libs/libpthread-stubs-0.1
18 >= x11-libs/libXau-dev-1
19 >= x11-libs/libXdmcp-dev-1"
20
21 SDEPEND="${ALX_DEV_DEPEND}
22 >= dev-libs/libxslt-1.1.26
23 >= x11-libs/libXau-dev-1
24 >= x11-libs/libXdmcp-dev-1"
25
26 if mqueryfeature "check"
27 then
28 # make check needs libcheck
29 SDEPEND+="
30 >= dev-util/check-0.9"
31 fi
32
33 sminclude xorg multilib alx-split
34
35 SRC_URI=(
36 http://xcb.freedesktop.org/dist/${SRCFILE}
37 mirror://${PNAME}/${SRCFILE}
38 )
39
40 UP2DATE="updatecmd 'http://xcb.freedesktop.org/dist/?C=M;O=A' | grep ${PNAME}- | lasttarball"
41
42 src_compile()
43 {
44 mconfigure --enable-xinput || die
45 mmake || die
46 }
47
48 postinstall()
49 {
50 xorg_postinstall
51
52 echo
53 echo "libxcb-1.1 adds the LIBXCB_ALLOW_SLOPPY_LOCK variable to allow"
54 echo "broken applications to keep running instead of being aborted."
55 echo "Set this variable if you need to use broken packages such as Java"
56 echo "(for example, add LIBXCB_ALLOW_SLOPPY_LOCK=1 to /etc/env.d/00local"
57 echo "and run env-update)."
58 echo
59 }