1 |
commit: 35f1691f12a3ff51fb2082e3c7685e70dfa72927 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 7 20:17:50 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 7 22:40:02 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35f1691f |
7 |
|
8 |
x11-libs/qwt: slot 5, also install the headers |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
12 |
|
13 |
x11-libs/qwt/files/qwt-5.2.3_p20210828-install-headers.patch | 12 ++++++++++++ |
14 |
x11-libs/qwt/qwt-5.2.3_p20210828.ebuild | 4 ++++ |
15 |
2 files changed, 16 insertions(+) |
16 |
|
17 |
diff --git a/x11-libs/qwt/files/qwt-5.2.3_p20210828-install-headers.patch b/x11-libs/qwt/files/qwt-5.2.3_p20210828-install-headers.patch |
18 |
new file mode 100644 |
19 |
index 000000000000..f2e1b36c3bca |
20 |
--- /dev/null |
21 |
+++ b/x11-libs/qwt/files/qwt-5.2.3_p20210828-install-headers.patch |
22 |
@@ -0,0 +1,12 @@ |
23 |
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt |
24 |
+index 502f097..05ab47b 100644 |
25 |
+--- a/src/CMakeLists.txt |
26 |
++++ b/src/CMakeLists.txt |
27 |
+@@ -156,6 +156,7 @@ if( QWT_WIDGETS ) |
28 |
+ endif() |
29 |
+ |
30 |
+ add_library( qwt5-qt5 ${SRCS} ${HEADERS} ) |
31 |
++set_target_properties( qwt5-qt5 PROPERTIES PUBLIC_HEADER "${HEADERS}" ) |
32 |
+ |
33 |
+ target_link_libraries( qwt5-qt5 Qt5::Core Qt5::Gui Qt5::Widgets Qt5::PrintSupport ) |
34 |
+ |
35 |
|
36 |
diff --git a/x11-libs/qwt/qwt-5.2.3_p20210828.ebuild b/x11-libs/qwt/qwt-5.2.3_p20210828.ebuild |
37 |
index 638c58e8eea8..f5dc249c7a50 100644 |
38 |
--- a/x11-libs/qwt/qwt-5.2.3_p20210828.ebuild |
39 |
+++ b/x11-libs/qwt/qwt-5.2.3_p20210828.ebuild |
40 |
@@ -32,6 +32,10 @@ DEPEND=" |
41 |
" |
42 |
RDEPEND="${DEPEND}" |
43 |
|
44 |
+PATCHES=( |
45 |
+ "${FILESDIR}/${P}-install-headers.patch" |
46 |
+) |
47 |
+ |
48 |
src_configure() { |
49 |
local mycmakeargs=( |
50 |
-DBUILD_EXAMPLES=$(usex examples) |