mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
radare2, bump version (#11364)
This commit is contained in:
@@ -98,8 +98,12 @@ LICENSE="GNU GPL v3
|
||||
GNU LGPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/radare/radare2/archive/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="91a4475c16eb17015080b9b688e17e666d1982b0727e7aea71ddf0a7ad2ccd0d"
|
||||
CHECKSUM_SHA256="e45e4fd342f04b2e00363bc1b68cc375c1cf36041085d3d59caa7a3b7be43836"
|
||||
SOURCE_FILENAME="radare2-$portVersion.tar.gz"
|
||||
srcGitRev_2="87ab82cc96e83e02f044c0c4111ade2a65576c60"
|
||||
SOURCE_URI_2="https://github.com/radareorg/radare2-testbins/archive/$srcGitRev_2.tar.gz"
|
||||
CHECKSUM_SHA256_2="f32a2607b52b838030c22946d7a0c61cb56ac67d32496f0524fa5aa889d39152"
|
||||
SOURCE_DIR_2="radare2-testbins-$srcGitRev_2"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
@@ -165,6 +169,7 @@ REQUIRES="
|
||||
lib:liblz4$secondaryArchSuffix
|
||||
lib:libgmp$secondaryArchSuffix
|
||||
lib:libmagic$secondaryArchSuffix
|
||||
lib:libxxhash$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
lib:libzip$secondaryArchSuffix
|
||||
"
|
||||
@@ -199,6 +204,7 @@ REQUIRES_devel="
|
||||
radare2${secondaryArchSuffix} == $portVersion base
|
||||
devel:libcapstone$secondaryArchSuffix >= 5.0
|
||||
devel:liblz4$secondaryArchSuffix
|
||||
devel:libxxhash$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
devel:libzip$secondaryArchSuffix
|
||||
"
|
||||
@@ -210,6 +216,8 @@ BUILD_REQUIRES="
|
||||
devel:liblz4$secondaryArchSuffix
|
||||
devel:libgmp$secondaryArchSuffix
|
||||
devel:libmagic$secondaryArchSuffix
|
||||
devel:libssl$secondaryArchSuffix >= 3
|
||||
devel:libxxhash$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
devel:libzip$secondaryArchSuffix
|
||||
"
|
||||
@@ -219,6 +227,7 @@ BUILD_PREREQUIRES="
|
||||
cmd:meson
|
||||
cmd:ninja
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:python3
|
||||
"
|
||||
|
||||
# What happend with libr2.so?
|
||||
@@ -260,6 +269,9 @@ defineDebugInfoPackage radare2$secondaryArchSuffix \
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p test/bins
|
||||
cp -r $sourceDir2/* test/bins
|
||||
|
||||
# no need for these here, using system packages
|
||||
rm -rf shlr/zip/{zip,zlib,include}
|
||||
rm -rf shlr/lz4/{deps.mk,LICENSE,lz4.*,Makefile,README.md}
|
||||
@@ -271,10 +283,12 @@ BUILD()
|
||||
--libdir=$libDir \
|
||||
--includedir=$includeDir \
|
||||
-Duse_sys_capstone=true \
|
||||
-Duse_sys_zip=true \
|
||||
-Duse_sys_zlib=true \
|
||||
-Duse_sys_lz4=true \
|
||||
-Duse_sys_magic=true \
|
||||
-Duse_sys_magic=true \
|
||||
-Duse_sys_openssl=true \
|
||||
-Duse_sys_zip=true \
|
||||
-Duse_sys_zlib=true \
|
||||
-Denable_tests=true \
|
||||
-Duse_webui=false --reconfigure
|
||||
ninja -C build $jobArgs
|
||||
@@ -282,6 +296,7 @@ BUILD()
|
||||
|
||||
TEST_REQUIRES="
|
||||
cmd:radare2
|
||||
# cmd:pip3
|
||||
"
|
||||
|
||||
INSTALL()
|
||||
@@ -300,13 +315,10 @@ INSTALL()
|
||||
|
||||
TEST()
|
||||
{
|
||||
# SUMMARY
|
||||
# Ok: 60
|
||||
# Expected Fail: 0
|
||||
# Fail: 5
|
||||
# Unexpected Pass: 0
|
||||
# Skipped: 0
|
||||
# Timeout: 0
|
||||
# pip3 install --user r2pipe
|
||||
# all tests passed
|
||||
unset meson
|
||||
meson test --no-rebuild --print-errorlogs -C build
|
||||
|
||||
# pip3 uninstall r2pipe -y
|
||||
}
|
||||
Reference in New Issue
Block a user