]> Nutra Git (v1) - gamesguru/feather.git/commitdiff
depends: linux: don't build cmake
authortobtoht <tob@featherwallet.org>
Sun, 8 Jan 2023 13:56:54 +0000 (14:56 +0100)
committertobtoht <tob@featherwallet.org>
Mon, 9 Jan 2023 23:30:00 +0000 (00:30 +0100)
contrib/depends/packages/appimage_runtime.mk
contrib/depends/packages/libappimage.mk
contrib/depends/packages/libzip.mk
contrib/depends/packages/native_qt.mk
contrib/depends/packages/packages.mk
contrib/depends/packages/polyseed.mk
contrib/depends/packages/qt.mk
contrib/depends/toolchain.cmake.in
contrib/guix/manifest.scm

index 3f49889afa5034f9d139974a0a790507cc446c95..4f9b2c61666940e9d2ea683a92a3da2cc21f775e 100644 (file)
@@ -4,7 +4,7 @@ $(package)_version=13
 $(package)_download_path=https://github.com/AppImage/AppImageKit/archive/refs/tags/
 $(package)_file_name=$($(package)_version).tar.gz
 $(package)_sha256_hash=51b837c78dd99ecc1cf3dd283f4a98a1be665b01457da0edc1ff736d12974b1a
-$(package)_dependencies=native_cmake libsquashfuse libappimage liblzma
+$(package)_dependencies=libsquashfuse libappimage liblzma
 $(package)_patches=CMakeLists.txt runtime.c notify.c
 
 define $(package)_preprocess_cmds
index 14beef6a3af0b8d55f29f0e22dc345d950acdce7..12b0b628b5bd06569a7ada9a630e2c91e6db6e50 100644 (file)
@@ -3,7 +3,7 @@ $(package)_version=v0.1.x-legacy
 $(package)_download_path=https://github.com/AppImageCommunity/libappimage/archive/refs/heads/
 $(package)_file_name=$($(package)_version).tar.gz
 $(package)_sha256_hash=fef3962bfb75f986f24c530a6230e95b8c79e46da3dd581543f1b615d45e7389
-$(package)_dependencies=native_cmake liblzma libfuse libarchive
+$(package)_dependencies=liblzma libfuse libarchive
 $(package)_patches=no-unneeded-deps.patch
 
 define $(package)_preprocess_cmds
index 7bdb26f54b776dc6c439d6a26a4b5c424e181e44..b363829025efd580e50d0880d93afeda7f87d30a 100644 (file)
@@ -4,7 +4,6 @@ $(package)_download_path=https://libzip.org/download/
 $(package)_file_name=libzip-1.9.2.tar.gz
 $(package)_sha256_hash=fd6a7f745de3d69cf5603edc9cb33d2890f0198e415255d0987a0cf10d824c6f
 $(package)_dependencies=zlib
-$(package)_linux_dependencies=native_cmake
 $(package)_mingw32_dependencies=native_cmake
 $(package)_patches += no-clonefile.patch
 
index 20f2764c71638dad1c904d44dfab411bb0dc693d..7de11e51f9eb46e34e4b746eba386042044214b9 100644 (file)
@@ -5,7 +5,6 @@ $(package)_suffix=everywhere-src-$($(package)_version).tar.xz
 $(package)_file_name=qtbase-$($(package)_suffix)
 $(package)_sha256_hash=532ad71cc0f9c8f7cb92766c47bc3d23263c60876becd9053802f9727af24fae
 $(package)_dependencies=native_libxcb native_libxkbcommon native_libxcb_util native_libxcb_util_render native_libxcb_util_keysyms native_libxcb_util_image native_libxcb_util_wm
-$(package)_linux_dependencies=native_cmake
 $(package)_mingw32_dependencies=native_cmake
 $(package)_qt_libs=corelib network widgets gui plugins testlib
 $(package)_linguist_tools = lrelease lupdate lconvert
index e3b87ecf163f080f3ba94144992fcafd7d0f128d..f9ffce165bd9b7923da9af74496a2223dc87f147 100644 (file)
@@ -2,7 +2,7 @@ packages := boost openssl libiconv ldns unbound qrencode zbar sodium polyseed hi
 native_packages := native_expat native_libxcb native_xcb_proto native_libXau native_xproto native_freetype native_fontconfig native_libxkbcommon native_libxcb_util native_libxcb_util_render native_libxcb_util_keysyms native_libxcb_util_image native_libxcb_util_wm native_qt native_protobuf
 
 linux_packages := eudev liblzma libarchive libfuse libsquashfuse libappimage appimage_runtime
