Add qt6pas package which is dependency of goverlay
This commit is contained in:
parent
a1363d961c
commit
1f43c627b2
1
dev-libs/qt6pas/Manifest
Normal file
1
dev-libs/qt6pas/Manifest
Normal file
@ -0,0 +1 @@
|
|||||||
|
DIST qt6pas-6.2.8.tar.gz 321154 BLAKE2B 56f07bbd5ad7f2950523235727e1e91ec64d9c09bbb80bf9fa1e01aa5cd31c5af9087a90a379050467f054b049cc77d8194db332a49b4fac21d22df2980086cd SHA512 e90cfed2faf7004a71007036eb04839bf3f770c56a8d9d6e844fa83c232d88723991ea353d347d26f84d7f26ac4f63f1b04950d557563108220afc571ed9bb5b
|
16
dev-libs/qt6pas/files/01_inlines-hidden.patch
Normal file
16
dev-libs/qt6pas/files/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
|
||||||
|
===================================================================
|
||||||
|
--- libqtpas.orig/Qt6Pas.pro
|
||||||
|
+++ libqtpas/Qt6Pas.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")
|
40
dev-libs/qt6pas/qt6pas-6.2.8.ebuild
Normal file
40
dev-libs/qt6pas/qt6pas-6.2.8.ebuild
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit qmake-utils
|
||||||
|
|
||||||
|
LAZ_COMMIT="b71e3074a333b1573c6d662930b4689d92f5962e"
|
||||||
|
LAZ_DIRECTORY="lcl/interfaces/qt6/cbindings"
|
||||||
|
LAZ_UNPACKED_DIR="lazarus-${LAZ_COMMIT}-${LAZ_DIRECTORY//\//-}"
|
||||||
|
|
||||||
|
DESCRIPTION="Free Pascal Qt6 bindings library updated by lazarus IDE."
|
||||||
|
HOMEPAGE="https://gitlab.com/freepascal.org/lazarus/lazarus/-/tree/main/lcl/interfaces/qt6/cbindings"
|
||||||
|
SRC_URI=" https://gitlab.com/freepascal.org/lazarus/lazarus/-/archive/${LAZ_COMMIT}/lazarus-main.tar.gz?path=${LAZ_DIRECTORY} -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="LGPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
dev-qt/qtbase:6[gui,network]
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
BDEPEND=""
|
||||||
|
|
||||||
|
PATCHES=( "${FILESDIR}/01_inlines-hidden.patch" )
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
default
|
||||||
|
|
||||||
|
mv "${WORKDIR}/${LAZ_UNPACKED_DIR}/${LAZ_DIRECTORY}" "${WORKDIR}/${P}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
eqmake6 Qt6Pas.pro
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake INSTALL_ROOT="${D}" install
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user