mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-15 21:57:02 +02:00
New package: qscintilla-qt6-2.14.1
This commit is contained in:
parent
68549a7d64
commit
b91a8676b8
4 changed files with 70 additions and 0 deletions
|
@ -3032,6 +3032,7 @@ libCGAL.so.13 cgal-4.10_1
|
|||
libCGAL_Core.so.13 cgal-4.10_1
|
||||
libCGAL_ImageIO.so.14 cgal-4.14_1
|
||||
libqscintilla2_qt5.so.15 qscintilla-qt5-2.11_1
|
||||
libqscintilla2_qt6.so.15 qscintilla-qt6-2.14.1_1
|
||||
liblxpanel.so.0 lxpanel-0.9.3_1
|
||||
libuim.so.8 uim-1.8.6_1
|
||||
libuim-scm.so.0 uim-1.8.6_1
|
||||
|
|
1
srcpkgs/qscintilla-qt6-devel
Symbolic link
1
srcpkgs/qscintilla-qt6-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
qscintilla-qt6
|
66
srcpkgs/qscintilla-qt6/template
Normal file
66
srcpkgs/qscintilla-qt6/template
Normal file
|
@ -0,0 +1,66 @@
|
|||
# Template file for 'qscintilla-qt6'
|
||||
# Keep synced with python3-pyqt6-qsci
|
||||
pkgname=qscintilla-qt6
|
||||
version=2.14.1
|
||||
revision=1
|
||||
build_wrksrc=src
|
||||
build_style=qmake
|
||||
hostmakedepends="qt6-base-devel pkg-config"
|
||||
makedepends="qt6-tools-devel"
|
||||
short_desc="Qt6 port of Neil Hodgson's Scintilla C++ editor class"
|
||||
maintainer="Eloi Torrents <eloitor@duck.com>"
|
||||
license="GPL-3.0-only"
|
||||
homepage="https://www.riverbankcomputing.com/software/qscintilla/intro"
|
||||
distfiles="https://www.riverbankcomputing.com/static/Downloads/QScintilla/${version}/QScintilla_src-${version}.tar.gz"
|
||||
checksum=dfe13c6acc9d85dfcba76ccc8061e71a223957a6c02f3c343b30a9d43a4cdd4d
|
||||
|
||||
post_configure() {
|
||||
local _qt_arch
|
||||
local qmake_args
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
case $XBPS_TARGET_MACHINE in
|
||||
i686*) _qt_arch=i386;;
|
||||
x86_64*) _qt_arch=x86_64;;
|
||||
aarch64*) _qt_arch=arm64;;
|
||||
arm*) _qt_arch=arm;;
|
||||
mips*) _qt_arch=mips;;
|
||||
ppc64*) _qt_arch=power64;;
|
||||
ppc*) _qt_arch=power;;
|
||||
esac
|
||||
qmake_args="-qtconf ${wrksrc}/src/qt.conf
|
||||
PKG_CONFIG_EXECUTABLE=${XBPS_WRAPPERDIR}/${PKG_CONFIG}"
|
||||
fi
|
||||
cd $wrksrc/designer
|
||||
/usr/lib/qt6/bin/qmake \
|
||||
${qmake_args} \
|
||||
PREFIX=/usr \
|
||||
QT_INSTALL_PREFIX=/usr \
|
||||
LIB=/usr/lib \
|
||||
QMAKE_CC=$CC QMAKE_CXX=$CXX \
|
||||
QMAKE_LINK=$CXX QMAKE_LINK_C=$CC \
|
||||
QMAKE_CFLAGS="${CFLAGS} -I$wrksrc/src" \
|
||||
QMAKE_CXXFLAGS="${CXXFLAGS} -I$wrksrc/src" \
|
||||
QMAKE_LFLAGS="${LDFLAGS}" \
|
||||
${_qt_arch:+"QT_TARGET_ARCH=$_qt_arch"} \
|
||||
CONFIG+=no_qt_rpath
|
||||
}
|
||||
|
||||
post_build() {
|
||||
make -C $wrksrc/designer ${makejobs} CC="$CC" CXX="$CXX" LINK="$CXX"
|
||||
}
|
||||
|
||||
post_install() {
|
||||
make -C $wrksrc/designer STRIP=true PREFIX=/usr DESTDIR=${DESTDIR} \
|
||||
INSTALL_ROOT=${DESTDIR} install
|
||||
}
|
||||
|
||||
qscintilla-qt6-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove "usr/lib/*.so"
|
||||
vmove usr/lib/qt6/mkspecs
|
||||
vmove usr/share/qt6/qsci/api
|
||||
}
|
||||
}
|
2
srcpkgs/qscintilla-qt6/update
Normal file
2
srcpkgs/qscintilla-qt6/update
Normal file
|
@ -0,0 +1,2 @@
|
|||
site="https://www.riverbankcomputing.com/software/qscintilla/download"
|
||||
pattern='QScintilla[_a-zA-Z]*-\K[\d.]+(?=.tar.gz)'
|
Loading…
Add table
Reference in a new issue