mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
New package: qt5pas-2.6~beta
This commit is contained in:
parent
8d3a6d6c88
commit
c6aa1dd91d
4 changed files with 2635 additions and 0 deletions
1
srcpkgs/qt5pas-devel
Symbolic link
1
srcpkgs/qt5pas-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
qt5pas
|
16
srcpkgs/qt5pas/patches/01-inlines-hidden.patch
Normal file
16
srcpkgs/qt5pas/patches/01-inlines-hidden.patch
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
Compile with -fvisibility-inlines-hidden to reduce
|
||||||
|
the amount of exported symbols that we need to take
|
||||||
|
care of in the .symbols file.
|
||||||
|
Index: libqtpas/Qt5Pas.pro
|
||||||
|
===================================================================
|
||||||
|
--- Qt5Pas.pro
|
||||||
|
+++ Qt5Pas.pro
|
||||||
|
@@ -21,7 +21,7 @@ TEMPLATE = lib
|
||||||
|
VPATH = src
|
||||||
|
MOC_DIR = tmp
|
||||||
|
OBJECTS_DIR = tmp
|
||||||
|
-QMAKE_CXXFLAGS += -Wfatal-errors
|
||||||
|
+QMAKE_CXXFLAGS += -Wfatal-errors -fvisibility-inlines-hidden
|
||||||
|
|
||||||
|
# Match Intel x86_64 i686 i586 i386 x86 ...
|
||||||
|
is86 = $$find(QMAKE_HOST.arch, ".*86")
|
2587
srcpkgs/qt5pas/patches/02-lazarus-2.0.0.patch
Normal file
2587
srcpkgs/qt5pas/patches/02-lazarus-2.0.0.patch
Normal file
File diff suppressed because it is too large
Load diff
31
srcpkgs/qt5pas/template
Normal file
31
srcpkgs/qt5pas/template
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# Template file for 'qt5pas'
|
||||||
|
pkgname=qt5pas
|
||||||
|
version=2.6~beta
|
||||||
|
revision=1
|
||||||
|
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() {
|
||||||
|
depends="qt5pas-${version}_${revision}"
|
||||||
|
short_desc+=" - development files"
|
||||||
|
pkg_install() {
|
||||||
|
vmove "usr/lib/*.so"
|
||||||
|
vmove "usr/share/pascal/qt5/*.pas"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue