# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/matrox-mtx/matrox-mtx.conf # Copyright (C) 2004 - 2025 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 # --- T2-COPYRIGHT-END --- autoextract=0 runmake=0 srctar="`match_source_file -p ${arch/-/_} | head -n 1`" install_mtx() { echo . | sh $srctar --extract-only || true cd m* apply_patchfiles # in /usr/lib* it should have priority over /usr/X11/, ... :-/ xver=7_4_0 install opengl6/libGL.so.* $root/$prefix/lib/ [[ $arch = *64 ]] && install opengl6/lib64/libGL.so.* $root/$prefix/lib64/ # TODO: libmtxcfg.so and wizards install xserver/$xver/{mtx_drv.so,v4l_drv.so} $root/usr/X11/${libdir##*/}/xorg/modules/drivers/ install xserver/$xver/libglx.so $root/usr/X11/${libdir##*/}/xorg/modules/extensions/ cp -vf docs/* samples/* $docdir/ } hook_add inmake 5 install_mtx