Magellan Linux

Contents of /smage/branches/alx07x-stable/core/libxcb/libxcb-1.14-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 15045 - (show annotations) (download)
Thu Aug 6 13:06:39 2020 UTC (3 years, 8 months ago) by niro
File size: 1329 byte(s)
-release branches/alx07x-stable
1 # $Id$
2
3 PNAME="libxcb"
4 PVER="1.14"
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.14
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 mbuild alx-split
34
35 SRCFILE="${PNAME}-${PVER}.tar.xz"
36
37 SRC_URI=(
38 http://xcb.freedesktop.org/dist/${SRCFILE}
39 mirror://${PNAME}/${SRCFILE}
40 )
41
42 UP2DATE="updatecmd http://xcb.freedesktop.org/dist/ | grep ${PNAME}- | highesttarball xz"
43
44 src_compile()
45 {
46 mconfigure --enable-xinput || die
47 mmake || die
48 }
49
50 postinstall()
51 {
52 xorg_postinstall
53
54 echo
55 echo "libxcb-1.1 adds the LIBXCB_ALLOW_SLOPPY_LOCK variable to allow"
56 echo "broken applications to keep running instead of being aborted."
57 echo "Set this variable if you need to use broken packages such as Java"
58 echo "(for example, add LIBXCB_ALLOW_SLOPPY_LOCK=1 to /etc/env.d/00local"
59 echo "and run env-update)."
60 echo
61 }