wok-next view xorg-libxcb/receipt @ rev 20443

The rest of my "home work" for update many packages (up to Xorg, GTK and Openbox) for Next and mainly for Next64. Since this point this repository is open for commits. Many errors are expected due to harfbuzz-freetype dependency loop...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Feb 24 16:17:33 2018 +0200 (2018-02-24)
parents ea3c4b76ea5d
children 7639f09792cf
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xorg-libxcb"
4 VERSION="1.12"
5 CATEGORY="x-window"
6 SHORT_DESC="A C binding to the X11 protocol"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://xcb.freedesktop.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/libxcb.html"
12 TARBALL="libxcb-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/xcb/$TARBALL"
15 BUILD_DEPENDS="libxslt-dev xorg-xcb-proto xorg-libXau-dev xorg-libXdmcp-dev \
16 autoconf automake libtool"
17 SPLIT="xorg-libxcb-dev"
19 # Handle SliTaz arch
20 case "$SLITAZ_ARCH" in
21 arm*) VERSION="1.9.1";;
22 esac
23 case "$ARCH" in
24 arm*) # We need host xcb-proto libxslt-dev file installed
25 VERSION="1.9.1"
26 TARBALL="libxcb-$VERSION.tar.bz2"
27 WGET_URL="https://xcb.freedesktop.org/dist/$TARBALL"
28 BUILD_DEPENDS="libxslt-dev xorg-xcb-proto xorg-libXau-dev xorg-libXdmcp-dev"
29 ;;
30 esac
32 compile_rules() {
33 # Package "libpthread-stubs" no more needed:
34 # our platform already supply all the necessary pthread stubs.
35 sed -i "s|pthread-stubs||" $src/configure.ac
37 fix ld
38 autoreconf -fi &&
39 ./configure \
40 --enable-xinput \
41 --enable-xprint \
42 --docdir='${datadir}'/doc/$PACKAGE-$VERSION \
43 $CONFIGURE_ARGS &&
44 fix libtool &&
45 make &&
46 make DESTDIR=$DESTDIR install
47 }
49 genpkg_rules() {
50 case $PACKAGE in
51 *-libxcb)
52 copy @std
53 DEPENDS="xorg-libXau xorg-libXdmcp"
54 PROVIDE="libxcb"
55 ;;
56 *-dev)
57 copy @dev
58 DEPENDS="xorg-libxcb xorg-libXau-dev xorg-libXdmcp-dev"
59 PROVIDE="libxcb-dev"
60 ;;
61 esac
62 }