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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.39 - (hide annotations) (download)
Mon Nov 28 23:41:30 2011 UTC (2 years, 7 months ago) by ssuominen
Branch: MAIN
Changes since 1.38: +2 -2 lines
Update libunique dep too for last commit

(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)

1 ssuominen 1.24 # Copyright 1999-2011 Gentoo Foundation
2 jokey 1.1 # Distributed under the terms of the GNU General Public License v2
3 ssuominen 1.39 # $Header: /var/cvsroot/gentoo-x86/www-client/midori/midori-9999.ebuild,v 1.38 2011/11/28 23:39:09 ssuominen Exp $
4 jokey 1.1
5 angelos 1.37 EAPI=4
6 angelos 1.32 inherit eutils fdo-mime gnome2-utils python waf-utils git-2
7 jokey 1.1
8 ssuominen 1.38 PV_vala_version=0.14
9    
10 darkside 1.16 DESCRIPTION="A lightweight web browser based on WebKitGTK+"
11 jokey 1.5 HOMEPAGE="http://www.twotoasts.de/index.php?/pages/midori_summary.html"
12 angelos 1.28 EGIT_REPO_URI="git://git.xfce.org/apps/${PN}"
13 jokey 1.1
14 angelos 1.33 LICENSE="LGPL-2.1 MIT"
15 jokey 1.1 SLOT="0"
16 angelos 1.29 KEYWORDS=""
17 angelos 1.37 IUSE="doc gnome libnotify nls +unique"
18 jokey 1.1
19 ssuominen 1.38 RDEPEND="dev-db/sqlite:3
20     >=dev-libs/glib-2.22
21     dev-libs/libxml2
22 angelos 1.37 net-libs/libsoup:2.4
23 ssuominen 1.38 net-libs/webkit-gtk:3
24     x11-libs/gtk+:3
25 ssuominen 1.36 x11-libs/libXScrnSaver
26 nirbheek 1.31 gnome? ( net-libs/libsoup-gnome:2.4 )
27 angelos 1.28 libnotify? ( x11-libs/libnotify )
28 ssuominen 1.39 unique? ( dev-libs/libunique:3 )"
29 jokey 1.10 DEPEND="${RDEPEND}
30 ssuominen 1.21 || ( dev-lang/python:2.7 dev-lang/python:2.6 )
31 ssuominen 1.38 dev-lang/vala:${PV_vala_version}
32 darkside 1.16 dev-util/intltool
33 ssuominen 1.38 gnome-base/librsvg
34 darkside 1.12 doc? ( dev-util/gtk-doc )
35     nls? ( sys-devel/gettext )"
36    
37 ssuominen 1.15 pkg_setup() {
38     python_set_active_version 2
39 ssuominen 1.30 python_pkg_setup
40    
41 angelos 1.33 DOCS=( AUTHORS ChangeLog HACKING INSTALL TODO TRANSLATE )
42 angelos 1.28 HTML_DOCS=( data/faq.html data/faq.css )
43 ssuominen 1.15 }
44    
45 darkside 1.12 src_configure() {
46 ssuominen 1.14 strip-linguas -i po
47    
48 ssuominen 1.38 VALAC="$(type -P valac-${PV_vala_version})" \
49 angelos 1.28 waf-utils_src_configure \
50 darkside 1.12 --disable-docs \
51 ssuominen 1.38 $(use_enable doc apidocs) \
52     $(use_enable unique) \
53     $(use_enable libnotify) \
54 darkside 1.16 --enable-addons \
55 ssuominen 1.19 $(use_enable nls) \
56 ssuominen 1.38 --enable-gtk3
57 jokey 1.1 }
58    
59 ssuominen 1.30 pkg_preinst() {
60     gnome2_icon_savelist
61     }
62    
63     pkg_postinst() {
64     fdo-mime_desktop_database_update
65     fdo-mime_mime_database_update
66     gnome2_icon_cache_update
67     }
68    
69     pkg_postrm() {
70     fdo-mime_desktop_database_update
71     fdo-mime_mime_database_update
72     gnome2_icon_cache_update
73     }

  ViewVC Help
Powered by ViewVC 1.1.20