Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/dillo/
Date: Sun, 19 Aug 2018 17:54:52
Message-Id: 1534701284.9855ea9b17a8da478897a5b515946b3667560b31.jer@gentoo
1 commit: 9855ea9b17a8da478897a5b515946b3667560b31
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 19 17:53:06 2018 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 19 17:54:44 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9855ea9b
7
8 www-client/dillo: Add live ebuild.
9
10 Package-Manager: Portage-2.3.47, Repoman-2.3.10
11
12 www-client/dillo/dillo-9999.ebuild | 69 ++++++++++++++++++++++++++++++++++++++
13 1 file changed, 69 insertions(+)
14
15 diff --git a/www-client/dillo/dillo-9999.ebuild b/www-client/dillo/dillo-9999.ebuild
16 new file mode 100644
17 index 00000000000..0d478f4ab15
18 --- /dev/null
19 +++ b/www-client/dillo/dillo-9999.ebuild
20 @@ -0,0 +1,69 @@
21 +# Copyright 1999-2018 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +inherit autotools eutils mercurial multilib toolchain-funcs
26 +
27 +DESCRIPTION="Lean FLTK based web browser"
28 +HOMEPAGE="https://www.dillo.org/"
29 +SRC_URI="mirror://gentoo/${PN}.png"
30 +EHG_REPO_URI="https://hg.dillo.org/dillo"
31 +
32 +LICENSE="GPL-3"
33 +SLOT="0"
34 +KEYWORDS=""
35 +IUSE="doc +gif ipv6 +jpeg +png ssl"
36 +
37 +RDEPEND="
38 + >=x11-libs/fltk-1.3
39 + sys-libs/zlib
40 + jpeg? ( virtual/jpeg:0 )
41 + png? ( >=media-libs/libpng-1.2:0 )
42 + ssl? ( net-libs/mbedtls )
43 +"
44 +DEPEND="
45 + ${RDEPEND}
46 + doc? ( app-doc/doxygen )
47 +"
48 +PATCHES=(
49 + "${FILESDIR}"/${PN}2-inbuf.patch
50 +)
51 +
52 +src_prepare() {
53 + default
54 + eautoreconf
55 +}
56 +
57 +src_configure() {
58 + econf \
59 + $(use_enable gif) \
60 + $(use_enable ipv6) \
61 + $(use_enable jpeg) \
62 + $(use_enable png) \
63 + $(use_enable ssl) \
64 + --docdir="/usr/share/doc/${PF}"
65 +}
66 +
67 +src_compile() {
68 + emake AR=$(tc-getAR)
69 + if use doc; then
70 + doxygen Doxyfile || die
71 + fi
72 +}
73 +
74 +src_install() {
75 + dodir /etc
76 + default
77 +
78 + use doc && dohtml html/*
79 + dodoc AUTHORS ChangeLog README NEWS
80 + dodoc doc/*.txt doc/README
81 +
82 + doicon "${DISTDIR}"/${PN}.png
83 + make_desktop_entry ${PN} Dillo
84 +}
85 +
86 +pkg_postinst() {
87 + elog "Dillo has installed a default configuration into /etc/dillo/dillorc"
88 + elog "You can copy this to ~/.dillo/ and customize it"
89 +}