1 |
commit: 3434de255e4fa1b40b62abe9774e8696bb47a661 |
2 |
Author: Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net> |
3 |
AuthorDate: Mon Aug 22 05:23:41 2022 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 23 11:50:24 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3434de25 |
7 |
|
8 |
dev-python/pyside6: install designer plugin to proper destination |
9 |
|
10 |
Closes: https://bugs.gentoo.org/865363 |
11 |
Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/26957 |
13 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
14 |
|
15 |
...ide6-6.3.1-fix-designer-plugin-install-location.patch | 16 ++++++++++++++++ |
16 |
.../{pyside6-6.3.1.ebuild => pyside6-6.3.1-r1.ebuild} | 5 +++++ |
17 |
2 files changed, 21 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/pyside6/files/pyside6-6.3.1-fix-designer-plugin-install-location.patch b/dev-python/pyside6/files/pyside6-6.3.1-fix-designer-plugin-install-location.patch |
20 |
new file mode 100644 |
21 |
index 000000000000..b7d1c2b31553 |
22 |
--- /dev/null |
23 |
+++ b/dev-python/pyside6/files/pyside6-6.3.1-fix-designer-plugin-install-location.patch |
24 |
@@ -0,0 +1,16 @@ |
25 |
+https://bugs.gentoo.org/865363 |
26 |
+ |
27 |
+From 109d7bbec01870f8e944a9cde09d3e2f70e13e0d Mon Sep 17 00:00:00 2001 |
28 |
+From: Bernd Waibel <waebbl-gentoo@××××××.net> |
29 |
+Date: Mon, 22 Aug 2022 07:10:35 +0200 |
30 |
+Subject: [PATCH] fix designer plugin install location |
31 |
+ |
32 |
+Signed-off-by: Bernd Waibel <waebbl-gentoo@××××××.net> |
33 |
+--- a/plugins/designer/CMakeLists.txt |
34 |
++++ b/plugins/designer/CMakeLists.txt |
35 |
+@@ -53,4 +53,4 @@ target_link_libraries(PySidePlugin PRIVATE |
36 |
+ Qt::Widgets |
37 |
+ ${SHIBOKEN_PYTHON_LIBRARIES}) |
38 |
+ |
39 |
+-install(TARGETS PySidePlugin LIBRARY DESTINATION "plugins/designer") |
40 |
++install(TARGETS PySidePlugin LIBRARY DESTINATION "lib${LIB_SUFFIX}/qt6/plugins/designer") |
41 |
|
42 |
diff --git a/dev-python/pyside6/pyside6-6.3.1.ebuild b/dev-python/pyside6/pyside6-6.3.1-r1.ebuild |
43 |
similarity index 98% |
44 |
rename from dev-python/pyside6/pyside6-6.3.1.ebuild |
45 |
rename to dev-python/pyside6/pyside6-6.3.1-r1.ebuild |
46 |
index 09cbf24f7b1e..a94b8db45b4b 100644 |
47 |
--- a/dev-python/pyside6/pyside6-6.3.1.ebuild |
48 |
+++ b/dev-python/pyside6/pyside6-6.3.1-r1.ebuild |
49 |
@@ -98,6 +98,7 @@ DEPEND="${RDEPEND} |
50 |
|
51 |
PATCHES=( |
52 |
"${FILESDIR}/${P}-no-strip.patch" |
53 |
+ "${FILESDIR}/${P}-fix-designer-plugin-install-location.patch" |
54 |
) |
55 |
|
56 |
src_configure() { |
57 |
@@ -153,6 +154,10 @@ src_configure() { |
58 |
-DCMAKE_DISABLE_FIND_PACKAGE_Qt6Widgets=$(usex !widgets) |
59 |
#-DCMAKE_DISABLE_FIND_PACKAGE_Qt6WinExtras=yes |
60 |
-DCMAKE_DISABLE_FIND_PACKAGE_Qt6Xml=$(usex !xml) |
61 |
+ # try to avoid pre-stripping |
62 |
+ -DQFP_NO_OVERRIDE_OPTIMIZATION_FLAGS=yes |
63 |
+ -DQFP_NO_STRIP=yes |
64 |
+ |
65 |
) |
66 |
|
67 |
pyside6_configure() { |