ChessX: Initial recipe (#2089)

This commit is contained in:
tts2k
2018-01-11 20:22:20 +07:00
committed by fbrosson
parent e95657c45f
commit cedd34ea55
2 changed files with 110 additions and 0 deletions

View File

@@ -0,0 +1,88 @@
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
}

View File

@@ -0,0 +1,22 @@
Digia Qt LGPL Exception version 1.1
As an additional permission to the GNU Lesser General Public License version
2.1, the object code form of a "work that uses the Library" may incorporate
material from a header file that is part of the Library. You may distribute
such object code under terms of your choice, provided that:
(i) the header files of the Library have not been modified; and
(ii) the incorporated material is limited to numerical parameters, data
structure layouts, accessors, macros, inline functions and
templates; and
(iii) you comply with the terms of Section 6 of the GNU Lesser General
Public License version 2.1.
Moreover, you may apply this exception to a modified version of the Library,
provided that such modification does not involve copying material from the
Library into the modified Library's header files unless such material is
limited to (i) numerical parameters; (ii) data structure layouts;
(iii) accessors; and (iv) small macros, templates and inline functions of
five lines or less in length.
Furthermore, you are not required to apply this additional permission to a
modified version of the Library.