mirror of https://github.com/WerWolv/ImHex
92 lines
2.5 KiB
YAML
92 lines
2.5 KiB
YAML
name: imhex
|
|
title: ImHex
|
|
base: core24
|
|
version: ${IMHEX_VERSION_STRING}
|
|
summary: Hex editor for reverse engineering
|
|
description: ImHex is a hex editor for reverse engineering, reverse engineering, and analyzing binary files. It provides a powerful and flexible interface for working with binary data, including features like pattern matching, scripting, and a customizable user interface.
|
|
grade: stable
|
|
confinement: classic
|
|
contact: https://github.com/WerWolv/ImHex/discussions
|
|
issues: https://github.com/WerWolv/ImHex/issues
|
|
source-code: https://github.com/WerWolv/ImHex
|
|
website: https://imhex.werwolv.net
|
|
donation: https://github.com/sponsors/WerWolv
|
|
license: GPL-2.0-only
|
|
icon: resources/icon.svg
|
|
adopt-info: imhex
|
|
|
|
platforms:
|
|
amd64:
|
|
arm64:
|
|
|
|
apps:
|
|
imhex:
|
|
command: usr/local/bin/imhex
|
|
desktop: usr/local/share/applications/imhex.desktop
|
|
environment:
|
|
LD_LIBRARY_PATH: '$SNAP/usr/local/lib:$SNAP/usr/local/lib/imhex:$SNAP/usr/lib/x86_64-linux-gnu:$SNAP/usr/lib/aarch64-linux-gnu:$LD_LIBRARY_PATH'
|
|
XDG_DATA_DIRS: '$XDG_DATA_DIRS:$SNAP/usr/local/share:$SNAP/usr/local/lib:$SNAP/usr/local/share'
|
|
XDG_CONFIG_DIRS: '$XDG_CONFIG_DIRS:$SNAP/usr/local/share'
|
|
XDG_DATA_HOME: '$XDG_DATA_HOME:$SNAP_DATA'
|
|
|
|
parts:
|
|
imhex:
|
|
plugin: cmake
|
|
source: .
|
|
build-environment:
|
|
- CC: /usr/bin/gcc-14
|
|
- CXX: /usr/bin/g++-14
|
|
cmake-parameters:
|
|
- -DCMAKE_BUILD_TYPE=Release
|
|
- -DCMAKE_C_COMPILER_LAUNCHER=${CCACHE}
|
|
- -DCMAKE_CXX_COMPILER_LAUNCHER=${CCACHE}
|
|
- -DIMHEX_PATTERNS_PULL_MASTER=ON
|
|
cmake-generator: Ninja
|
|
build-packages:
|
|
- cmake
|
|
- ninja-build
|
|
- gcc-14
|
|
- g++-14
|
|
- git
|
|
- pkg-config
|
|
- libglfw3-dev
|
|
- libmagic-dev
|
|
- libmbedtls-dev
|
|
- libfontconfig-dev
|
|
- libfreetype-dev
|
|
- libdbus-1-dev
|
|
- libcurl4-gnutls-dev
|
|
- libgtk-3-dev
|
|
- zlib1g-dev
|
|
- libbz2-dev
|
|
- liblzma-dev
|
|
- libzstd-dev
|
|
- liblz4-dev
|
|
- libssh2-1-dev
|
|
- libmd4c-dev
|
|
- libmd4c-html0-dev
|
|
stage-packages:
|
|
- libglfw3
|
|
- libmagic1
|
|
- libmbedtls14
|
|
- libfontconfig1
|
|
- libfreetype6
|
|
- libdbus-1-3
|
|
- libcurl4-gnutls-dev
|
|
- libgtk-3-0
|
|
- zlib1g
|
|
- libbz2-1.0
|
|
- liblzma5
|
|
- libzstd1
|
|
- liblz4-1
|
|
- libssh2-1
|
|
prime:
|
|
- -usr/include/*
|
|
- -usr/local/include/*
|
|
- -usr/lib/**/*.a
|
|
- -usr/local/lib/**/*.a
|
|
- -usr/lib/**/*.la
|
|
- -usr/local/lib/**/*.la
|
|
- -usr/share/doc/*
|
|
- -usr/share/man/*
|