# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/webkit/webkit.conf # Copyright (C) 2007 - 2022 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/webkit set_confopt if [ "${SDECFG_PKG_WEBKIT_LIB:0:2}" = "qt" ]; then pkgprefix -t $SDECFG_PKG_WEBKIT_QTLIB export QTDIR=$root/`pkgprefix $SDECFG_PKG_WEBKIT_LIB` export QPEDIR=$QTDIR export PATH=$QTDIR/bin:$PATH export QMAKESPEC=$QTDIR/mkspecs/default fi # do not include the Qt application files webkit_noqtlauncher() { echo "Removing Qt Apps from project" sed -e '#WebKitQt.*\.cpp#d' -e '#WebKitQt.*\.h#d' -i WebCore/WebCore.pro cat > WebKit.pro <