-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
meta.yaml
147 lines (137 loc) · 4.53 KB
/
meta.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{% set version = "5.15.2.1" %}
package:
name: pyside2
version: {{ version }}
source:
fn: pyside-setup-everywhere-src-{{ version }}.tar.gz
url: https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-{{ version }}-src/pyside-setup-opensource-src-{{ version }}.tar.gz
sha256: 91e78e4e3b31ebb0053c2e4f1029703e578615695450c0dd03072248d713b391
patches:
# https://codereview.qt-project.org/c/pyside/pyside-tools/+/270008
# - 0001-Make-pyside2-uic-executable-by-windows-shell.patch
# https://bugreports.qt.io/browse/PYSIDE-1193
# - pyi.patch
# pyside2 5.13.1 needs a few backports from 5.14 to work with python3.8
# - 0002-Fix-Python-3.8-problems.patch
# - 0003-Optimize-the-Python-3.8-refcount-fix-a-tiny-bit.patch
# - 0004-make-compilation-work-after-backporting.patch
# clang 10
# - 0001-shiboken-Support-Clang-version-10.patch
# Backport of "Fix Python 3.8 warnings about deprecated int conversions of enums/flags"
# https://codereview.qt-project.org/c/pyside/pyside-setup/+/288381
# - 6294578.patch
# Remove python version check to allow building dist_info
# - 0005-remove-py-version-check.patch
# - python_3_10_shiboken.patch # [py>=310]
# - python_3_10_shiboken_1.patch # [py>=310]
# - python_3_10_shiboken_2.patch # [py>=310]
build:
number: 0
detect_binary_files_with_prefix: true
requirements:
build:
- cmake
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- clangdev
- {{ cdt('xorg-x11-proto-devel') }} # [linux]
- {{ cdt('libx11-devel') }} # [linux]
- {{ cdt('libxext-devel') }} # [linux]
- {{ cdt('libxrender-devel') }} # [linux]
- {{ cdt('mesa-libgl-devel') }} # [linux]
- {{ cdt('mesa-libegl-devel') }} # [linux]
- {{ cdt('mesa-dri-drivers') }} # [linux]
- {{ cdt('libxau-devel') }} # [linux]
- {{ cdt('alsa-lib-devel') }} # [linux]
- {{ cdt('gtk2-devel') }} # [linux]
- {{ cdt('gtkmm24-devel') }} # [linux]
- {{ cdt('libdrm-devel') }} # [linux]
- {{ cdt('libxcomposite-devel') }} # [linux]
- {{ cdt('libxcursor-devel') }} # [linux]
- {{ cdt('libxi-devel') }} # [linux]
- {{ cdt('libxrandr-devel') }} # [linux]
- {{ cdt('pciutils-devel') }} # [linux]
- {{ cdt('libxscrnsaver-devel') }} # [linux]
- {{ cdt('libxtst-devel') }} # [linux]
- {{ cdt('libselinux-devel') }} # [linux]
- {{ cdt('libxdamage') }} # [linux]
- {{ cdt('libxdamage-devel') }} # [linux]
- {{ cdt('libxfixes') }} # [linux]
- {{ cdt('libxfixes-devel') }} # [linux]
- {{ cdt('libxxf86vm') }} # [linux]
- {{ cdt('libxrandr') }} # [linux]
- {{ cdt('alsa-lib') }} # [linux]
- {{ cdt('xorg-x11-server-xvfb') }} # [linux]
- make # [not win]
- ninja # [win]
- gxx # [linux]
host:
- python
- qt
- libxml2
- libxslt
- pip
- setuptools
- libclang
run:
- python
test:
imports:
- PySide2.QtCharts
- PySide2.QtConcurrent
- PySide2.QtCore
- PySide2.QtDataVisualization
- PySide2.QtGui
- PySide2.QtHelp
- PySide2.QtLocation
- PySide2.QtMultimedia
- PySide2.QtMultimediaWidgets
- PySide2.QtNetwork
- PySide2.QtOpenGL
- PySide2.QtPositioning
- PySide2.QtPrintSupport
- PySide2.QtQml
- PySide2.QtQuick
- PySide2.QtQuickWidgets
- PySide2.QtRemoteObjects
- PySide2.QtScript
- PySide2.QtScriptTools
- PySide2.QtScxml
- PySide2.QtSensors
- PySide2.QtSql
- PySide2.QtSvg
- PySide2.QtTest
- PySide2.QtTextToSpeech
- PySide2.QtUiTools
- PySide2.QtWebChannel
- PySide2.QtWebEngineCore
- PySide2.QtWebEngineWidgets
- PySide2.QtWebSockets
- PySide2.QtWidgets
- PySide2.QtXml
- PySide2.QtXmlPatterns
- PySide2.Qt3DAnimation
- PySide2.Qt3DCore
- PySide2.Qt3DExtras
- PySide2.Qt3DInput
- PySide2.Qt3DLogic
- PySide2.Qt3DRender
commands:
- shiboken2 --help
- pyside2-lupdate -help
- pyside2-rcc -help
- pyside2-uic -help
# Ensure installs are registered properly with pip
- pip show PySide2
- pip show shiboken2
requires:
- pip
about:
home: https://wiki.qt.io/PySide2
license: LGPL-3.0-only
license_file: LICENSE.LGPLv3
summary: Python bindings for Qt
extra:
recipe-maintainers:
- jan-janssen
- jschueller