| 1 |
# SPDX-License-Identifier: BSD-2-Clause |
| 2 |
|
| 3 |
# Copyright (c) 2024 Phil Thompson <[email protected]> |
| 4 |
|
| 5 |
|
| 6 |
from ..abstract_package import AbstractPackage |
| 7 |
from ..qt_metadata import VersionedMetadata |
| 8 |
|
| 9 |
|
| 10 |
# The Qt meta-data for this package. |
| 11 |
_QT_METADATA = { |
| 12 |
'QtWebEngineCore': |
| 13 |
VersionedMetadata(version=(6, 2, 0), |
| 14 |
translations=('qtwebengine', ), |
| 15 |
other_lib_deps={ |
| 16 |
'macos': ('QtWebEngineCore.framework/Helpers/QtWebEngineProcess.app/Contents/Info.plist', )}, |
| 17 |
exes={ |
| 18 |
'linux': ('libexec/QtWebEngineProcess', ), |
| 19 |
'macos': ('lib/QtWebEngineCore.framework/Helpers/QtWebEngineProcess.app/Contents/MacOS/QtWebEngineProcess', ), |
| 20 |
'win': ('bin\\QtWebEngineProcess.exe', )}, |
| 21 |
files={ |
| 22 |
'win': (('lib\\Qt6Core.lib', |
| 23 |
"Enable QtWebEngineProcess to find it's resources.\n"), )}, |
| 24 |
others={ |
| 25 |
'linux': ('resources', 'translations/qtwebengine_locales'), |
| 26 |
'win': ('resources', 'translations\\qtwebengine_locales')}, |
| 27 |
subwheel_files={ |
| 28 |
'': (('qtlib', 'QtWebEngineCore'), )}), |
| 29 |
|
| 30 |
'QtWebEngineQuick': |
| 31 |
VersionedMetadata(version=(6, 2, 0), |
| 32 |
lib_deps={'': ('QtWebEngineQuickDelegatesQml', )}, |
| 33 |
qml_names=['QtWebEngine']), |
| 34 |
|
| 35 |
'QtWebEngineWidgets': |
| 36 |
VersionedMetadata(version=(6, 2, 0)), |
| 37 |
} |
| 38 |
|
| 39 |
|
| 40 |
class PyQt6_WebEngine(AbstractPackage): |
| 41 |
""" The PyQt6-WebEngine package. """ |
| 42 |
|
| 43 |
def get_qt_metadata(self): |
| 44 |
""" Return the package-specific meta-data describing the parts of Qt to |
| 45 |
install. |
| 46 |
""" |
| 47 |
|
| 48 |
return _QT_METADATA |