1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2024-11-25 10:25:17 +00:00

Initial attempt to link blurhash library

This commit is contained in:
Chris Josten 2020-10-27 16:31:34 +01:00
parent a172b6d914
commit 80cbf56225
2 changed files with 11 additions and 0 deletions

View file

@ -16,6 +16,8 @@ Builder: cmake
# This section specifies build dependencies that are resolved using pkgconfig. # This section specifies build dependencies that are resolved using pkgconfig.
# This is the preferred way of specifying build dependencies for your package. # This is the preferred way of specifying build dependencies for your package.
PkgBR:
- git
PkgConfigBR: PkgConfigBR:
- sailfishapp >= 1.0.2 - sailfishapp >= 1.0.2
- Qt5Core - Qt5Core

View file

@ -1,6 +1,15 @@
project(harbour-sailfin-sailfish) project(harbour-sailfin-sailfish)
# find_library(SAILFISH sailfishapp 1.0 REQUIRED) # find_library(SAILFISH sailfishapp 1.0 REQUIRED)
include(ExternalProject)
# FIXME: don't hardcode /home/deploy/installroot/
set(DEPLOY_ROOT /home/deploy/installroot/)
ExternalProject_Add(BlurhashQt
# PREFIX ${CMAKE_CURRENT_BINARY_DIR}/lib/blurhash-qt
GIT_REPOSITORY https://github.com/HenkKalkwater/BlurhashQt.git
GIT_TAG 6a0d05919a798eedeacdbc30507470b774b90f8d
CMAKE_ARGS -DBUILD_SHARED_LIBS:BOOL=ON -DENABLE_EXPORT=OFF -DCMAKE_INSTALL_LIBDIR=${DEPLOY_ROOT}usr/share/harbour-sailfin/plugins)
find_package(Qt5 COMPONENTS Gui Qml Quick) find_package(Qt5 COMPONENTS Gui Qml Quick)
find_package(SailfishApp 1.0 REQUIRED) find_package(SailfishApp 1.0 REQUIRED)