commit: 787399009fbf9165ddf0963d35dca75731dac5e1 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sat Aug 10 10:51:16 2024 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sat Aug 10 10:53:06 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78739900
app-editors/ghostwriter: Drop bogus dependency Closes: https://bugs.gentoo.org/936578 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> .../files/ghostwriter-24.05.2-bogusdep.patch | 41 ++++++++++++++++++++++ app-editors/ghostwriter/ghostwriter-24.05.2.ebuild | 2 ++ 2 files changed, 43 insertions(+) diff --git a/app-editors/ghostwriter/files/ghostwriter-24.05.2-bogusdep.patch b/app-editors/ghostwriter/files/ghostwriter-24.05.2-bogusdep.patch new file mode 100644 index 000000000000..2076ccb24d87 --- /dev/null +++ b/app-editors/ghostwriter/files/ghostwriter-24.05.2-bogusdep.patch @@ -0,0 +1,41 @@ +From 6d680805c08d131ea3a98c4d3fe87d51a92f2ffa Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <[email protected]> +Date: Sat, 10 Aug 2024 12:41:33 +0200 +Subject: [PATCH] Drop unused Qt5Compat dependency + +Signed-off-by: Andreas Sturmlechner <[email protected]> +--- + src/CMakeLists.txt | 10 ---------- + 1 file changed, 10 deletions(-) + +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 33ce58f..da55382 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -90,10 +90,6 @@ find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} REQUIRED COMPONENTS + WebEngineWidgets + ) + +-if (QT_MAJOR_VERSION STREQUAL "6") +- find_package(Qt6 REQUIRED COMPONENTS Core5Compat) +-endif() +- + find_package( + KF${KF_MAJOR_VERSION} ${KF_MIN_VERSION} + REQUIRED +@@ -135,12 +131,6 @@ target_link_libraries(ghostwriter PRIVATE + ${CMARK_LIBS} + ) + +-if (QT_MAJOR_VERSION STREQUAL "6") +- target_link_libraries(ghostwriter PRIVATE +- Qt::Core5Compat +- ) +-endif() +- + set_target_properties(ghostwriter PROPERTIES + WIN32_EXECUTABLE ON + MACOSX_BUNDLE ON +-- +2.45.2 + diff --git a/app-editors/ghostwriter/ghostwriter-24.05.2.ebuild b/app-editors/ghostwriter/ghostwriter-24.05.2.ebuild index fa7b4c9c4634..91ae6c82c01c 100644 --- a/app-editors/ghostwriter/ghostwriter-24.05.2.ebuild +++ b/app-editors/ghostwriter/ghostwriter-24.05.2.ebuild @@ -38,3 +38,5 @@ BDEPEND=" " DOCS=( CHANGELOG.md README.md ) + +PATCHES=( "${FILESDIR}/${P}-bogusdep.patch" ) # in 24.08, bug 936578