-linux_native_packages = native_cmake native_patchelf
+linux_native_packages = native_patchelf
 
 darwin_packages :=
 darwin_native_packages = native_cctools native_libtapi native_clang native_ds_store native_mac_alias
index 7bcab89c9e3302bdb63e9295e768fbbc22d1e1cf..b39d8e16475f830e415befc6b20149f95f8740ce 100644 (file)
@@ -3,7 +3,6 @@ $(package)_version=1.0.0
 $(package)_download_path=https://github.com/tevador/polyseed/archive/refs/tags/
 $(package)_file_name=v$($(package)_version).tar.gz
 $(package)_sha256_hash=45f1e6c08575286581079e6e26d341a3a33abe1f1ee2d026bd098cf632ea2349
-$(package)_linux_dependencies=native_cmake
 $(package)_mingw32_dependencies=native_cmake
 $(package)_patches=no_shared.patch force-static-mingw.patch 32-bit.patch
 
index 9f7d214b336e76c86de67647f88dbc97ade6fe91..2aae432eea3dad4937b4f363fb7eb9e12b69842c 100644 (file)
@@ -6,7 +6,7 @@ $(package)_file_name=qtbase-$($(package)_suffix)
 $(package)_sha256_hash=532ad71cc0f9c8f7cb92766c47bc3d23263c60876becd9053802f9727af24fae
 $(package)_darwin_dependencies=native_cctools native_qt openssl
 $(package)_mingw32_dependencies=openssl native_cmake native_qt native_freetype native_fontconfig native_libxkbcommon
-$(package)_linux_dependencies=openssl native_qt native_cmake native_freetype native_fontconfig libxcb libxkbcommon libxcb_util libxcb_util_render libxcb_util_keysyms libxcb_util_image libxcb_util_wm
+$(package)_linux_dependencies=openssl native_qt freetype fontconfig libxcb libxkbcommon libxcb_util libxcb_util_render libxcb_util_keysyms libxcb_util_image libxcb_util_wm
 $(package)_qt_libs=corelib network widgets gui plugins testlib
 $(package)_linguist_tools = lrelease lupdate lconvert
 $(package)_patches  = aarch64Toolchain.cmake
index 7c5eaffe68f34c2913c6b7769adfaebb72788537..89f5cf64b1192b0cf91564cd09b31476e7813bb5 100644 (file)
@@ -15,7 +15,11 @@ SET(BUILD_TESTS @build_tests@)
 SET(TREZOR_DEBUG @build_tests@)
 
 # where is the target environment 
-SET(CMAKE_FIND_ROOT_PATH @prefix@ /usr /gnu/store /feather/contrib/depends/SDKs/)
+SET(CMAKE_FIND_ROOT_PATH @prefix@ /feather/contrib/depends/SDKs/ /home/user/.guix-profile/@HOST@)
+
+if(CMAKE_SYSTEM_NAME STREQUAL "Linux" AND ARCHITECTURE STREQUAL "x86_64")
+  SET(CMAKE_FIND_ROOT_PATH ${CMAKE_FIND_ROOT_PATH} /home/user/.guix-profile/)
+endif()
 
 SET(ENV{PKG_CONFIG_PATH} @prefix@/lib/pkgconfig)
 
index 5fbe6ae2f176d6a58eefb52ea8bb5063e4ac147a..3a4ca4284471eacdd0eff90f8e24308c20511e95 100644 (file)
@@ -696,7 +696,8 @@ inspecting signatures in Mach-O binaries.")
                  (make-nsis-for-gcc-10 nsis-x86_64)
                  osslsigncode))
           ((string-contains target "-linux-")
-           (list (cond ((string-contains target "riscv64-")
+           (list cmake
+                 (cond ((string-contains target "riscv64-")
                         (make-bitcoin-cross-toolchain target
                                                       #:base-libc (make-glibc-with-stack-protector
                                                         (make-glibc-with-bind-now (make-glibc-without-werror glibc-2.27/bitcoin-patched)))))