summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-12-07 21:17:50 +0100
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-12-07 23:40:02 +0100
commit35f1691f12a3ff51fb2082e3c7685e70dfa72927 (patch)
tree03673bfcab841b3e19c4aa835fa5f1c1d54042bd /x11-libs/qwt
parentsci-libs/liborigin: add new snapshot (diff)
downloadgentoo-35f1691f12a3ff51fb2082e3c7685e70dfa72927.tar.gz
gentoo-35f1691f12a3ff51fb2082e3c7685e70dfa72927.tar.bz2
gentoo-35f1691f12a3ff51fb2082e3c7685e70dfa72927.zip
x11-libs/qwt: slot 5, also install the headers
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'x11-libs/qwt')
-rw-r--r--x11-libs/qwt/files/qwt-5.2.3_p20210828-install-headers.patch12
-rw-r--r--x11-libs/qwt/qwt-5.2.3_p20210828.ebuild4
2 files changed, 16 insertions, 0 deletions
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
new file mode 100644
index 000000000000..f2e1b36c3bca
--- /dev/null
+++ b/x11-libs/qwt/files/qwt-5.2.3_p20210828-install-headers.patch
@@ -0,0 +1,12 @@
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 502f097..05ab47b 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -156,6 +156,7 @@ if( QWT_WIDGETS )
+ endif()
+
+ add_library( qwt5-qt5 ${SRCS} ${HEADERS} )
++set_target_properties( qwt5-qt5 PROPERTIES PUBLIC_HEADER "${HEADERS}" )
+
+ target_link_libraries( qwt5-qt5 Qt5::Core Qt5::Gui Qt5::Widgets Qt5::PrintSupport )
+
diff --git a/x11-libs/qwt/qwt-5.2.3_p20210828.ebuild b/x11-libs/qwt/qwt-5.2.3_p20210828.ebuild
index 638c58e8eea8..f5dc249c7a50 100644
--- a/x11-libs/qwt/qwt-5.2.3_p20210828.ebuild
+++ b/x11-libs/qwt/qwt-5.2.3_p20210828.ebuild
@@ -32,6 +32,10 @@ DEPEND="
"
RDEPEND="${DEPEND}"
+PATCHES=(
+ "${FILESDIR}/${P}-install-headers.patch"
+)
+
src_configure() {
local mycmakeargs=(
-DBUILD_EXAMPLES=$(usex examples)