* [gentoo-commits] repo/gentoo:master commit in: media-gfx/okularpart/files/, media-gfx/okularpart/
@ 2024-03-15 12:19 Andreas Sturmlechner
0 siblings, 0 replies; only message in thread
From: Andreas Sturmlechner @ 2024-03-15 12:19 UTC (permalink / raw
To: gentoo-commits
commit: 7ceb6132fcce7d341bc3ff4d70dc99d2d0296546
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 15 11:35:17 2024 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Mar 15 12:18:14 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ceb6132
media-gfx/okularpart: Install headers to okular5 directory
Headers are required by revdeps, unfortunately not side-by-side installable
by upstream, so will need conditional revdep hacking.
Bug: https://bugs.gentoo.org/926748
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
.../okularpart/files/okularpart-23.08.5-only.patch | 29 +++++++++++++++++++---
...23.08.5.ebuild => okularpart-23.08.5-r1.ebuild} | 2 +-
2 files changed, 26 insertions(+), 5 deletions(-)
diff --git a/media-gfx/okularpart/files/okularpart-23.08.5-only.patch b/media-gfx/okularpart/files/okularpart-23.08.5-only.patch
index 7b62867610bf..c2712fa396c9 100644
--- a/media-gfx/okularpart/files/okularpart-23.08.5-only.patch
+++ b/media-gfx/okularpart/files/okularpart-23.08.5-only.patch
@@ -1,15 +1,18 @@
-From e3baad173b95ad75afe9d339c4a86d030b67f4be Mon Sep 17 00:00:00 2001
+From e6392d67120187d357de1a787b52aaeffeb60230 Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <asturm@gentoo.org>
Date: Sun, 10 Mar 2024 21:37:44 +0100
Subject: [PATCH] Disable bits we don't need for okularpart only
+Install headers to okular5 to not collide with okular6, unfortunately
+this will require hacking revdeps too.
+
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
---
- CMakeLists.txt | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
+ CMakeLists.txt | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
-index c47d6ab0f..91f25c62e 100644
+index c47d6ab0f..2e08335a1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -184,7 +184,7 @@ if (BUILD_MOBILE)
@@ -30,6 +33,24 @@ index c47d6ab0f..91f25c62e 100644
endif()
add_subdirectory( generators )
+@@ -401,7 +401,7 @@ install( FILES
+ ${CMAKE_CURRENT_BINARY_DIR}/core/version.h
+ ${CMAKE_CURRENT_BINARY_DIR}/core/okularcore_export.h
+ ${CMAKE_CURRENT_BINARY_DIR}/settings_core.h
+- DESTINATION ${KDE_INSTALL_INCLUDEDIR}/okular/core COMPONENT Devel)
++ DESTINATION ${KDE_INSTALL_INCLUDEDIR}/okular5/core COMPONENT Devel)
+
+ install( FILES
+ interfaces/configinterface.h
+@@ -409,7 +409,7 @@ install( FILES
+ interfaces/printinterface.h
+ interfaces/saveinterface.h
+ interfaces/viewerinterface.h
+- DESTINATION ${KDE_INSTALL_INCLUDEDIR}/okular/interfaces COMPONENT Devel)
++ DESTINATION ${KDE_INSTALL_INCLUDEDIR}/okular5/interfaces COMPONENT Devel)
+
+ ki18n_wrap_ui(okularcore_SRCS
+ core/chooseenginewidget.ui
--
2.44.0
diff --git a/media-gfx/okularpart/okularpart-23.08.5.ebuild b/media-gfx/okularpart/okularpart-23.08.5-r1.ebuild
similarity index 98%
rename from media-gfx/okularpart/okularpart-23.08.5.ebuild
rename to media-gfx/okularpart/okularpart-23.08.5-r1.ebuild
index 67b16aac3538..1f3ea8ff546d 100644
--- a/media-gfx/okularpart/okularpart-23.08.5.ebuild
+++ b/media-gfx/okularpart/okularpart-23.08.5-r1.ebuild
@@ -90,5 +90,5 @@ src_configure() {
src_install() {
ecm_src_install
- rm -r "${ED}"/usr/{include,share} || die
+ rm -r "${ED}"/usr/share || die
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-03-15 12:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-15 12:19 [gentoo-commits] repo/gentoo:master commit in: media-gfx/okularpart/files/, media-gfx/okularpart/ Andreas Sturmlechner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox