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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Jul 6 13:23:12 2014 UTC (8 months, 3 weeks ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +3 -3 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-2013.03.30.ebuild,v 1.2 2013/04/30 07:57:58 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 epatch "${FILESDIR}"/${P}-json-c.patch
35
36 sed -i '/^CFLAGS += -\(pipe\|g\|O2\)/d' config.mk || die
37 }
38
39 src_compile() {
40 local myconf
41 use gtk3 && myconf+=" GTK=3"
42
43 # uclibc and other systems don't have execinfo.h (bug #465170)
44 if ! (echo '#include <execinfo.h>' | $(tc-getCC) -E - &>/dev/null) ; then
45 myconf+=" WITHOUT_EXECINFO=1"
46 fi
47
48 emake CC="$(tc-getCC)" ${myconf}
49 }
50
51 src_install() {
52 default
53
54 if use examples ; then
55 dodoc -r examples
56 docompress -x /usr/share/doc/${PF}/examples
57 fi
58 }

  ViewVC Help
Powered by ViewVC 1.1.20