Files
haikuports/games-board/chessx/chessx-1.4.6.recipe
Jerome Duval dedc2c6324 code style.
2018-08-06 15:08:49 +02:00

89 lines
2.3 KiB
Bash

SUMMARY="A free and open source chess database application"
DESCRIPTION="With ChessX you can operate your collection of chess games \
in many ways: browse, edit, add, organize, analyze, etc."
HOMEPAGE="https://chessx.sourceforge.net/"
COPYRIGHT="2005-2016 ChessX developers
1990-2000 Info-ZIP
1998-2005 Gilles Vollant
1999-2004 Shane Hudson
2003 Sune Fischer
2005 Kamil Przybyla
2005-2006 Ejner Borgbjerg
2005-2006 William Hoggarth
2005-2007 Marius Roets
2005-2010 Michal Rudolf
2005-2011 Sergey A. Tachenov
2006 Tobias Koenig
2006-2007 Pascal Georges
2006-2007 Sean Estabrooks
2007 Heinz R. Hopfgartner
2007 Rico Zenklusen
2010 P. Sereno
2011 Nokia Corporation and/or its subsidiary(-ies).
2012-2016 Jens Nissen
2014 Digia Plc and/or its subsidiary(-ies).
2014 Markus Kolb"
LICENSE="GNU GPL v2
BSD (3-clause)
GNU LGPL v2
GNU LGPL v2.1
Digia Qt LGPL Exception v1.1"
REVISION="1"
SOURCE_URI="https://downloads.sourceforge.net/chessx/chessx-$portVersion.tgz"
CHECKSUM_SHA256="ad951910a3bd53f5655f9e85101e7969b536078473e09a2a7dded6ef171a68ed"
ARCHITECTURES="!x86_gcc2 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
chessx$secondaryArchSuffix = $portVersion
app:chessx = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libgl$secondaryArchSuffix
lib:libQt5Gui$secondaryArchSuffix
lib:libQt5Multimedia$secondaryArchSuffix
lib:libQt5Network$secondaryArchSuffix
lib:libQt5PrintSupport$secondaryArchSuffix
lib:libQt5Svg$secondaryArchSuffix
lib:libQt5Widgets$secondaryArchSuffix
lib:libQt5Xml$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libgl$secondaryArchSuffix
devel:libQt5Gui$secondaryArchSuffix
devel:libQt5Multimedia$secondaryArchSuffix
devel:libQt5Network$secondaryArchSuffix
devel:libQt5PrintSupport$secondaryArchSuffix
devel:libQt5Svg$secondaryArchSuffix
devel:libQt5Widgets$secondaryArchSuffix
devel:libQt5Xml$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:linguist$secondaryArchSuffix >= 5
cmd:make
cmd:qmake$secondaryArchSuffix
"
defineDebugInfoPackage chessx$secondaryArchSuffix \
$appsDir/chessx
BUILD()
{
qmake
make $jobArgs
}
INSTALL()
{
install -d $appsDir $docDir
install -t $appsDir -m755 release/chessx
install -t $docDir -m644 ChangeLog TODO
addAppDeskbarSymlink $appsDir/chessx ChessX
}