mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-02 21:18:51 +02:00
91 lines
2.5 KiB
Bash
91 lines
2.5 KiB
Bash
SUMMARY="A port to Qt of the Scintilla editing component"
|
|
DESCRIPTION="As well as features found in standard text editing components, \
|
|
Scintilla includes features especially useful when editing and debugging \
|
|
source code:
|
|
|
|
* syntax styling with support for over 70 languages
|
|
* error indicators
|
|
* code completion
|
|
* call tips
|
|
* code folding
|
|
* margins can contain markers like those used in debuggers to indicate \
|
|
breakpoints and the current line
|
|
* recordable macros
|
|
* multiple views
|
|
* printing
|
|
|
|
QScintilla is a port or Scintilla to the Qt GUI toolkit from The Qt Company \
|
|
and runs on any operating system supported by Qt (eg. Windows, Linux, OS X, \
|
|
iOS and Android). QScintilla works with Qt v4 and v5.
|
|
|
|
QScintilla also includes language bindings for Python. These require that \
|
|
PyQt v4 or v5 is also installed.
|
|
|
|
This version of QScintilla is based on Scintilla v3.5.4."
|
|
HOMEPAGE="https://www.riverbankcomputing.com/software/qscintilla/"
|
|
COPYRIGHT="2015-2017 Riverbank Computing Limited"
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="1"
|
|
SOURCE_URI="https://sourceforge.net/projects/pyqt/files/QScintilla2/QScintilla-$portVersion/QScintilla_gpl-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="97f98a9d91f908db6ce37fecc6d241d955b388a1c487173b60726cba9a3dfa64"
|
|
SOURCE_DIR="QScintilla_gpl-$portVersion"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
qscintilla$secondaryArchSuffix = $portVersion
|
|
lib:libqscintilla2_qt5$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libgl$secondaryArchSuffix
|
|
lib:libQt5Core$secondaryArchSuffix
|
|
lib:libQt5Gui$secondaryArchSuffix
|
|
lib:libQt5PrintSupport$secondaryArchSuffix
|
|
lib:libQt5Widgets$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
qscintilla${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libqscintilla2_qt5$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES_devel="
|
|
haiku${secondaryArchSuffix}_devel
|
|
qscintilla$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libQt5Core$secondaryArchSuffix
|
|
devel:libQt5Gui$secondaryArchSuffix
|
|
devel:libQt5PrintSupport$secondaryArchSuffix
|
|
devel:libQt5Widgets$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cd Qt4Qt5
|
|
qmake
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
cd Qt4Qt5
|
|
# doesn't work
|
|
# make INSTALL_ROOT=$PREFIX install
|
|
mkdir -p $libDir $includeDir
|
|
cp libqscintilla2_qt5* $libDir
|
|
cp -r Qsci $includeDir
|
|
|
|
prepareInstalledDevelLibs \
|
|
libqscintilla2_qt5
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|