2022-12-21 15:15:22 +00:00
|
|
|
package=appimage_runtime
|
2023-10-16 14:02:13 +00:00
|
|
|
$(package)_version=c9553b05938b22849ac3255ac923bf8e775ce539
|
2023-03-30 09:48:09 +00:00
|
|
|
$(package)_download_path=https://github.com/AppImage/type2-runtime/archive/
|
2022-12-21 15:15:22 +00:00
|
|
|
$(package)_file_name=$($(package)_version).tar.gz
|
2023-10-16 14:02:13 +00:00
|
|
|
$(package)_sha256_hash=4a27451013b571cf9f5a13660719d091cc79f2344aafa2e48578ddc0e4618af1
|
2023-03-30 09:48:09 +00:00
|
|
|
$(package)_dependencies=libsquashfuse zstd
|
|
|
|
$(package)_patches=depends-fix.patch
|
2022-12-21 15:15:22 +00:00
|
|
|
|
|
|
|
define $(package)_preprocess_cmds
|
2023-03-30 09:48:09 +00:00
|
|
|
patch -p1 < $($(package)_patch_dir)/depends-fix.patch
|
2022-12-21 15:15:22 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_build_cmds
|
2023-03-30 09:48:09 +00:00
|
|
|
cd src/runtime && \
|
|
|
|
export host_prefix="$(host_prefix)" && \
|
2023-10-16 14:02:13 +00:00
|
|
|
$(MAKE) runtime-fuse3 -e CC=$($(package)_cc) LDLAGS="$($(package)_ldflags)" && \
|
|
|
|
"${HOST}-strip" runtime-fuse3
|
2022-12-21 15:15:22 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_stage_cmds
|
2023-03-30 09:48:09 +00:00
|
|
|
cd src/runtime && \
|
2023-10-16 14:02:13 +00:00
|
|
|
cp -a runtime-fuse3 $($(package)_staging_prefix_dir)/runtime
|
2023-03-30 09:48:09 +00:00
|
|
|
endef
|