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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Thu Jun 26 04:41:55 2014 UTC (3 months, 3 weeks ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +8 -4 lines
Add libsecret use flag and update libsoup dep.

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

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-9999.ebuild,v 1.9 2014/03/17 03:44:45 radhermit Exp $
4
5 EAPI=5
6
7 inherit git-r3 toolchain-funcs
8
9 EGIT_REPO_URI="https://bitbucket.org/portix/dwb.git"
10
11 DESCRIPTION="Dynamic web browser based on WebKit and GTK+"
12 HOMEPAGE="http://portix.bitbucket.org/dwb/"
13
14 LICENSE="GPL-3"
15 SLOT="0"
16 KEYWORDS=""
17 IUSE="examples gtk3 libsecret"
18
19 RDEPEND="
20 >=net-libs/libsoup-2.38:2.4
21 dev-libs/json-c
22 net-libs/gnutls
23 !gtk3? (
24 >=net-libs/webkit-gtk-1.8.0:2
25 x11-libs/gtk+:2
26 )
27 gtk3? (
28 >=net-libs/webkit-gtk-1.8.0:3
29 x11-libs/gtk+:3
30 )
31 libsecret? ( app-crypt/libsecret )
32 "
33 DEPEND="${RDEPEND}
34 virtual/pkgconfig"
35
36 src_prepare() {
37 sed -i "/^CFLAGS += -\(pipe\|g\|O2\)/d" config.mk || die
38 }
39
40 src_compile() {
41 local myconf
42 use gtk3 && myconf+=" GTK=3"
43 ! use libsecret && myconf+=" USE_LIB_SECRET=0"
44
45 emake CC="$(tc-getCC)" ${myconf}
46 }
47
48 src_install() {
49 default
50
51 if use examples ; then
52 dodoc -r examples
53 docompress -x /usr/share/doc/${PF}/examples
54 fi
55 }

  ViewVC Help
Powered by ViewVC 1.1.20