diff options
author | 2024-08-10 12:51:16 +0200 | |
---|---|---|
committer | 2024-08-10 12:53:06 +0200 | |
commit | 787399009fbf9165ddf0963d35dca75731dac5e1 (patch) | |
tree | f6e522dc956d4621b05466a458e689c043757e27 /app-editors | |
parent | kde-apps/kde-dev-scripts: Drop unused deps, set ECM_HANDBOOK=optional (diff) | |
download | gentoo-787399009fbf9165ddf0963d35dca75731dac5e1.tar.gz gentoo-787399009fbf9165ddf0963d35dca75731dac5e1.tar.bz2 gentoo-787399009fbf9165ddf0963d35dca75731dac5e1.zip |
app-editors/ghostwriter: Drop bogus dependency
Closes: https://bugs.gentoo.org/936578
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/ghostwriter/files/ghostwriter-24.05.2-bogusdep.patch | 41 | ||||
-rw-r--r-- | app-editors/ghostwriter/ghostwriter-24.05.2.ebuild | 2 |
2 files changed, 43 insertions, 0 deletions
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 <asturm@gentoo.org> +Date: Sat, 10 Aug 2024 12:41:33 +0200 +Subject: [PATCH] Drop unused Qt5Compat dependency + +Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> +--- + 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 |