summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-09-13 07:04:26 +0200
committerMichał Górny <mgorny@gentoo.org>2019-09-13 07:10:45 +0200
commit6bdd864a5abf368099e1f83af131c7cd45ef7890 (patch)
tree3ae9994f5ea9f132919cfb9124cd968a13ef0b42
parentsys-apps/nvme-cli: Fix parallel make bug 694250 (diff)
downloadgentoo-6bdd864a5abf368099e1f83af131c7cd45ef7890.tar.gz
gentoo-6bdd864a5abf368099e1f83af131c7cd45ef7890.tar.bz2
gentoo-6bdd864a5abf368099e1f83af131c7cd45ef7890.zip
www-client/midori: Bump to 9.0
Closes: https://bugs.gentoo.org/680514 Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--www-client/midori/Manifest1
-rw-r--r--www-client/midori/midori-9.0.ebuild64
2 files changed, 65 insertions, 0 deletions
diff --git a/www-client/midori/Manifest b/www-client/midori/Manifest
index 0f2f13542e93..a72fbadeaae1 100644
--- a/www-client/midori/Manifest
+++ b/www-client/midori/Manifest
@@ -1 +1,2 @@
DIST midori-v7.0.tar.gz 1827341 BLAKE2B e008be32851a3ee12744b7b4e686545a2f9cd84fc6f05a647744c512ea5286fdc1db3b1ec40f546208ffbca4ca8a179752f27b85d9060765a7612ac7c260c67f SHA512 4110d1566ba8b0979c29f1c3a95af3da4cba884f44a1305403d8951f7f2dfb17946c3c7326eebafc111738950c907d06cc6c54ce670cde321da890d8b9ced051
+DIST midori-v9.0.tar.gz 1902467 BLAKE2B 0a6b46bddd0286c56d3f30b429dc46f90177931f8c596912183ed990124b831b5407807e2693e3b5e0d02074386b46e98823b33f6e785963b9507742bac58763 SHA512 0cc28643593f53c47b453838152dcbe35a9a287bff38bda830844eb8f321a4f48c99b21e16a9b07bebdd0abc936d88fd759c3222a36325aa667a28ae00148be3
diff --git a/www-client/midori/midori-9.0.ebuild b/www-client/midori/midori-9.0.ebuild
new file mode 100644
index 000000000000..436f97ec9ee3
--- /dev/null
+++ b/www-client/midori/midori-9.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+VALA_MIN_API_VERSION=0.36
+
+inherit cmake-utils vala xdg-utils
+
+MY_P=${PN}-v${PV}
+DESCRIPTION="A lightweight web browser based on WebKitGTK+"
+HOMEPAGE="https://www.midori-browser.org/"
+SRC_URI="https://github.com/midori-browser/core/releases/download/v${PV}/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~mips ~x86"
+IUSE=""
+
+RDEPEND="
+ app-arch/libarchive:=
+ >=app-crypt/gcr-3:=[gtk,vala]
+ >=dev-db/sqlite-3.6.19:3
+ >=dev-libs/glib-2.46.2:2
+ >=dev-libs/json-glib-0.12
+ dev-libs/libpeas[gtk]
+ dev-libs/libxml2
+ >=net-libs/libsoup-2.38:2.4[vala]
+ >=net-libs/webkit-gtk-2.16.6:4[introspection]
+ >=x11-libs/libnotify-0.7
+ >=x11-libs/gtk+-3.12.0:3
+"
+DEPEND="${RDEPEND}
+ $(vala_depend)
+ dev-util/intltool
+ sys-devel/gettext
+"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ cmake-utils_src_prepare
+ vala_src_prepare
+ sed -i -e '/^install/s:COPYING::' CMakeLists.txt || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF}
+ -DVALA_EXECUTABLE="${VALAC}"
+ )
+
+ cmake-utils_src_configure
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+}