mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
57 lines
1.3 KiB
Bash
57 lines
1.3 KiB
Bash
SUMMARY="A Qt-based git GUI viewer"
|
|
DESCRIPTION="With qgit you will be able to browse revisions history,\
|
|
view patch content and changed files, graphically following different \
|
|
development branches."
|
|
HOMEPAGE="https://github.com/tibirna/qgit"
|
|
COPYRIGHT="2005-2008 Marco Costalba
|
|
2011-2019 Cristian Tibirna"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/tibirna/qgit/archive/qgit-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="69788efda7d434d1bc094bb414bd92c269dc7894326320634500b05d63c008e8"
|
|
SOURCE_DIR="qgit-qgit-$portVersion"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
qgit$secondaryArchSuffix = $portVersion
|
|
app:QGit
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
cmd:git
|
|
lib:libGL$secondaryArchSuffix
|
|
lib:libQt5Core$secondaryArchSuffix
|
|
lib:libQt5Gui$secondaryArchSuffix
|
|
lib:libQt5Widgets$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libQt5Core$secondaryArchSuffix
|
|
devel:libQt5Gui$secondaryArchSuffix
|
|
devel:libQt5Widgets$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:qmake$secondaryArchSuffix >= 5
|
|
"
|
|
|
|
defineDebugInfoPackage qgit$secondaryArchSuffix \
|
|
$appsDir/QGit
|
|
|
|
BUILD()
|
|
{
|
|
qmake qgit.pro
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir
|
|
cp bin/qgit $appsDir/QGit
|
|
addAppDeskbarSymlink $appsDir/QGit
|
|
}
|