# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # T2 SDE: package/*/matrox-mtx/matrox-mtx.conf # Copyright (C) 2004 - 2021 The T2 SDE Project # # More information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. A copy of the # GNU General Public License can be found in the file COPYING. # --- T2-COPYRIGHT-NOTE-END --- autoextract=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/ } makeopt= makeinstopt= hook_add inmake 5 install_mtx