1 git_url0
=https
://gitlab.freedesktop.org
/xorg
/lib
/$src_name.git
4 git_commit
=${pkg_name##*-}
6 mkdir
/nyan
/$src_name/$slot
8 pkg_dir
=$pkgs_dir_root/$src_name
11 src_dir
=$src_dir_root/xcb
/$src_name
12 cp -r $src_dir $pkg_dir
16 if test x
$git_commit != x
; then
17 /nyan
/git
/current
/bin
/git checkout
--force $git_commit
18 /nyan
/git
/current
/bin
/git
reset --hard
20 #===============================================================================
23 /nyan/autoconf/current/bin:\
24 /nyan/automake/current/bin:\
25 /nyan/m4/current/bin:\
26 /nyan/libtool/current/bin:\
28 export "ACLOCAL_PATH=\
29 /nyan/pkgconf/current/share/aclocal:\
30 /nyan/util-macro/current/share/aclocal:\
31 /nyan/libtool/current/share/aclocal"
38 export PATH
=$PATH_SAVED
39 #===============================================================================
40 build_dir
=$builds_dir_root/$pkg_name
45 export "PKG_CONFIG_LIBDIR=\
46 /nyan/xcb-proto/current/share/pkgconfig:\
47 /nyan/util-macro/current/share/pkgconfig:\
48 /nyan/libpthread-stubs/current/lib/pkgconfig:\
49 /nyan/xorgproto/current/share/pkgconfig:\
50 /nyan/libXau/current/lib/pkgconfig"
51 export PKG_CONFIG
=/nyan
/pkgconf
/current
/bin
/pkgconf
53 # it wants autoheader... :D
56 /nyan/autoconf/current/bin:\
57 /opt/toolchains/x64/elf/binutils-gcc/current/bin:\
58 /nyan/make/current/bin:\
62 -isystem /nyan/glibc/current/include \
63 -isystem /nyan/linux-headers/current/include \
64 -B/nyan/glibc/current/lib \
65 -L/nyan/glibc/current/lib \
68 export 'CFLAGS=-O2 -pipe -fPIC'
69 export PYTHON
=/nyan
/python
/current
/bin
/python3
75 unset PKG_CONFIG_LIBDIR
80 #===============================================================================
81 install_dir
=$build_dir/nyan_install_root
85 make DESTDIR
=$install_dir install
87 mkdir
/nyan
/$src_name/$slot/lib
89 $install_dir/usr
/lib
/libxcb.so
.1.1.0 \
90 $install_dir/usr
/lib
/libxcb-composite.so
.0.0.0 \
91 $install_dir/usr
/lib
/libxcb-damage.so
.0.0.0 \
92 $install_dir/usr
/lib
/libxcb-dbe.so
.0.0.0 \
93 $install_dir/usr
/lib
/libxcb-dpms.so
.0.0.0 \
94 $install_dir/usr
/lib
/libxcb-dri2.so
.0.0.0 \
95 $install_dir/usr
/lib
/libxcb-dri3.so
.0.1.0 \
96 $install_dir/usr
/lib
/libxcb-present.so
.0.0.0 \
97 $install_dir/usr
/lib
/libxcb-glx.so
.0.0.0 \
98 $install_dir/usr
/lib
/libxcb-randr.so
.0.1.0 \
99 $install_dir/usr
/lib
/libxcb-record.so
.0.0.0 \
100 $install_dir/usr
/lib
/libxcb-render.so
.0.0.0 \
101 $install_dir/usr
/lib
/libxcb-res.so
.0.0.0 \
102 $install_dir/usr
/lib
/libxcb-screensaver.so
.0.0.0 \
103 $install_dir/usr
/lib
/libxcb-shape.so
.0.0.0 \
104 $install_dir/usr
/lib
/libxcb-shm.so
.0.0.0 \
105 $install_dir/usr
/lib
/libxcb-sync.so
.1.0.0 \
106 $install_dir/usr
/lib
/libxcb-xf86dri.so
.0.0.0 \
107 $install_dir/usr
/lib
/libxcb-xfixes.so
.0.0.0 \
108 $install_dir/usr
/lib
/libxcb-xinerama.so
.0.0.0 \
109 $install_dir/usr
/lib
/libxcb-xinput.so
.0.1.0 \
110 $install_dir/usr
/lib
/libxcb-xkb.so
.1.0.0 \
111 $install_dir/usr
/lib
/libxcb-xtest.so
.0.0.0 \
112 $install_dir/usr
/lib
/libxcb-xv.so
.0.0.0 \
113 $install_dir/usr
/lib
/libxcb-xvmc.so
.0.0.0 \
114 /nyan
/$src_name/$slot/lib
116 ln -s libxcb.so
.1.1.0 /nyan
/$src_name/$slot/lib
/libxcb.so
117 ln -s libxcb-composite.so
.0.0.0 /nyan
/$src_name/$slot/lib
/libxcb-composite.so
118 ln -s libxcb-damage.so
.0.0.0 /nyan
/$src_name/$slot/lib
/libxcb-damage.so
119 ln -s libxcb-dbe.so
.0.0.0 /nyan
/$src_name/$slot/lib
/libxcb-dbe.so
120 ln -s libxcb-dpms.so
.0.0.0 /nyan
/$src_name/$slot/lib
/libxcb-dpms.so
121 ln -s libxcb-dri2.so
.0.0.0 /nyan
/$src_name/$slot/lib
/libxcb-dri2.so
122 ln -s libxcb-dri3.so
.0.1.0 /nyan
/$src_name/$slot/lib
/libxcb-dri3.so
123 ln -s libxcb-present.so
.0.0.0 /nyan
/$src_name/$slot/lib
/libxcb-present.so
124 ln -s libxcb-glx.so
.0.0.0 /nyan
/$src_name/$slot/lib
/libxcb-glx.so
125 ln -s libxcb-randr.so
.0.1.0 /nyan
/$src_name/$slot/lib
/libxcb-randr.so
126 ln -s libxcb-record.so
.0.0.0 /nyan
/$src_name/$slot/lib
/libxcb-record.so
127 ln -s libxcb-render.so
.0.0.0 /nyan
/$src_name/$slot/lib
/libxcb-render.so
128 ln -s libxcb-res.so
.0.0.0 /nyan
/$src_name/$slot/lib
/libxcb-res.so
129 ln -s libxcb-screensaver.so
.0.0.0 /nyan
/$src_name/$slot/lib
/libxcb-screensaver.so
130 ln -s libxcb-shape.so
.0.0.0 /nyan
/$src_name/$slot/lib
/libxcb-shape.so
131 ln -s libxcb-shm.so
.0.0.0 /nyan
/$src_name/$slot/lib
/libxcb-shm.so
132 ln -s libxcb-sync.so
.1.0.0 /nyan
/$src_name/$slot/lib
/libxcb-sync.so
133 ln -s libxcb-xf86dri.so
.0.0.0 /nyan
/$src_name/$slot/lib
/libxcb-xf86dri.so
134 ln -s libxcb-xfixes.so
.0.0.0 /nyan
/$src_name/$slot/lib
/libxcb-xfixes.so
135 ln -s libxcb-xinerama.so
.0.0.0 /nyan
/$src_name/$slot/lib
/libxcb-xinerama.so
136 ln -s libxcb-xinput.so
.0.1.0 /nyan
/$src_name/$slot/lib
/libxcb-xinput.so
137 ln -s libxcb-xkb.so
.1.0.0 /nyan
/$src_name/$slot/lib
/libxcb-xkb.so
138 ln -s libxcb-xtest.so
.0.0.0 /nyan
/$src_name/$slot/lib
/libxcb-xtest.so
139 ln -s libxcb-xv.so
.0.0.0 /nyan
/$src_name/$slot/lib
/libxcb-xv.so
140 ln -s libxcb-xvmc.so
.0.0.0 /nyan
/$src_name/$slot/lib
/libxcb-xvmc.so
142 ln -sTf /nyan
/$src_name/current
/lib
/libxcb.so
.1.1.0 /usr
/lib
/libxcb.so
.1
143 ln -sTf /nyan
/$src_name/current
/lib
/libxcb-composite.so
.0.0.0 /usr
/lib
/libxcb-composite.so
.0
144 ln -sTf /nyan
/$src_name/current
/lib
/libxcb-damage.so
.0.0.0 /usr
/lib
/libxcb-damage.so
.0
145 ln -sTf /nyan
/$src_name/current
/lib
/libxcb-dbe.so
.0.0.0 /usr
/lib
/libxcb-dbe.so
.0
146 ln -sTf /nyan
/$src_name/current
/lib
/libxcb-dpms.so
.0.0.0 /usr
/lib
/libxcb-dpms.so
.0
147 ln -sTf /nyan
/$src_name/current
/lib
/libxcb-dri2.so
.0.0.0 /usr
/lib
/libxcb-dri2.so
.0
148 ln -sTf /nyan
/$src_name/current
/lib
/libxcb-dri3.so
.0.1.0 /usr
/lib
/libxcb-dri3.so
.0
149 ln -sTf /nyan
/$src_name/current
/lib
/libxcb-present.so
.0.0.0 /usr
/lib
/libxcb-present.so
.0
150 ln -sTf /nyan
/$src_name/current
/lib
/libxcb-glx.so
.0.0.0 /usr
/lib
/libxcb-glx.so
.0
151 ln -sTf /nyan
/$src_name/current
/lib
/libxcb-randr.so
.0.1.0 /usr
/lib
/libxcb-randr.so
.0
152 ln -sTf /nyan
/$src_name/current
/lib
/libxcb-record.so
.0.0.0 /usr
/lib
/libxcb-record.so
.0
153 ln -sTf /nyan
/$src_name/current
/lib
/libxcb-render.so
.0.0.0 /usr
/lib
/libxcb-render.so
.0
154 ln -sTf /nyan
/$src_name/current
/lib
/libxcb-res.so
.0.0.0 /usr
/lib
/libxcb-res.so
.0
155 ln -sTf /nyan
/$src_name/current
/lib
/libxcb-screensaver.so
.0.0.0 /usr
/lib
/libxcb-screensaver.so
.0
156 ln -sTf /nyan
/$src_name/current
/lib
/libxcb-shape.so
.0.0.0 /usr
/lib
/libxcb-shape.so
.0
157 ln -sTf /nyan
/$src_name/current
/lib
/libxcb-shm.so
.0.0.0 /usr
/lib
/libxcb-shm.so
.0
158 ln -sTf /nyan
/$src_name/current
/lib
/libxcb-sync.so
.1.0.0 /usr
/lib
/libxcb-sync.so
.1
159 ln -sTf /nyan
/$src_name/current
/lib
/libxcb-xf86dri.so
.0.0.0 /usr
/lib
/libxcb-xf86dri.so
.0
160 ln -sTf /nyan
/$src_name/current
/lib
/libxcb-xfixes.so
.0.0.0 /usr
/lib
/libxcb-xfixes.so
.0
161 ln -sTf /nyan
/$src_name/current
/lib
/libxcb-xinerama.so
.0.0.0 /usr
/lib
/libxcb-xinerama.so
.0
162 ln -sTf /nyan
/$src_name/current
/lib
/libxcb-xinput.so
.0.1.0 /usr
/lib
/libxcb-xinput.so
.0
163 ln -sTf /nyan
/$src_name/current
/lib
/libxcb-xkb.so
.1.0.0 /usr
/lib
/libxcb-xkb.so
.1
164 ln -sTf /nyan
/$src_name/current
/lib
/libxcb-xtest.so
.0.0.0 /usr
/lib
/libxcb-xtest.so
.0
165 ln -sTf /nyan
/$src_name/current
/lib
/libxcb-xv.so
.0.0.0 /usr
/lib
/libxcb-xv.so
.0
166 ln -sTf /nyan
/$src_name/current
/lib
/libxcb-xvmc.so
.0.0.0 /usr
/lib
/libxcb-xvmc.so
.0
168 rm -Rf /nyan
/$src_name/$slot/include
169 cp -r $install_dir/usr
/include
/nyan
/$src_name/$slot/include
172 export PATH
=$PATH_SAVED
174 rm -Rf $build_dir $pkg_dir