From 2c95aad94de3cc4d7a6893cf4be6158b0e79b8a0 Mon Sep 17 00:00:00 2001 From: Angelo Mantellini Date: Fri, 16 Apr 2021 11:58:47 +0200 Subject: [CICN-37] update viper to support to last version of hicn Signed-off-by: Angelo Mantellini Change-Id: Ib40cafbf5d648a282e6dc58bb3537ab4723dd2ee --- scripts/build-package.sh | 2 +- viper.pro | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/build-package.sh b/scripts/build-package.sh index c2852b67..52b22a0f 100644 --- a/scripts/build-package.sh +++ b/scripts/build-package.sh @@ -8,7 +8,7 @@ APT_PATH=`which apt-get` || true apt_get=${APT_PATH:-"/usr/local/bin/apt-get"} PACKAGE_NAME="VIPER" -VIPER_DEPS_UBUNTU="zlib1g-dev git-core build-essential libxml2-dev libcurl4-openssl-dev \ +VIPER_DEPS_UBUNTU="libconfig++-dev zlib1g-dev git-core build-essential libxml2-dev libcurl4-openssl-dev \ libqtav-dev qt5-default libqt5svg5-dev qtdeclarative5-dev libqt5charts5-dev \ qtmultimedia5-dev libqt5multimediawidgets5 libqt5multimedia5-plugins libqt5multimedia5 \ libhicntransport-dev libavcodec-dev libavutil-dev libavformat-dev" diff --git a/viper.pro b/viper.pro index 5b599b30..5b153335 100644 --- a/viper.pro +++ b/viper.pro @@ -289,7 +289,7 @@ unix:!macx:!android { INCLUDEPATH += /usr/include INCLUDEPATH += /usr/include/libdash equals(TRANSPORT_LIBRARY, "HICNET") { - LIBS += -L/usr/local/lib -ldash -lhicntransport -lavcodec -lavutil -lavformat + LIBS += -L/usr/local/lib -ldash -lhicntransport -lavcodec -lavutil -lavformat -lconfig++ DEFINES += "HICNET=ON" } else { LIBS += -L/usr/local/lib -ldash -licnet -lavcodec -lavutil -lavformat @@ -307,7 +307,7 @@ macx:!ios { INCLUDEPATH += $$[QT_HOST_PREFIX]/include/ INCLUDEPATH += $$[QT_HOST_PREFIX]/lib/QtAV.framework/Headers equals(TRANSPORT_LIBRARY, "HICNET") { - LIBS += -L"/usr/local/lib" -framework CoreServices -ldash -lavformat -lavutil -lavcodec -lswscale -lhicntransport -lssl -lcrypto + LIBS += -L"/usr/local/lib" -framework CoreServices -ldash -lavformat -lavutil -lavcodec -lswscale -lhicntransport -lssl -lcrypto -lconfig++ LIBS += -F$$[QT_HOST_PREFIX]/lib/ -framework QtAV DEFINES += "HICNET=ON" } else { @@ -332,7 +332,7 @@ android { INCLUDEPATH += $$(DISTILLARY_INSTALLATION_PATH)/include INCLUDEPATH += $$(DISTILLARY_INSTALLATION_PATH)/include/libdash equals(TRANSPORT_LIBRARY, "HICNET") { - LIBS += -L"$$(DISTILLARY_INSTALLATION_PATH)/lib" -ldash -lhicntransport -lhicn -lparc -lavcodec -lavutil -lavformat -lswresample -lcurl -lxml2 -lssl -lcrypto + LIBS += -L"$$(DISTILLARY_INSTALLATION_PATH)/lib" -ldash -lhicntransport -lhicn -lparc -lavcodec -lavutil -lavformat -lswresample -lcurl -lxml2 -lssl -lcrypto -lconfig++ LIBS += -L"$$(QT_HOME)/$$(QT_VERSION)/android_$$(ANDROID_ARCH)/lib/" -lQtAV DEFINES += "HICNET=ON" ANDROID_EXTRA_LIBS += $$(DISTILLARY_INSTALLATION_PATH)/lib/libswresample.so -- cgit 1.2.3-korg