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/surf/
Date: Mon, 13 Feb 2017 05:57:26
Message-Id: 1486965031.8ac51403101dbd62f10d2daaeac9c633cc69e082.jer@gentoo
1 commit: 8ac51403101dbd62f10d2daaeac9c633cc69e082
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 13 05:50:31 2017 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 13 05:50:31 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ac51403
7
8 www-client/surf: Old.
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 www-client/surf/surf-0.6-r2.ebuild | 68 --------------------------------------
13 1 file changed, 68 deletions(-)
14
15 diff --git a/www-client/surf/surf-0.6-r2.ebuild b/www-client/surf/surf-0.6-r2.ebuild
16 deleted file mode 100644
17 index d724870d21..0000000000
18 --- a/www-client/surf/surf-0.6-r2.ebuild
19 +++ /dev/null
20 @@ -1,68 +0,0 @@
21 -# Copyright 1999-2014 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -# $Id$
24 -
25 -EAPI=5
26 -inherit eutils savedconfig toolchain-funcs
27 -
28 -DESCRIPTION="a simple web browser based on WebKit/GTK+"
29 -HOMEPAGE="http://surf.suckless.org/"
30 -SRC_URI="http://dl.suckless.org/${PN}/${P}.tar.gz"
31 -
32 -LICENSE="MIT"
33 -SLOT="0"
34 -KEYWORDS="~amd64 ~x86"
35 -
36 -COMMON_DEPEND="
37 - dev-libs/glib:2
38 - net-libs/libsoup
39 - net-libs/webkit-gtk:2
40 - x11-libs/gtk+:2
41 - x11-libs/libX11
42 -"
43 -DEPEND="
44 - ${COMMON_DEPEND}
45 - virtual/pkgconfig
46 -"
47 -RDEPEND="
48 - !sci-chemistry/surf
49 - ${COMMON_DEPEND}
50 - x11-apps/xprop
51 - x11-misc/dmenu
52 - !savedconfig? (
53 - net-misc/curl
54 - x11-terms/st
55 - )
56 -"
57 -
58 -pkg_setup() {
59 - if ! use savedconfig; then
60 - elog "The default config.h assumes you have"
61 - elog " net-misc/curl"
62 - elog " x11-terms/st"
63 - elog "installed to support the download function."
64 - elog "Without those, downloads will fail (gracefully)."
65 - elog "You can fix this by:"
66 - elog "1) Installing these packages, or"
67 - elog "2) Setting USE=savedconfig and changing config.h accordingly."
68 - fi
69 -}
70 -
71 -src_prepare() {
72 - epatch "${FILESDIR}"/${P}-gentoo.patch
73 - epatch_user
74 - restore_config config.h
75 - tc-export CC PKG_CONFIG
76 -}
77 -
78 -src_install() {
79 - default
80 - save_config config.h
81 -}
82 -
83 -pkg_postinst() {
84 - if [[ ${REPLACING_VERSIONS} ]] && [[ ${REPLACING_VERSIONS} < 0.4.1-r1 ]]; then
85 - ewarn "Please correct the permissions of your \$HOME/.surf/ directory"
86 - ewarn "and its contents to no longer be world readable (see bug #404983)"
87 - fi
88 -}