summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-12-06 03:50:25 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-12-06 03:50:25 +0000
commitcf24b80b8f516faf0f36ae833332647587684f4c (patch)
tree2c29673c052cdf03159e223951e4fee56b99a640 /www-client
parentSearch for javascriptcoregtk-3.0 instead of javascriptcoregtk-1.0 wrt #392919... (diff)
downloadgentoo-2-cf24b80b8f516faf0f36ae833332647587684f4c.tar.gz
gentoo-2-cf24b80b8f516faf0f36ae833332647587684f4c.tar.bz2
gentoo-2-cf24b80b8f516faf0f36ae833332647587684f4c.zip
Restore GTK+ 2.x based ebuild for now wrt #392571 by Balint SZENTE
(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)
Diffstat (limited to 'www-client')
-rw-r--r--www-client/midori/ChangeLog8
-rw-r--r--www-client/midori/midori-0.4.2-r200.ebuild72
2 files changed, 79 insertions, 1 deletions
diff --git a/www-client/midori/ChangeLog b/www-client/midori/ChangeLog
index 7c405d8fea7f..eec772c29a80 100644
--- a/www-client/midori/ChangeLog
+++ b/www-client/midori/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-client/midori
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/midori/ChangeLog,v 1.77 2011/12/06 03:47:13 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/midori/ChangeLog,v 1.78 2011/12/06 03:50:25 ssuominen Exp $
+
+*midori-0.4.2-r200 (06 Dec 2011)
+
+ 06 Dec 2011; Samuli Suominen <ssuominen@gentoo.org>
+ +midori-0.4.2-r200.ebuild:
+ Restore GTK+ 2.x based ebuild for now wrt #392571 by Balint SZENTE
06 Dec 2011; Samuli Suominen <ssuominen@gentoo.org> midori-0.4.2-r300.ebuild:
Search for javascriptcoregtk-3.0 instead of javascriptcoregtk-1.0 wrt #392919
diff --git a/www-client/midori/midori-0.4.2-r200.ebuild b/www-client/midori/midori-0.4.2-r200.ebuild
new file mode 100644
index 000000000000..7fff675f06b4
--- /dev/null
+++ b/www-client/midori/midori-0.4.2-r200.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/midori/midori-0.4.2-r200.ebuild,v 1.1 2011/12/06 03:50:25 ssuominen Exp $
+
+EAPI=4
+inherit eutils fdo-mime gnome2-utils python waf-utils
+
+PV_vala_version=0.14
+
+DESCRIPTION="A lightweight web browser based on WebKitGTK+"
+HOMEPAGE="http://www.twotoasts.de/index.php?/pages/midori_summary.html"
+SRC_URI="mirror://xfce/src/apps/${PN}/${PV%.*}/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-fbsd"
+IUSE="doc gnome libnotify nls +unique"
+
+RDEPEND="dev-db/sqlite:3
+ >=dev-libs/glib-2.22
+ dev-libs/libxml2
+ net-libs/libsoup:2.4
+ net-libs/webkit-gtk:2
+ x11-libs/gtk+:2
+ x11-libs/libXScrnSaver
+ gnome? ( net-libs/libsoup-gnome:2.4 )
+ libnotify? ( x11-libs/libnotify )
+ unique? ( dev-libs/libunique:1 )"
+DEPEND="${RDEPEND}
+ || ( dev-lang/python:2.7 dev-lang/python:2.6 )
+ dev-lang/vala:${PV_vala_version}
+ dev-util/intltool
+ gnome-base/librsvg
+ doc? ( dev-util/gtk-doc )
+ nls? ( sys-devel/gettext )"
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+
+ DOCS=( AUTHORS ChangeLog HACKING INSTALL TODO TRANSLATE )
+ HTML_DOCS=( data/faq.html data/faq.css )
+}
+
+src_configure() {
+ strip-linguas -i po
+
+ VALAC="$(type -P valac-${PV_vala_version})" \
+ waf-utils_src_configure \
+ --disable-docs \
+ $(use_enable doc apidocs) \
+ $(use_enable unique) \
+ $(use_enable libnotify) \
+ --enable-addons \
+ $(use_enable nls)
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+}