mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
QGit: new recipe (#4625)
This commit is contained in:
committed by
Jérôme Duval
parent
3858612e37
commit
565da018db
56
dev-vcs/qgit/qgit-2.9.recipe
Normal file
56
dev-vcs/qgit/qgit-2.9.recipe
Normal file
@@ -0,0 +1,56 @@
|
||||
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="!x86_gcc2 x86 x86_64"
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user