diff options
Diffstat (limited to 'libre/midori')
-rw-r--r-- | libre/midori/PKGBUILD | 32 |
1 files 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 <rabyte@gmail.com> # Contributor (Arch): Johannes Krampf <wuischke@amule.org> # Contributor (Arch): Bartłomiej Piotrowski <barthalion@gmail.com> -# Contributor: André Silva <emulatorman@hyperbola.info> +# Contributor (Arch): André Silva <emulatorman@hyperbola.info> +# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> 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 |