mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-22 11:39:25 +00:00
depends: build qt with ninja
This commit is contained in:
parent
f236ceb75f
commit
ecfcd728ce
4 changed files with 11 additions and 9 deletions
|
@ -183,11 +183,10 @@ define $(package)_config_cmds
|
|||
./configure -top-level $($(package)_config_opts)
|
||||
endef
|
||||
|
||||
# https://bugreports.qt.io/browse/QTBUG-112018
|
||||
define $(package)_build_cmds
|
||||
export LD_LIBRARY_PATH=${build_prefix}/lib/ && \
|
||||
unset CMAKE_PREFIX_PATH && \
|
||||
$(MAKE) || $(MAKE)
|
||||
cmake --build . --parallel
|
||||
endef
|
||||
|
||||
define $(package)_stage_cmds
|
||||
|
|
|
@ -180,7 +180,6 @@ $(package)_config_opts_mingw32 += -xplatform win32-g++
|
|||
$(package)_config_opts_mingw32 += -device-option CROSS_COMPILE="$(host)-"
|
||||
$(package)_config_opts_mingw32 += -pch
|
||||
$(package)_config_opts_mingw32 += -qt-host-path $(build_prefix)/qt-host
|
||||
$(package)_config_opts_mingw32 += -no-feature-ffmpeg
|
||||
$(package)_config_opts_mingw32 += -wmf
|
||||
$(package)_config_opts_mingw32 += -- -DCMAKE_TOOLCHAIN_FILE=WindowsToolchain.cmake -DCMAKE_LIBRARY_PATH=$(HOME)/.guix-profile/lib
|
||||
|
||||
|
@ -312,23 +311,23 @@ endif
|
|||
ifeq ($(host_os),darwin)
|
||||
define $(package)_build_cmds
|
||||
export LD_LIBRARY_PATH="${build_prefix}/lib/:$(QT_LIBS_LIBS)" && \
|
||||
env -u C_INCLUDE_PATH -u CPLUS_INCLUDE_PATH -u OBJC_INCLUDE_PATH -u OBJCPLUS_INCLUDE_PATH -u CPATH -u LIBRARY_PATH $(MAKE)
|
||||
env -u C_INCLUDE_PATH -u CPLUS_INCLUDE_PATH -u OBJC_INCLUDE_PATH -u OBJCPLUS_INCLUDE_PATH -u CPATH -u LIBRARY_PATH cmake --build . --parallel
|
||||
endef
|
||||
else ifeq ($(host_os),mingw32)
|
||||
define $(package)_build_cmds
|
||||
export LD_LIBRARY_PATH="${build_prefix}/lib/:$(QT_LIBS_LIBS)" && \
|
||||
$(MAKE)
|
||||
cmake --build . --parallel
|
||||
endef
|
||||
else ifneq (,$(findstring x86_64,$(HOST)))
|
||||
define $(package)_build_cmds
|
||||
export LD_LIBRARY_PATH="${build_prefix}/lib/:$(QT_LIBS_LIBS)" && \
|
||||
cmake --build . --target syncqt_build && \
|
||||
$(MAKE)
|
||||
cmake --build . --parallel
|
||||
endef
|
||||
else
|
||||
define $(package)_build_cmds
|
||||
export LD_LIBRARY_PATH="${build_prefix}/lib/:$(QT_LIBS_LIBS)" && \
|
||||
$(MAKE)
|
||||
cmake --build . --parallel
|
||||
endef
|
||||
endif
|
||||
|
||||
|
|
|
@ -692,8 +692,8 @@ index 000000000..c07c0ebc7
|
|||
+#ifdef Q_OS_DARWIN
|
||||
+#include "qavfcamera_p.h"
|
||||
+#elif defined(Q_OS_WINDOWS)
|
||||
+#include "qwindowscamera_p.h"
|
||||
+#include "qwindowsvideodevices_p.h"
|
||||
+#include "../windows/mediacapture/qwindowscamera_p.h"
|
||||
+#include "../windows/qwindowsvideodevices_p.h"
|
||||
+#endif
|
||||
+
|
||||
+#if QT_CONFIG(linux_v4l)
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
(gnu packages base)
|
||||
(gnu packages bash)
|
||||
(gnu packages bison)
|
||||
(gnu packages build-tools)
|
||||
(gnu packages certs)
|
||||
(gnu packages check)
|
||||
(gnu packages cmake)
|
||||
|
@ -25,6 +26,7 @@
|
|||
(gnu packages llvm)
|
||||
(gnu packages mingw)
|
||||
(gnu packages moreutils)
|
||||
(gnu packages ninja)
|
||||
(gnu packages perl)
|
||||
(gnu packages pkg-config)
|
||||
(gnu packages python)
|
||||
|
@ -321,6 +323,8 @@ chain for " target " development."))
|
|||
gettext-minimal
|
||||
squashfs-tools
|
||||
cmake-minimal
|
||||
meson
|
||||
ninja
|
||||
;; Native GCC 10 toolchain
|
||||
gcc-toolchain-10
|
||||
(list gcc-toolchain-10 "static")
|
||||
|
|
Loading…
Reference in a new issue