diff --git a/build.sh b/build.sh index ee68e76c..6cb12280 100755 --- a/build.sh +++ b/build.sh @@ -431,6 +431,72 @@ elif [ "${1}" == "dlall" ] || [ "${1}" == "dl" ] || [ "${1}" == "dlweb" ] || [ " fi fi + + elif [ "${1}" == "neuall" ] || [ "${1}" == "neu" ] || [ "${1}" == "neuweb" ] || [ "${1}" == "neuso" ] || [ "${1}" == "neutwain" ]; then + + if [ "${1}" == "neuall" ]; then + + qmake -qt=qt5 -makefile "DEFINES += OEM_DELI" HGSolutionLinux.pro + make -j8 + + else + + cd HGBase + qmake -qt=qt5 -makefile "DEFINES += OEM_NEUTRAL" HGBase.pro + make -j8 + cd ../ + + cd HGImgFmt + qmake -qt=qt5 -makefile "DEFINES += OEM_NEUTRAL" HGImgFmt.pro + make -j8 + cd ../ + + cd HGImgProc + qmake -qt=qt5 -makefile "DEFINES += OEM_NEUTRAL" HGImgProc.pro + make -j8 + cd ../ + + if [ "${1}" == "neu" ]; then + + cd HGTwainUI + qmake -qt=qt5 -makefile "DEFINES += OEM_NEUTRAL" HGTwainUI.pro + make -j8 + cd ../ + + cd HGSaneUser + qmake -qt=qt5 -makefile "DEFINES += OEM_NEUTRAL" HGSaneUser.pro + make -j8 + cd ../ + + cd HGScanner2 + qmake -qt=qt5 -makefile "DEFINES += OEM_NEUTRAL" HGScanner2.pro + make -j8 + cd ../ + mv "../../../release/${system}/${arch}/NeuScan2" "../../../release/${system}/${arch}/NeuScan" + + elif [ "${1}" == "neuweb" ]; then + + cd HGWebService + qmake -qt=qt5 -makefile "DEFINES += OEM_NEUTRAL" HGWebService.pro + make -j8 + cd ../ + + elif [ "${1}" == "neutwain" ]; then + + cd HGTwainUI + qmake -qt=qt5 -makefile "DEFINES += OEM_NEUTRAL" HGTwainUI.pro + make -j8 + cd ../ + + else + + cd HGScannerLib + qmake -qt=qt5 -makefile "DEFINES += OEM_NEUTRAL" HGScannerLib.pro + make -j8 + cd ../ + + fi + fi else