iaito, bump version (#11215)

This commit is contained in:
Schrijvers Luc
2024-10-15 19:37:32 +02:00
committed by GitHub
parent 85f1383e8e
commit 4800bde260
2 changed files with 15 additions and 10 deletions

View File

@@ -14,7 +14,7 @@ COPYRIGHT="2023 radare2 developers et all"
LICENSE="GNU GPL v3"
REVISION="1"
SOURCE_URI="$HOMEPAGE/archive/refs/tags/$portVersion.tar.gz"
CHECKSUM_SHA256="0a0b9ccc7619e631d5cd38429aa0bac19a9b0ae1c688c11c364b71bbc302cfb3"
CHECKSUM_SHA256="e1f314df752dbb6be1cc3bd992a33e547f5f4734c8d93985ea13c631dfb18c71"
SOURCE_FILENAME="iaito-$portVersion.tar.gz"
srcGitRev_2="e66b3a962a7fc7dfd730764180011ecffbb206bf"
SOURCE_URI_2="https://github.com/radareorg/iaito-translations/archive/$srcGitRev_2.tar.gz"
@@ -47,6 +47,12 @@ REQUIRES="
lib:libz$secondaryArchSuffix
lib:libzip$secondaryArchSuffix
"
PROVIDES_translations="
iaito${secondaryArchSuffix}_translations
"
REQUIRES_translations="
iaito$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
@@ -61,7 +67,7 @@ BUILD_REQUIRES="
devel:libQt6Network$secondaryArchSuffix
devel:libQt6Svg$secondaryArchSuffix
devel:libQt6Widgets$secondaryArchSuffix
devel:libr_core$secondaryArchSuffix
devel:libr_core$secondaryArchSuffix == $portVersion
devel:libxxhash$secondaryArchSuffix
devel:liblz4$secondaryArchSuffix
devel:libz$secondaryArchSuffix
@@ -76,9 +82,6 @@ BUILD_PREREQUIRES="
cmd:pkg_config$secondaryArchSuffix
cmd:python3
cmd:qmake6$secondaryArchSuffix
# Needed for the translations
# qt6_tools$secondaryArchSuffix
# cmd:zip
"
defineDebugInfoPackage iaito$secondaryArchSuffix \
@@ -99,9 +102,8 @@ INSTALL()
cp build/iaito $prefix/bin
cp src/iaito.1 $manDir/man1
# importing the translations still crashes Iaito
# cd $sourceDir2/iaito-translations-$srcGitRev_2
# make PREFIX=$prefix install
cd $sourceDir2/iaito-translations-$srcGitRev_2
make PREFIX=$prefix install
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
@@ -117,4 +119,7 @@ INSTALL()
# crashes when launched from Terminal/Deskbar
# addAppDeskbarSymlink $prefix/bin/iaito Iaito
packageEntries translations \
$dataDir/Qt6
}

View File

@@ -1,4 +1,4 @@
From feb1a0a2c1eb40e276ee5931243d4b5718e75b2d Mon Sep 17 00:00:00 2001
From 46c246ec3cb73c5f82e703697cee9c4386592aee Mon Sep 17 00:00:00 2001
From: Schrijvers Luc <begasus@gmail.com>
Date: Sat, 10 Aug 2024 12:06:39 +0200
Subject: Fix install path for translations
@@ -23,7 +23,7 @@ index d6e0d20..815458f 100644
2.45.2
From f789e96db19600977a586b0bab8b28f6b6b40f7f Mon Sep 17 00:00:00 2001
From 8d80755d9297cc28ecda867206af212022d17431 Mon Sep 17 00:00:00 2001
From: Schrijvers Luc <begasus@gmail.com>
Date: Sat, 10 Aug 2024 12:57:37 +0200
Subject: Add path for Qt6 lrelease