2019-02-18 14:10:35 +01:00
|
|
|
# Template file for 'qt5pas'
|
|
|
|
pkgname=qt5pas
|
|
|
|
version=2.6~beta
|
2019-02-18 19:10:47 +01:00
|
|
|
revision=2
|
2019-02-18 14:10:35 +01:00
|
|
|
wrksrc=cbindings
|
|
|
|
build_style=qmake
|
|
|
|
hostmakedepends="qt5-qmake"
|
|
|
|
makedepends="qt5-devel qt5-x11extras-devel"
|
|
|
|
short_desc="Qt5 interface bindings for Pascal"
|
|
|
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
|
|
|
license="LGPL-3.0-or-later"
|
|
|
|
homepage="https://svn.freepascal.org/svn/lazarus/trunk/lcl/interfaces/qt5/cbindings"
|
|
|
|
distfiles="${DEBIAN_SITE}/main/libq/libqtpas/libqtpas_${version}.orig.tar.xz"
|
|
|
|
checksum=fcc5f695d60d5f72bf501b2fa779e8a1a2636c8d991270b5b3fef3d0e990365c
|
|
|
|
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
hostmakedepends+=" qt5-devel qt5-x11extras-devel"
|
|
|
|
fi
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vinstall qt5.pas 0644 usr/share/pascal/qt5
|
|
|
|
}
|
|
|
|
|
|
|
|
qt5pas-devel_package() {
|
2019-02-18 19:10:47 +01:00
|
|
|
depends="qt5pas-${version}_${revision} qt5-devel qt5-x11extras-devel"
|
2019-02-18 14:10:35 +01:00
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove "usr/share/pascal/qt5/*.pas"
|
|
|
|
}
|
|
|
|
}
|