From 2b227652f8328d06648b8646cd6c56a01e270628 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Fri, 21 Dec 2018 13:15:53 -0500 Subject: midori-7.0-1.par1: updating version --- libre/midori/PKGBUILD | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/libre/midori/PKGBUILD b/libre/midori/PKGBUILD index a77e12e44..eada5dd60 100644 --- a/libre/midori/PKGBUILD +++ b/libre/midori/PKGBUILD @@ -3,33 +3,41 @@ # Contributor (Arch): rabyte # Contributor (Arch): Johannes Krampf # Contributor (Arch): Bartłomiej Piotrowski -# Contributor: André Silva +# Contributor (Arch): André Silva +# Maintainer: Omar Vega Ramos pkgname=midori -pkgver=0.5.11 -pkgrel=10 +pkgver=7.0 +pkgrel=1 pkgrel+=.par1 -pkgdesc='Lightweight web browser, without non-privacy search engines' +pkgdesc='Lightweight web browser' +pkgdesc+=', without non-privacy search engines' arch=('x86_64') arch+=('i686' 'armv7h') url='https://midori-browser.org/' license=('LGPL') -depends=('aria2' 'gcr' 'gobject-introspection-runtime' 'libpeas' 'libxss' 'webkit2gtk' 'zeitgeist') -makedepends=('bzr' 'cmake' 'git' 'gobject-introspection' 'intltool' 'ninja' 'vala') +depends=('aria2' 'gcr' 'gobject-introspection-runtime' 'libpeas' 'libxss' + 'webkit2gtk' 'zeitgeist') +makedepends=('bzr' 'cmake' 'git' 'gobject-introspection' 'intltool' 'ninja' + 'vala') optdepends=('gst-plugins-base: HTML5 OGG videos support' 'gst-plugins-good: HTML5 H264 and WebM videos support' 'gst-libav: HTML5 H264 videos support') options=('!emptydirs') -# The latest release of Midori does not build with GTK+ > 3.10. -# Using latest git commit while waiting for the next release. -source=("$pkgname::git+https://github.com/midori-browser/core.git#commit=7dab517e66475929336e80840cce2351891dd4ef") +source=("$pkgname::git+https://github.com/midori-browser/core.git#\ +tag=v${pkgver%.0}") md5sums=('SKIP') -# NOTE: Set GTK_CSD=1 for enabling client side decorations when running Midori - prepare() { cd $pkgname + # Remove non-privacy search engines + sed -i 's|Duck Duck Go|DuckDuckGo HTML| + s|duckduckgo[.]com|duckduckgo.com/html| + \|Yahoo|d + \|Google|d + ' core/preferences.vala + # Use DuckDuckGo HTML sed -i 's|duckduckgo[.]com|duckduckgo.com/html|g' core/settings.vala } @@ -37,11 +45,9 @@ prepare() { build() { mkdir -p build cd build - # TODO: Check if VALA_CFLAGS is respected cmake "../$pkgname" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ - -DHALF_BRO_INCOM_WEBKIT2=ON \ -DCMAKE_C_FLAGS="$CFLAGS -fPIC -w" \ -DVALA_CFLAGS="$CFLAGS -fPIC -w" \ -G Ninja -- cgit v1.2.3