commit
3a0775c4f4
|
@ -1,3 +1,12 @@
|
|||
kylin-photo-viewer (1.3.0.3-ok22.32) nile; urgency=medium
|
||||
|
||||
* BUG号:无
|
||||
* 需求号:无
|
||||
* 其他改动说明:修改架构判断
|
||||
* 影响域:无
|
||||
|
||||
-- sufang <sufang@kylinos.cn> Wed, 28 Aug 2024 14:47:57 +0800
|
||||
|
||||
kylin-photo-viewer (1.3.0.3-ok22.31) nile; urgency=medium
|
||||
|
||||
* BUG号:无
|
||||
|
|
|
@ -29,7 +29,7 @@ Build-Depends: debhelper (>=9),
|
|||
qtquickcontrols2-5-dev,
|
||||
qtscript5-dev,
|
||||
qttools5-dev-tools,
|
||||
onnxruntime [!loong64],
|
||||
onnxruntime [amd64 arm64 !loong64],
|
||||
librsvg2-dev
|
||||
Standards-Version: 4.4.0
|
||||
Homepage: https://github.com/ubuntukylin/kylin-photo-viewer
|
||||
|
@ -49,7 +49,7 @@ Description: Photo viewer, support to view, zoom and rotate images of various fo
|
|||
Package: photo-viewer-aiassistant-plugin
|
||||
Architecture: any
|
||||
Depends: kylin-photo-viewer,
|
||||
onnxruntime [!loong64],
|
||||
onnxruntime [amd64 arm64 !loong64],
|
||||
libfreeimage-dev,
|
||||
libfreeimageplus-dev,
|
||||
libopencv-dnn-dev,
|
||||
|
|
|
@ -63,8 +63,15 @@ LIBS += -lopencv_core \
|
|||
-lopencv_highgui \
|
||||
-lopencv_dnn \
|
||||
|
||||
contains(QMAKE_HOST.arch, x86_64){
|
||||
INCLUDEPATH += /usr/local/include/onnxruntime
|
||||
LIBS += -L/usr/local/lib -lonnxruntime
|
||||
}
|
||||
|
||||
contains(QMAKE_HOST.arch, aarch64){
|
||||
INCLUDEPATH += /usr/local/include/onnxruntime
|
||||
LIBS += -L/usr/local/lib -lonnxruntime
|
||||
}
|
||||
|
||||
target.path = /usr/bin
|
||||
target.source +=$$TARGET
|
||||
|
|
Loading…
Reference in New Issue