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