Backport qt5 packages
Backport qt5 packages since they are removed from the main gentoo repos.
This commit is contained in:
3
dev-qt/qtnetwork/Manifest
Normal file
3
dev-qt/qtnetwork/Manifest
Normal file
@ -0,0 +1,3 @@
|
||||
DIST qtbase-5.15-gentoo-patchset-6.tar.xz 8288 BLAKE2B ad9695a528345dd3b8e9ce72b7bdfe8f744f16685a567bbc7862ba6c28e5a426260cb0b73e2573cb3a6f16f1785786898ffb44c90f5d75354b97e5756c7573db SHA512 97bc4d5375e1750a5578439ff320ee2e5e929df1dafe56b4e86f2de8ad26c91dc4002e45ad75d9f936347d49b9f54c0c42f8fc2cb7dfd4f54bf08a210b3bc720
|
||||
DIST qtbase-5.15.18-gentoo-kde-1.tar.xz 450532 BLAKE2B 172732fe6a2f7dd4718b224d8a8ba7b182ded24f74ee38545d20a17364757153b399cae82b40f425e72b2587ec432f024868078edfe95280242211a040ddd9f6 SHA512 e0257171cf723cb6208a06f28fc95fa07d1239ea9dd3daa79d362146aa53e008398c9e1d95443b84d6d71b835a3f010b957e748f3ec23b77a588d6b372fd0c47
|
||||
DIST qtbase-everywhere-opensource-src-5.15.18.tar.xz 51492796 BLAKE2B a02f13f2ae8d3994fe5e3fa5b3751cb2981c3203cc4f3859dd4398d6a62101772885acb0c7b1f830ba8e9fbdd64ecfdb2a6074bfedd1bd372b4fc9ceb747467d SHA512 d39c831e6f3ddcd6a50f103ff60a0700b451f137782249508b7447a80066e3e9259c9b5038e6077ccf8df06b6afefec232c3c4dd331d85765089c92571708206
|
||||
22
dev-qt/qtnetwork/metadata.xml
Normal file
22
dev-qt/qtnetwork/metadata.xml
Normal file
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>qt@gentoo.org</email>
|
||||
<name>Gentoo Qt Project</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="gssapi">Enable support for GSSAPI (<pkg>virtual/krb5</pkg>)</flag>
|
||||
<flag name="libproxy">Use <pkg>net-libs/libproxy</pkg> for automatic
|
||||
HTTP/SOCKS proxy configuration</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<bugs-to>https://qt-project.atlassian.net/</bugs-to>
|
||||
<doc>https://doc.qt.io/</doc>
|
||||
</upstream>
|
||||
<slots>
|
||||
<subslots>
|
||||
Must only be used by packages that are known to use private parts of the Qt API.
|
||||
</subslots>
|
||||
</slots>
|
||||
</pkgmetadata>
|
||||
62
dev-qt/qtnetwork/qtnetwork-5.15.18.ebuild
Normal file
62
dev-qt/qtnetwork/qtnetwork-5.15.18.ebuild
Normal file
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
QT5_KDEPATCHSET_REV=1
|
||||
KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv x86"
|
||||
fi
|
||||
|
||||
QT5_MODULE="qtbase"
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Network abstraction library for the Qt5 framework"
|
||||
|
||||
IUSE="gssapi libproxy sctp +ssl"
|
||||
|
||||
DEPEND="
|
||||
=dev-qt/qtcore-${QT5_PV}*:5=
|
||||
virtual/zlib:=
|
||||
gssapi? ( virtual/krb5 )
|
||||
libproxy? ( net-libs/libproxy )
|
||||
sctp? ( kernel_linux? ( net-misc/lksctp-tools ) )
|
||||
ssl? ( >=dev-libs/openssl-1.1.1:0= )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/network
|
||||
src/plugins/bearer/generic
|
||||
)
|
||||
|
||||
QT5_GENTOO_CONFIG=(
|
||||
libproxy:libproxy:
|
||||
ssl::SSL
|
||||
ssl::OPENSSL
|
||||
ssl:openssl-linked:LINKED_OPENSSL
|
||||
)
|
||||
|
||||
QT5_GENTOO_PRIVATE_CONFIG=(
|
||||
:network
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
$(qt_use gssapi feature-gssapi)
|
||||
$(qt_use libproxy)
|
||||
$(qt_use sctp)
|
||||
$(usev ssl -openssl-linked)
|
||||
)
|
||||
qt5-build_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
qt5-build_src_install
|
||||
|
||||
# workaround for bug 652650
|
||||
if use ssl; then
|
||||
sed -e "/^#define QT_LINKED_OPENSSL/s/$/ true/" \
|
||||
-i "${D}${QT5_HEADERDIR}"/Gentoo/${PN}-qconfig.h || die
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user