app-text/zeal: drop 0.7.1 and unused patches

Signed-off-by: Mike Pagano <mpagano@gentoo.org>
This commit is contained in:
Mike Pagano
2025-01-19 15:19:59 -05:00
parent 0d54be5547
commit c0db02b461
5 changed files with 0 additions and 91 deletions

View File

@@ -1,2 +1 @@
DIST zeal-0.7.1.tar.gz 1195333 BLAKE2B 56e6d56e152ed94559d15ba4a5dd7972466db75a4d760640b55b532ba3ed325a429e8e03f450efaa3e24f09af68ff5b43463d9b8f21b8a9bd11e23a3841780c4 SHA512 bf2b5e2878b349ec4e5e74377a2a74e263d5f20649f152f194375547c5e69b3e6115c9d0f103acad7f087b20456d888a3be9f7ce1aa232206bba7e0ed38d252b
DIST zeal-0.7.2.tar.gz 1217853 BLAKE2B e82c3a977375317cfb4d5ad32f577f668f38cfc1d3a2685d44c96814817623001a8fff848a04acf07d3ab942bee9a0c6801dfadad3fceaf24d55beb5a78a9522 SHA512 41f79f4c441938a60f80796376de31643ad1b80d989c6452653647be533b6e4e23d96b556895c457d574e00d75a57e4b2ef2a77096fa1d120e0c2e5b511366fb

View File

@@ -1,10 +0,0 @@
Backport of https://github.com/zealdocs/zeal/pull/1644
Done manually because CMakeLists.txt has CRLF line endings in release tarball.
--- a/src/app/CMakeLists.txt
+++ b/src/app/CMakeLists.txt
@@ -1,4 +1,4 @@
-find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets REQUIRED)
+find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Concurrent WebEngineWidgets Widgets REQUIRED)
if (Qt${QT_VERSION_MAJOR}Widgets_VERSION VERSION_LESS QT_MINIMUM_VERSION)
message(FATAL_ERROR "Qt version >= ${QT_MINIMUM_VERSION} is required.")
endif()

View File

@@ -1,12 +0,0 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -59,9 +59,5 @@
VERBATIM
)
-if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.24.0")
- set(CMAKE_COMPILE_WARNING_AS_ERROR ON)
-endif()
-
add_subdirectory(assets)
add_subdirectory(src)

View File

@@ -1,11 +0,0 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -22,7 +22,7 @@
set(PROJECT_COPYRIGHT "© 2013-2024 Oleg Shparber and other contributors")
# Find available major Qt version. It will be stored in QT_VERSION_MAJOR.
-find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Core)
+find_package(QT NAMES Qt6 REQUIRED COMPONENTS Core)
if(QT_VERSION_MAJOR EQUAL 6)
set(QT_MINIMUM_VERSION 6.2.0)
else()

View File

@@ -1,57 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake edos2unix xdg-utils
DESCRIPTION="Offline documentation browser inspired by Dash"
HOMEPAGE="https://zealdocs.org/"
SRC_URI="https://github.com/zealdocs/${PN}/releases/download/v${PV}/${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
app-arch/libarchive:=
dev-db/sqlite:3
dev-qt/qtbase:6[concurrent,gui,network,widgets]
dev-qt/qtwebchannel:6
dev-qt/qtwebengine:6[widgets]
x11-libs/libX11
x11-libs/libxcb:=
x11-libs/xcb-util-keysyms
"
RDEPEND="${DEPEND}
x11-themes/hicolor-icon-theme
"
BDEPEND="kde-frameworks/extra-cmake-modules"
PATCHES=(
"${FILESDIR}/disable-werror.patch"
"${FILESDIR}/qt6.patch"
"${FILESDIR}/add-missing-qt-components.patch"
)
src_prepare() {
edos2unix "${S}/assets/freedesktop/org.zealdocs.zeal.desktop"
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DZEAL_RELEASE_BUILD=ON
)
cmake_src_configure
}
pkg_postinst() {
xdg_icon_cache_update
xdg_desktop_database_update
}
pkg_postrm() {
xdg_icon_cache_update
xdg_desktop_database_update
}