Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gitqlient: Update to v1.6.2 #10212

Merged
merged 7 commits into from
Mar 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions dev-vcs/gitqlient/additional-files/gitqlient.rdef.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resource app_signature "application/x-vnd.qt5-gitqlient";
resource app_signature "@APP_SIGNATURE@";

resource app_flags B_MULTIPLE_LAUNCH;

Expand All @@ -11,7 +11,7 @@ resource app_version {
internal = 0,

short_info = "Graphical Git client",
long_info = "A multi-platform Git client"
long_info = "@LONG_INFO"
};


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,35 +20,19 @@ suposed to be."
HOMEPAGE="https://francescmm.github.io/GitQlient/"
COPYRIGHT="2020 Francesc Martinez"
LICENSE="GNU LGPL v2.1"
REVISION="2"
REVISION="1"
baseUrl="https://codeload.github.com/francescmm"
bmtCommitHash="44dde32d9e79c075a03190bc86753102b14ac663"
qlCommitHash="049bf73c50ceeadd5de989f76258d94d97b1dce8"
qpwCommitHash="4a9d3af084194b803dc8e2b89640b9a97043dab7"
SOURCE_URI="https://github.com/francescmm/GitQlient/archive/v1.2.0-rc.tar.gz"
CHECKSUM_SHA256="2bfd11994c89961c7af4b5cfd90e7d112c38898e60555fc694f9e057ddf51e5e"
SOURCE_DIR="GitQlient-1.2.0-rc"
SOURCE_URI_2="$baseUrl/BenchmarkTool/zip/$bmtCommitHash"
SOURCE_DIR_2="BenchmarkTool-$bmtCommitHash"
SOURCE_FILE_2="BenchmarkTool.zip"
CHECKSUM_SHA256_2="3ced0371b1380787141eb8e382dc38ccc978891c6f2796a1c92d8d7633d120d2"
SOURCE_URI_3="$baseUrl/QLogger/zip/$qlCommitHash"
SOURCE_DIR_3="QLogger-$qlCommitHash"
SORUCE_FILE_3="QLogger.zip"
CHECKSUM_SHA256_3="170dc02d91e9e17c8b900e4fc693fc38fe9dad1aba4602da821ce8d81f135666"
SOURCE_URI_4="$baseUrl/QPinnableTabWidget/zip/$qpwCommitHash"
SOURCE_DIR_4="QPinnableTabWidget-$qpwCommitHash"
SOURCE_FILE_4="QPinnableTabWidget.zip"
CHECKSUM_SHA256_4="ebde7f5c0ff92050a660b85af02d1aee988b7054e78bc1ba1eb3a70e5dbc4d22"
SOURCE_URI="https://github.com/francescmm/GitQlient/releases/download/v$portVersion/gitqlient_$portVersion.tar.gz"
CHECKSUM_SHA256="4d412813a2addba7befc6099c49798ece4e98e16159de98db3994f5fe2330770"
SOURCE_DIR="gitqlient_$portVersion"
ADDITIONAL_FILES="gitqlient.rdef.in"
PATCHES="gitqlient-1.2.0.patchset"

ARCHITECTURES="all !x86_gcc2 ?arm ?ppc"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"

PROVIDES="
gitqlient$secondaryArchSuffix = $portVersion
app:GitQlient
app:GitQlient = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
Expand All @@ -57,52 +41,52 @@ REQUIRES="
lib:libGL$secondaryArchSuffix
lib:libQt5Core$secondaryArchSuffix
lib:libQt5Gui$secondaryArchSuffix
lib:libQt5Network$secondaryArchSuffix
lib:libQt5Widgets$secondaryArchSuffix
"

BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libQt5Core$secondaryArchSuffix
devel:libQt5Gui$secondaryArchSuffix
devel:libQt5Network$secondaryArchSuffix
devel:libQt5Widgets$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:sed
cmd:pkg_config$secondaryArchSuffix
cmd:qmake$secondaryArchSuffix >= 5
cmd:sed
"

defineDebugInfoPackage gitqlient$secondaryArchSuffix \
Begasus marked this conversation as resolved.
Show resolved Hide resolved
$appsDir/GitQlient

BUILD()
{
cd $sourceDir

cp -rf /$sourceDir2/* $sourceDir/BenchmarkTool
cp -rf /$sourceDir3/* $sourceDir/QLogger
cp -rf /$sourceDir4/* $sourceDir/QPinnableTabWidget

qmake GitQlient.pro
make $jobArgs
}

INSTALL()
{
mkdir -p $appsDir
cp GitQlient $appsDir
cp gitqlient $appsDir/GitQlient

local APP_SIGNATURE="application/x-vnd.qt5-gitqlient"
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
local MINOR="`echo "$portVersion" | cut -d. -f3 | cut -d~ -f1`"
local LONG_INFO="$SUMMARY"

sed \
-e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \
-e "s|@MAJOR@|$MAJOR|" \
-e "s|@MIDDLE@|$MIDDLE|" \
-e "s|@MINOR@|$MINOR|" \
-e "s|@LONG_INFO@|$LONG_INFO|" \
$portDir/additional-files/gitqlient.rdef.in > gitqlient.rdef

addResourcesToBinaries gitqlient.rdef $appsDir/GitQlient
Expand Down
117 changes: 0 additions & 117 deletions dev-vcs/gitqlient/patches/gitqlient-1.2.0.patchset

This file was deleted.