/[gentoo-x86]/www-client/dwb/dwb-2014.03.07.ebuild
Gentoo

Contents of /www-client/dwb/dwb-2014.03.07.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Jul 6 13:23:12 2014 UTC (2 months, 2 weeks ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
Replace obsolete mirror://bitbucket with the real URI.

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-client/dwb/dwb-2014.03.07.ebuild,v 1.1 2014/03/17 03:44:46 radhermit Exp $
4
5 EAPI=5
6
7 inherit toolchain-funcs eutils
8
9 DESCRIPTION="Dynamic web browser based on WebKit and GTK+"
10 HOMEPAGE="http://portix.bitbucket.org/dwb/"
11 SRC_URI="https://www.bitbucket.org/portix/dwb/downloads/${P}.tar.gz"
12
13 LICENSE="GPL-3"
14 SLOT="0"
15 KEYWORDS="~amd64 ~ppc ~x86"
16 IUSE="examples gtk3"
17
18 RDEPEND=">=net-libs/libsoup-2.32:2.4
19 dev-libs/json-c
20 net-libs/gnutls
21 !gtk3? (
22 >=net-libs/webkit-gtk-1.8.0:2
23 x11-libs/gtk+:2
24 )
25 gtk3? (
26 >=net-libs/webkit-gtk-1.8.0:3
27 x11-libs/gtk+:3
28 )"
29 DEPEND="${RDEPEND}
30 virtual/pkgconfig"
31
32 src_prepare() {
33 epatch "${FILESDIR}"/${P}-verbose-build.patch
34
35 sed -i '/^CFLAGS += -\(pipe\|g\|O2\)/d' config.mk || die
36 }
37
38 src_compile() {
39 local myconf
40 use gtk3 && myconf+=" GTK=3"
41
42 emake CC="$(tc-getCC)" ${myconf}
43 }
44
45 src_install() {
46 default
47
48 if use examples ; then
49 dodoc -r examples
50 docompress -x /usr/share/doc/${PF}/examples
51 fi
52 }

  ViewVC Help
Powered by ViewVC 1.1.20