# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/mythtv/mythtv-conf.in # Copyright (C) 2006 - 2023 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # 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 version 2. # --- T2-COPYRIGHT-NOTE-END --- prefix=/opt/mythtv set_confopt # Mythtv needs Qt3 pkgprefix -t qt export PATH=$(pkgprefix bindir qt):$PATH # brain damaged hardcoded path... have to replace it... fix_mythtv_prefix() { destdir="$root/$prefix" destdir="`echo $destdir | tr -s '/'`" grep /usr/local * -R | sed 's,:.*,,' | xargs -n1 sed -i "s,/usr/local,$destdir,g" } # has non-standard configure script, so some options do not pass through eval_config_command mythtv_config () { local confcmd=$(eval echo "$configprefix $configscript $confopt") echo "Running $confcmd" eval "$confcmd" }