Skip to content

Commit

Permalink
app-doc/zeal: 0.6.1_p20200815 snapshot bump, add missing dependencies
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/709844
Package-Manager: Portage-3.0.3, Repoman-3.0.0
Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
a17r committed Aug 18, 2020
1 parent 9f84486 commit 6d726fa
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-doc/zeal/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST zeal-0.6.1.tar.gz 1063963 BLAKE2B 72f38aac8275cea8da214962b568ff3f634c6c8499a73f506a6b63d947f87bb0b13bf6a0821d7803ccf09689744a79ebf8659ebe1d6ae07863662cb6a017c5ee SHA512 5b1a129980000c0fc8516e2c7d6c4a8de4adde7054ff8d9635e3be35441ad3ef0539746bbe1ca8abce7e6fb3d20c825b57661c3f8cd059ef1480db65ff81f3d9
DIST zeal-0.6.1_p20200815.tar.gz 1180048 BLAKE2B 22a6ee7985516f2204de0603374944c101fa77339a6c83b8a33633fa51e25890f39d672f3d804adb8c41b9ffc2ad7971ce16f90dacb1160f1868ed3f8768aad2 SHA512 fa08c88a40f2f75847db4950c2b027262304bb8b63b95d497786fa2c3a90aa0c488fc3ebe494afe70353a2dd93a181bf2d8fa752a7241e572045c6728ea99f2d
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
From b48ee895ce7fc1db1dce20dac5115ec4c60f75fa Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <[email protected]>
Date: Tue, 18 Aug 2020 15:03:59 +0200
Subject: [PATCH] sidebar: Add missing STATIC keyword (similar to #1085)

Fixes unresolved soname dependency after install.

Signed-off-by: Andreas Sturmlechner <[email protected]>
---
src/libs/sidebar/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libs/sidebar/CMakeLists.txt b/src/libs/sidebar/CMakeLists.txt
index 4332b8f..dc6be0e 100644
--- a/src/libs/sidebar/CMakeLists.txt
+++ b/src/libs/sidebar/CMakeLists.txt
@@ -1,4 +1,4 @@
-add_library(Sidebar
+add_library(Sidebar STATIC
container.cpp
proxyview.cpp
view.cpp
--
2.28.0

54 changes: 54 additions & 0 deletions app-doc/zeal/zeal-0.6.1_p20200815.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

COMMIT=994cc5f6b6bfffddd5faaaafdb4fed483c38188f
inherit cmake xdg-utils

DESCRIPTION="Offline documentation browser inspired by Dash"
HOMEPAGE="https://zealdocs.org/"
SRC_URI="https://github.com/zealdocs/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="
app-arch/libarchive:=
dev-db/sqlite:3
dev-qt/qtconcurrent:5
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
dev-qt/qtsql:5[sqlite]
dev-qt/qtwebchannel:5
dev-qt/qtwebengine:5[widgets]
dev-qt/qtwidgets:5
dev-qt/qtx11extras:5
kde-frameworks/extra-cmake-modules:5
x11-libs/libX11
x11-libs/libxcb:=
>=x11-libs/xcb-util-keysyms-0.3.9
"
RDEPEND="${DEPEND}
x11-themes/hicolor-icon-theme
"

S="${WORKDIR}/${PN}-${COMMIT}"

PATCHES=(
"${FILESDIR}/0002-settings-disable-checking-for-updates-by-default.patch"
"${FILESDIR}/${P}-fix-sidebar-static-lib.patch"
)

pkg_postinst() {
xdg_icon_cache_update
xdg_desktop_database_update
}

pkg_postrm() {
xdg_icon_cache_update
xdg_desktop_database_update
}

0 comments on commit 6d726fa

Please sign in to comment.