snowman, revbump, switch SOURCE_URI (#13009)

bump boost requirement
old repository is archived/empty
This commit is contained in:
Schrijvers Luc
2025-10-04 09:14:34 +02:00
committed by GitHub
parent fd5200f35f
commit 7f1cc43643
2 changed files with 14 additions and 88 deletions

View File

@@ -1,78 +0,0 @@
SUMMARY="A native code to C/C++ decompiler"
DESCRIPTION="Snowman is a native code to C/C++ decompiler, \
supporting x86, AMD64, and ARM architectures. You can use it \
as a standalone GUI application, command-line tool, IDA plug-in \
or a library. Snowman is free software.\
* Supports ARM, x86, and x86-64 architectures.
* Reads ELF, Mach-O, and PE file formats
* Reconstructs functions, their names and arguments, local and global variables,
expressions, integer, pointer and structural types, all types of control-flow
structures, including switch.
* Has a nice graphical user interface with one-click navigation between the
assembler code and the reconstructed program.
* Has a command-line interface for batch processing."
HOMEPAGE="https://derevenets.com"
COPYRIGHT="2010 Yegor Derevenets"
LICENSE="GNU GPL v3"
REVISION="2"
SOURCE_URI="https://github.com/yegord/snowman/archive/v$portVersion.zip"
CHECKSUM_SHA256="45a9bf4dd0805c1c42155b6c5ff1c86bb28273dbf1453e958cfeee3cec086bc0"
ARCHITECTURES="all !x86_gcc2 ?x86"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
snowman$secondaryArchSuffix
app:Snowman$secondaryArchSuffix
cmd:nocode$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
qt5$secondaryArchSuffix
lib:libboost_filesystem$secondaryArchSuffix
lib:libboost_iostreams$secondaryArchSuffix
lib:libboost_program_options$secondaryArchSuffix
lib:libboost_system$secondaryArchSuffix
lib:libcapstone$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
qt5${secondaryArchSuffix}_devel
devel:libboost_filesystem$secondaryArchSuffix
devel:libboost_iostreams$secondaryArchSuffix
devel:libboost_program_options$secondaryArchSuffix
devel:libboost_system$secondaryArchSuffix
devel:libcapstone$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
cmd:qmake$secondaryArchSuffix >= 5
"
BUILD()
{
cmake src -DBOOST_ROOT=$portPackageLinksDir/devel~libboost_program_options/develop \
-DCMAKE_BUILD_TYPE=Release \
-DIDA_PLUGIN_ENABLED=NO \
-DNC_QT5=YES
make $jobArgs
}
INSTALL()
{
mkdir -p $binDir
mkdir -p $appsDir
cp nocode/nocode $binDir
cp snowman/snowman $appsDir/Snowman
addAppDeskbarSymlink $appsDir/Snowman
}
TEST()
{
make test
}

View File

@@ -14,17 +14,19 @@ assembler code and the reconstructed program.
HOMEPAGE="https://derevenets.com"
COPYRIGHT="2010 Yegor Derevenets"
LICENSE="GNU GPL v3"
REVISION="3"
SOURCE_URI="https://github.com/yegord/snowman/archive/v$portVersion.zip"
CHECKSUM_SHA256="6baf2e2dc2e66e43f708b5ee7490b08676e0756a04f059b3b6be5fe3ec385cd5"
SOURCE_FILENAME="snowman-$portVersion.zip"
REVISION="4"
srcGitRev="261ae131ea3f4a91b19736d26c86ed1d993effef"
SOURCE_URI="https://github.com/djaessel/snowman/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="71dab9c2f1b372f364ce02aa2680de1b1ba446bf590d216e3969fdbe1bbe9031"
SOURCE_FILENAME="snowman-$portVersion-$srcGitRev.tar.gz"
SOURCE_DIR="snowman-$srcGitRev"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
snowman$secondaryArchSuffix
app:Snowman$secondaryArchSuffix
app:Snowman
cmd:nocode$secondaryArchSuffix
"
REQUIRES="
@@ -41,10 +43,10 @@ REQUIRES="
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libboost_filesystem$secondaryArchSuffix >= 1.69.0
devel:libboost_iostreams$secondaryArchSuffix >= 1.69.0
devel:libboost_program_options$secondaryArchSuffix >= 1.69.0
devel:libboost_system$secondaryArchSuffix >= 1.69.0
devel:libboost_filesystem$secondaryArchSuffix >= 1.88.0
devel:libboost_iostreams$secondaryArchSuffix >= 1.88.0
devel:libboost_program_options$secondaryArchSuffix >= 1.88.0
devel:libboost_system$secondaryArchSuffix >= 1.88.0
devel:libcapstone$secondaryArchSuffix
devel:libQt5Core$secondaryArchSuffix
devel:libQt5Gui$secondaryArchSuffix
@@ -63,8 +65,10 @@ BUILD()
{
cmake src -DBOOST_ROOT=$portPackageLinksDir/devel~libboost_program_options/develop \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DIDA_PLUGIN_ENABLED=NO \
-DNC_QT5=YES
-DNC_QT5=YES \
-Wno-dev
make $jobArgs
}