mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-text/zeal: add 0.9.1
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST zeal-0.8.1.tar.gz 1146807 BLAKE2B d015a1135d1522007b7145dfc595d14113cd88913cc02eb274289dccf96c9380910c7ac403708c79ab86ee26c7f1a26f817c7b2abb0f602a00315be4bb449edf SHA512 54e9936a877a06e49e8d816dc49877001b3bd23c7a38056a71398da66ea9d0bf68d661d7094b219fe581b6a0ac257433e5a24d1f16b6cea654e1568b9eb6d7e1
|
||||
DIST zeal-0.9.1.tar.gz 2225437 BLAKE2B dd793755287d6e3fbaaa127750a694d0c6a90ea37670150fb96761f58dff1b340c7b0292c0895c9201e9642e5dacf2ee3862e7c2d3151eb8af7f50ab3d450493 SHA512 2f3f6abd3c912dcd5ca34231a15d39aa6128c8118f77037af564737c65f3392dbd21c9395fad0a45d4cec23d02d9ccf61a4d9d3626a4a17cd476550088464cca
|
||||
|
||||
11
app-text/zeal/files/disable-pkg-set-cflags-0.9.1.patch
Normal file
11
app-text/zeal/files/disable-pkg-set-cflags-0.9.1.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/CMakeLists.txt 2026-07-29 11:31:43.651420925 -0400
|
||||
+++ b/CMakeLists.txt 2026-07-29 11:31:56.726678510 -0400
|
||||
@@ -91,8 +91,6 @@ add_custom_target(zeal_version
|
||||
# Enable all compiler warnings and treat them as errors.
|
||||
if(MSVC)
|
||||
add_compile_options(/W4)
|
||||
-else()
|
||||
- add_compile_options(-Wall -Wextra -Wpedantic)
|
||||
endif()
|
||||
|
||||
set(CMAKE_COMPILE_WARNING_AS_ERROR ON)
|
||||
54
app-text/zeal/zeal-0.9.1.ebuild
Normal file
54
app-text/zeal/zeal-0.9.1.ebuild
Normal file
@@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake 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"
|
||||
IUSE="+X"
|
||||
|
||||
DEPEND="
|
||||
app-arch/libarchive:=
|
||||
dev-cpp/cpp-httplib:=
|
||||
dev-db/sqlite:3
|
||||
dev-qt/qtbase:6[concurrent,gui,network,widgets]
|
||||
dev-qt/qtwebchannel:6
|
||||
dev-qt/qtwebengine:6[widgets]
|
||||
X? (
|
||||
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-pkg-set-cflags-${PV}.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_X11=$(usex X no yes)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
Reference in New Issue
Block a user