|
238 | 238 | ## build tools |
239 | 239 | ## |
240 | 240 |
|
| 241 | +if build "m4"; then |
| 242 | + download "https://ftpmirror.gnu.org/m4/m4-1.4.18.tar.xz" |
| 243 | + # https://lists.gnu.org/archive/html/bug-m4/2018-08/msg00000.html |
| 244 | + # No new version of M4 has been released, so a patch has been applied. |
| 245 | + execute curl -sLJO https://github.com/easybuilders/easybuild-easyconfigs/raw/master/easybuild/easyconfigs/m/M4/M4-1.4.18_glibc_2.28.patch |
| 246 | + execute patch -p1 -d . < M4-1.4.18_glibc_2.28.patch |
| 247 | + execute ./configure --prefix="${WORKSPACE}" |
| 248 | + execute make -j $MJOBS |
| 249 | + execute make install |
| 250 | + build_done "m4" |
| 251 | +fi |
| 252 | + |
| 253 | +if build "autoconf"; then |
| 254 | + download "https://ftpmirror.gnu.org/autoconf/autoconf-2.69.tar.xz" |
| 255 | + execute ./configure --prefix="${WORKSPACE}" |
| 256 | + execute make -j $MJOBS |
| 257 | + execute make install |
| 258 | + build_done "autoconf" |
| 259 | +fi |
| 260 | + |
| 261 | +if build "automake"; then |
| 262 | + download "https://ftpmirror.gnu.org/automake/automake-1.16.tar.xz" |
| 263 | + execute ./configure --prefix="${WORKSPACE}" |
| 264 | + execute make -j $MJOBS |
| 265 | + execute make install |
| 266 | + build_done "automake" |
| 267 | +fi |
| 268 | + |
| 269 | +if build "libtool"; then |
| 270 | + download "https://ftpmirror.gnu.org/libtool/libtool-2.4.6.tar.xz" |
| 271 | + execute ./configure --prefix="${WORKSPACE}" --disable-shared --enable-static |
| 272 | + execute make -j $MJOBS |
| 273 | + execute make install |
| 274 | + build_done "libtool" |
| 275 | +fi |
| 276 | + |
| 277 | +if build "util-macros"; then |
| 278 | + download "https://gitlab.freedesktop.org/xorg/util/macros/-/archive/util-macros-1.19.2/macros-util-macros-1.19.2.tar.bz2" "util-macros-1.19.2.tar.bz2" |
| 279 | + execute autoreconf --force --verbose --install |
| 280 | + execute ./configure --prefix="${WORKSPACE}" |
| 281 | + execute make -j $MJOBS |
| 282 | + execute make install |
| 283 | + build_done "util-macros" |
| 284 | +fi |
| 285 | + |
241 | 286 | if build "yasm"; then |
242 | | - download "https://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz" |
| 287 | + download "https://github.com/yasm/yasm/releases/download/v1.3.0/yasm-1.3.0.tar.gz" |
243 | 288 | execute ./configure --prefix="${WORKSPACE}" |
244 | 289 | execute make -j $MJOBS |
245 | 290 | execute make install |
246 | 291 | build_done "yasm" |
247 | 292 | fi |
248 | 293 |
|
249 | 294 | if build "nasm"; then |
250 | | - download "https://www.nasm.us/pub/nasm/releasebuilds/2.15.05/nasm-2.15.05.tar.xz" |
| 295 | + download "https://github.com/netwide-assembler/nasm/archive/nasm-2.15.05.tar.gz" |
| 296 | + execute ./autogen.sh |
251 | 297 | execute ./configure --prefix="${WORKSPACE}" --disable-shared --enable-static |
252 | 298 | execute make -j $MJOBS |
253 | 299 | execute make install |
254 | 300 | build_done "nasm" |
255 | 301 | fi |
256 | 302 |
|
257 | 303 | if build "pkg-config"; then |
258 | | - download "https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz" |
| 304 | + download "https://gitlab.freedesktop.org/pkg-config/pkg-config/-/archive/pkg-config-0.29.2/pkg-config-pkg-config-0.29.2.tar.bz2" "pkg-config-0.29.2.tar.bz2" |
| 305 | + execute autoreconf --force --verbose --install |
259 | 306 | execute ./configure --silent --prefix="${WORKSPACE}" --with-pc-path="${WORKSPACE}"/lib/pkgconfig --with-internal-glib |
260 | 307 | execute make -j $MJOBS |
261 | 308 | execute make install |
|
290 | 337 |
|
291 | 338 | # Required for building vaapi tools so linux only |
292 | 339 | if [[ "$OSTYPE" == "linux-gnu" ]]; then |
293 | | - if build "m4"; then |
294 | | - download "https://ftpmirror.gnu.org/m4/m4-1.4.18.tar.xz" |
295 | | - # https://lists.gnu.org/archive/html/bug-m4/2018-08/msg00000.html |
296 | | - # No new version of M4 has been released, so a patch has been applied. |
297 | | - execute curl -sLJO https://github.com/easybuilders/easybuild-easyconfigs/raw/master/easybuild/easyconfigs/m/M4/M4-1.4.18_glibc_2.28.patch |
298 | | - execute patch -p1 -d . < M4-1.4.18_glibc_2.28.patch |
299 | | - execute ./configure --prefix="${WORKSPACE}" |
300 | | - execute make -j $MJOBS |
301 | | - execute make install |
302 | | - build_done "m4" |
303 | | - fi |
304 | | - |
305 | | - if build "autoconf"; then |
306 | | - download "https://ftpmirror.gnu.org/autoconf/autoconf-2.69.tar.xz" |
307 | | - execute ./configure --prefix="${WORKSPACE}" |
308 | | - execute make -j $MJOBS |
309 | | - execute make install |
310 | | - build_done "autoconf" |
311 | | - fi |
312 | | - |
313 | | - if build "automake"; then |
314 | | - download "https://ftpmirror.gnu.org/automake/automake-1.16.tar.xz" |
315 | | - execute ./configure --prefix="${WORKSPACE}" |
316 | | - execute make -j $MJOBS |
317 | | - execute make install |
318 | | - build_done "automake" |
319 | | - fi |
320 | | - |
321 | | - if build "util-macros"; then |
322 | | - download "https://gitlab.freedesktop.org/xorg/util/macros/-/archive/util-macros-1.19.2/macros-util-macros-1.19.2.tar.bz2" "util-macros-1.19.2.tar.bz2" |
323 | | - execute ./configure --prefix="${WORKSPACE}" |
324 | | - execute make -j $MJOBS |
325 | | - execute make install |
326 | | - build_done "util-macros" |
327 | | - fi |
328 | | - |
329 | | - if build "libtool"; then |
330 | | - download "https://ftpmirror.gnu.org/libtool/libtool-2.4.6.tar.xz" |
331 | | - execute ./configure --prefix="${WORKSPACE}" --disable-shared --enable-static |
332 | | - execute make -j $MJOBS |
333 | | - execute make install |
334 | | - build_done "libtool" |
335 | | - fi |
336 | | - |
337 | 340 | if build "meson"; then |
338 | 341 | download "https://github.com/mesonbuild/meson/releases/download/0.55.3/meson-0.55.3.tar.gz" |
339 | 342 | execute ln -s $(pwd)/meson.py ${WORKSPACE}/bin/meson |
|
0 commit comments