From: "Austin English" <wizardedit@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/midori/
Date: Tue, 12 Apr 2016 07:52:27 +0000 (UTC) [thread overview]
Message-ID: <1460447477.4d2431df0b0f811740d63f9f3b03caa7bab6bbc1.wizardedit@gentoo> (raw)
commit: 4d2431df0b0f811740d63f9f3b03caa7bab6bbc1
Author: Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 12 07:46:24 2016 +0000
Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Tue Apr 12 07:51:17 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d2431df
www-client/midori: update to EAPI 6
Package-Manager: portage-2.2.26
www-client/midori/midori-0.5.11-r1.ebuild | 136 ++++++++++++++++++++++++++++++
1 file changed, 136 insertions(+)
diff --git a/www-client/midori/midori-0.5.11-r1.ebuild b/www-client/midori/midori-0.5.11-r1.ebuild
new file mode 100644
index 0000000..13daedd
--- /dev/null
+++ b/www-client/midori/midori-0.5.11-r1.ebuild
@@ -0,0 +1,136 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE='threads(+)'
+VALA_MIN_API_VERSION="0.30"
+
+unset _live_inherits
+
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="git://git.xfce.org/apps/${PN}"
+ _live_inherits=git-2
+else
+ KEYWORDS="~amd64 ~arm ~mips ~x86 ~x86-fbsd"
+ SRC_URI="http://www.${PN}-browser.org/downloads/${PN}_${PV}_all_.tar.bz2"
+fi
+
+inherit eutils fdo-mime gnome2-utils pax-utils python-any-r1 cmake-utils vala ${_live_inherits}
+
+DESCRIPTION="A lightweight web browser based on WebKitGTK+"
+HOMEPAGE="http://www.midori-browser.org/"
+
+LICENSE="LGPL-2.1 MIT"
+SLOT="0"
+IUSE="deprecated doc granite introspection +jit +webkit2 zeitgeist"
+
+RDEPEND="
+ >=app-crypt/gcr-3[gtk]
+ >=dev-db/sqlite-3.6.19:3
+ >=dev-libs/glib-2.32.3
+ dev-libs/libxml2
+ >=net-libs/libsoup-2.38:2.4
+ >=net-libs/libsoup-gnome-2.38:2.4
+ >=x11-libs/libnotify-0.7
+ deprecated? (
+ >=net-libs/webkit-gtk-1.8.1:2[jit=]
+ >=x11-libs/gtk+-2.24:2
+ )
+ !deprecated? (
+ >=x11-libs/gtk+-3.10.0:3
+ webkit2? ( >=net-libs/webkit-gtk-2.3.91:4[jit=] )
+ !webkit2? ( >=net-libs/webkit-gtk-1.8.1:3[jit=] )
+ )
+ granite? ( >=dev-libs/granite-0.2 )
+ introspection? ( dev-libs/gobject-introspection:= )
+ zeitgeist? ( >=dev-libs/libzeitgeist-0.3.14 )
+"
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ $(vala_depend)
+ dev-util/intltool
+ gnome-base/librsvg
+ sys-devel/gettext
+ doc? ( dev-util/gtk-doc )
+"
+REQUIRED_USE="
+ granite? ( !deprecated )
+ introspection? ( deprecated )
+ webkit2? ( !deprecated )
+"
+
+pkg_setup() {
+ python-any-r1_pkg_setup
+}
+
+src_unpack() {
+ if [[ ${PV} == *9999* ]]; then
+ git-2_src_unpack
+ else
+ default
+ fi
+}
+
+src_prepare() {
+ vala_src_prepare
+ sed -i -e '/^install/s:COPYING:HACKING TODO TRANSLATE:' CMakeLists.txt || die
+ eapply_user
+}
+
+src_configure() {
+ strip-linguas -i po
+
+ local mycmakeargs=(
+ -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF}
+ -DUSE_APIDOCS="$(usex doc)"
+ -DUSE_GIR="$(usex introspection)"
+ -DUSE_granite="$(usex granite)"
+ -DUSE_zeitgeist="$(usex zeitgeist)"
+ -DVALA_EXECUTABLE="${VALAC}"
+ )
+
+ if use deprecated; then
+ mycmakeargs+=(
+ -DUSE_GTK3=OFF
+ -DHALF_BRO_INCOM_WEBKIT2=OFF
+ )
+ else
+ mycmakeargs+=(
+ -DUSE_GTK3=ON
+ -DHALF_BRO_INCOM_WEBKIT2="$(usex webkit2)"
+ )
+ fi
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ local jit_is_enabled
+ if use deprecated; then
+ has_version 'net-libs/webkit-gtk:2[jit]' && jit_is_enabled=yes
+ else
+ has_version 'net-libs/webkit-gtk:3[jit]' && jit_is_enabled=yes
+ fi
+ [[ ${jit_is_enabled} == yes ]] && pax-mark -m "${ED}"/usr/bin/${PN} #480290
+}
+
+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
+}
next reply other threads:[~2016-04-12 7:52 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-12 7:52 Austin English [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-12-26 21:03 [gentoo-commits] repo/gentoo:master commit in: www-client/midori/ Arthur Zamarin
2021-09-28 14:53 Yixun Lan
2019-09-13 5:11 Michał Górny
2019-04-07 14:43 Mikle Kolyada
2019-04-07 14:41 Mikle Kolyada
2019-02-27 4:25 Aaron Bauman
2018-12-02 16:32 Michał Górny
2018-12-02 16:15 Michał Górny
2018-11-04 20:21 Michał Górny
2018-11-04 13:37 Jeroen Roovers
2018-11-03 11:48 Sven Wegener
2018-11-02 20:01 Michał Górny
2018-10-24 12:58 Michał Górny
2018-05-14 9:18 Michał Górny
2018-05-14 9:18 Michał Górny
2018-05-14 9:18 Michał Górny
2018-05-14 9:18 Michał Górny
2018-05-14 9:18 Michał Górny
2018-04-30 17:35 Mikle Kolyada
2017-12-25 10:43 David Seifert
2016-04-13 19:39 Austin English
2016-04-12 7:52 Austin English
2015-09-25 9:51 Lars Wendler
2015-09-25 9:51 Lars Wendler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1460447477.4d2431df0b0f811740d63f9f3b03caa7bab6bbc1.wizardedit@gentoo \
--to=wizardedit@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox