Gentoo Archives: gentoo-commits

From: Ole Reifschneider <tranquility@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-doc/zeal/
Date: Sun, 20 Sep 2015 21:08:21
Message-Id: 1442783240.1c80a1086b620fec148407649d7f1a3b5d6366a7.tranquility@gentoo
1 commit: 1c80a1086b620fec148407649d7f1a3b5d6366a7
2 Author: Ole Reifschneider <tranquility <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 20 21:06:02 2015 +0000
4 Commit: Ole Reifschneider <tranquility <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 20 21:07:20 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c80a108
7
8 app-doc/zeal: Initial commit
9
10 Package-Manager: portage-2.2.20.1
11
12 app-doc/zeal/Manifest | 1 +
13 app-doc/zeal/metadata.xml | 17 +++++++++++++
14 app-doc/zeal/zeal-0.1.1.ebuild | 55 ++++++++++++++++++++++++++++++++++++++++++
15 3 files changed, 73 insertions(+)
16
17 diff --git a/app-doc/zeal/Manifest b/app-doc/zeal/Manifest
18 new file mode 100644
19 index 0000000..3471246
20 --- /dev/null
21 +++ b/app-doc/zeal/Manifest
22 @@ -0,0 +1 @@
23 +DIST zeal-0.1.1.tar.gz 914203 SHA256 f4e959f9bc66a6e350ee8a33d34695379633432d103db9776c0c7a76cbc5a9d6 SHA512 388f3fdeb373d0061e72395d0e11a01cbe2365149a697cc3291b76f76f56e211afa96e6e31660ad16c88b67d62218f3d3b7a762102c0df45280bf85e2bfdfe8b WHIRLPOOL 5a5b2ecc49b724f642cb1e658d742b894620cf33f3086d5984033d9aaa7606726ff54522d2f78f1c06b555a59875e0595b2402d045728f474dd7b41cd42be3a5
24
25 diff --git a/app-doc/zeal/metadata.xml b/app-doc/zeal/metadata.xml
26 new file mode 100644
27 index 0000000..8a16049
28 --- /dev/null
29 +++ b/app-doc/zeal/metadata.xml
30 @@ -0,0 +1,17 @@
31 +<?xml version="1.0" encoding="UTF-8"?>
32 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
33 +<pkgmetadata>
34 +<maintainer>
35 + <email>ahvenas@×××××.com</email>
36 + <name>Henrik Pihl</name>
37 +</maintainer>
38 +<longdescription>
39 +Zeal is a simple offline API documentation browser inspired by Dash (OS X app), available for Linux and Windows.
40 +Quickly search documentation using Alt+Space (or customised) hotkey to display Zeal from any place in your workspace.
41 +- Search in multiple sets of documentation at once.
42 +- Don't be dependent on your internet connection.
43 +- Integrate Zeal with Emacs, Sublime Text, or Vim.
44 +All documentation available for Dash is also available for Zeal.
45 +You can also generate your own docsets using the same format Dash uses.
46 +</longdescription>
47 +</pkgmetadata>
48
49 diff --git a/app-doc/zeal/zeal-0.1.1.ebuild b/app-doc/zeal/zeal-0.1.1.ebuild
50 new file mode 100644
51 index 0000000..5f1da63
52 --- /dev/null
53 +++ b/app-doc/zeal/zeal-0.1.1.ebuild
54 @@ -0,0 +1,55 @@
55 +# Copyright 1999-2015 Gentoo Foundation
56 +# Distributed under the terms of the GNU General Public License v2
57 +# $Id$
58 +
59 +EAPI=5
60 +
61 +inherit qmake-utils gnome2-utils fdo-mime
62 +
63 +DESCRIPTION="Offline documentation browser inspired by Dash"
64 +HOMEPAGE="https://zealdocs.org/"
65 +SRC_URI="https://github.com/zealdocs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
66 +
67 +S="${WORKDIR}/${P}/src"
68 +
69 +LICENSE="GPL-3"
70 +SLOT="0"
71 +KEYWORDS="~amd64 ~x86"
72 +
73 +DEPEND="
74 + app-arch/libarchive
75 + >=dev-qt/qtconcurrent-5.2.0:5
76 + >=dev-qt/qtgui-5.4.0:5
77 + >=dev-qt/qtnetwork-5.4.0
78 + >=dev-qt/qtsql-5.4.0:5
79 + >=dev-qt/qtwebkit-5.4.0:5
80 + >=dev-qt/qtwidgets-5.4.0:5
81 + >=x11-libs/xcb-util-keysyms-0.3.9
82 +"
83 +RDEPEND="
84 + ${DEPEND}
85 + x11-themes/hicolor-icon-theme
86 +"
87 +
88 +src_configure() {
89 + eqmake5
90 + PREFIX="${EPREFIX}/usr"
91 +}
92 +
93 +src_install() {
94 + emake INSTALL_ROOT="${D}" PREFIX="${EPREFIX}/usr" install
95 +}
96 +
97 +pkg_preinst() {
98 + gnome2_icon_savelist
99 +}
100 +
101 +pkg_postinst() {
102 + gnome2_icon_cache_update
103 + fdo-mime_desktop_database_update
104 +}
105 +
106 +pkg_postrm() {
107 + gnome2_icon_cache_update
108 + fdo-mime_desktop_database_update
109 +}