1 |
commit: 966bea3444ebf960f008e7d1b0373df99ccdd28c |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 7 20:31:03 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=966bea34 |
7 |
|
8 |
x11-libs/qwtplot3d: also install 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 |
.../qwtplot3d-0.2_p20210828-install-headers.patch | 18 ++++++++++++++++++ |
14 |
x11-libs/qwtplot3d/qwtplot3d-0.2_p20210828.ebuild | 1 + |
15 |
2 files changed, 19 insertions(+) |
16 |
|
17 |
diff --git a/x11-libs/qwtplot3d/files/qwtplot3d-0.2_p20210828-install-headers.patch b/x11-libs/qwtplot3d/files/qwtplot3d-0.2_p20210828-install-headers.patch |
18 |
new file mode 100644 |
19 |
index 000000000000..611f9111b38b |
20 |
--- /dev/null |
21 |
+++ b/x11-libs/qwtplot3d/files/qwtplot3d-0.2_p20210828-install-headers.patch |
22 |
@@ -0,0 +1,18 @@ |
23 |
+diff --git a/CMakeLists.txt b/CMakeLists.txt |
24 |
+index 12657be..5306d02 100644 |
25 |
+--- a/CMakeLists.txt |
26 |
++++ b/CMakeLists.txt |
27 |
+@@ -1,4 +1,5 @@ |
28 |
+ cmake_minimum_required(VERSION 3.16) |
29 |
++include(GNUInstallDirs) |
30 |
+ |
31 |
+ project( QwtPlot3D |
32 |
+ VERSION 0.3.0 |
33 |
+@@ -106,6 +107,7 @@ set( HEADERS |
34 |
+ configure_file( "include/qwt3d_version.h.in" "qwt3d_version.h" @ONLY ) |
35 |
+ |
36 |
+ add_library( qwtplot3d ${SRCS} ${HEADERS} ) |
37 |
++set_target_properties( qwtplot3d PROPERTIES PUBLIC_HEADER "${HEADERS}" ) |
38 |
+ |
39 |
+ target_link_libraries( qwtplot3d |
40 |
+ Qt${QT_VERSION_MAJOR}::Core |
41 |
|
42 |
diff --git a/x11-libs/qwtplot3d/qwtplot3d-0.2_p20210828.ebuild b/x11-libs/qwtplot3d/qwtplot3d-0.2_p20210828.ebuild |
43 |
index 0824caa45404..09a4bfa5cc32 100644 |
44 |
--- a/x11-libs/qwtplot3d/qwtplot3d-0.2_p20210828.ebuild |
45 |
+++ b/x11-libs/qwtplot3d/qwtplot3d-0.2_p20210828.ebuild |
46 |
@@ -34,6 +34,7 @@ DEPEND="${RDEPEND}" |
47 |
PATCHES=( |
48 |
"${FILESDIR}/${PN}-doxygen.patch" |
49 |
"${FILESDIR}/${PN}-gcc44.patch" |
50 |
+ "${FILESDIR}/${P}-install-headers.patch" |
51 |
) |
52 |
|
53 |
src_compile() { |