mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
QScintilla: add WIP recipe for version 2.9.1
make install doesn't work yet
This commit is contained in:
76
x11-libs/qscintilla/qscintilla-2.9.1.recipe
Normal file
76
x11-libs/qscintilla/qscintilla-2.9.1.recipe
Normal file
@@ -0,0 +1,76 @@
|
||||
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 Riverbank Computing Limited"
|
||||
LICENSE="GNU GPL v3"
|
||||
SOURCE_URI="http://sourceforge.net/projects/pyqt/files/QScintilla2/QScintilla-$portVersion/QScintilla-gpl-$portVersion.zip"
|
||||
SOURCE_DIR="QScintilla-gpl-$portVersion"
|
||||
CHECKSUM_SHA256="00b362c19c6578e7a1ebd4faf0310784af082795b7fc111549e5774c4e513be3"
|
||||
REVISION="1"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86"
|
||||
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
PROVIDES="
|
||||
qscintilla$secondaryArchSuffix = $portVersion
|
||||
lib:libqscintilla2$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku${secondaryArchSuffix}
|
||||
lib:libqt5$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
qscintilla${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libqscintilla2$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libqt5$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:make
|
||||
cmd:g++${secondaryArchSuffix}
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd Qt4Qt5
|
||||
qmake
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd Qt4Qt5
|
||||
# doesn't work
|
||||
make INSTALL_ROOT=$PREFIX install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libqscintilla2
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
Reference in New Issue
Block a user