gitqlient: Update to v1.6.2 (#10212)

* Update to v1.6.2
This commit is contained in:
Chris Brunner
2024-03-15 02:40:57 -04:00
committed by GitHub
parent f2776387c6
commit 365810601e
3 changed files with 16 additions and 149 deletions

View File

@@ -0,0 +1,94 @@
SUMMARY="A multi-platform Git client"
DESCRIPTION="GitQlient, pronounced as git+client (/gɪtˈklaɪənt/) is a \
multi-platform Git client originally forked from QGit.
Nowadays, it goes beyond of just a fork and adds a lot of new functionality.
Some of the major features you can find are:
* Easy access to remote actions like: push, pull, submodule management and \
branches
* Branch management
* Tag and stash management
* Submodule handling
* Open several repositories in the same window
* Better visualization of the commits and the work in progress
* Better visualization of the repository view
* Improved UI experience
* Easy access to the main Git actions
* Better code separation between Views and Models
* Simplification of different options, keeping it to what a Git client is \
suposed to be."
HOMEPAGE="https://francescmm.github.io/GitQlient/"
COPYRIGHT="2020 Francesc Martinez"
LICENSE="GNU LGPL v2.1"
REVISION="1"
baseUrl="https://codeload.github.com/francescmm"
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"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
gitqlient$secondaryArchSuffix = $portVersion
app:GitQlient = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
cmd:file
cmd:git
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:pkg_config$secondaryArchSuffix
cmd:qmake$secondaryArchSuffix >= 5
cmd:sed
"
defineDebugInfoPackage gitqlient$secondaryArchSuffix \
$appsDir/GitQlient
BUILD()
{
qmake GitQlient.pro
make $jobArgs
}
INSTALL()
{
mkdir -p $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
addAppDeskbarSymlink $appsDir/GitQlient
}