diff options
author | Paul Bredbury <brebs@sent.com> | 2019-03-04 00:09:36 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2019-03-06 13:19:44 +0000 |
commit | edbcca8234e1d8253dbdb13e64ea5095735cbd4e (patch) | |
tree | 0e2617bc012dee8e782e1872bd7bf548e0e741fc /community/midori | |
parent | 440ac8b418baa31b8dc1f125154f24325c06e7cf (diff) | |
download | aports-edbcca8234e1d8253dbdb13e64ea5095735cbd4e.tar.bz2 aports-edbcca8234e1d8253dbdb13e64ea5095735cbd4e.tar.xz |
community/midori: upgrade to 8.0
Add libarchive-dev and json-glib-dev as build requirements.
Remove obsolete cmake options.
Diffstat (limited to 'community/midori')
-rw-r--r-- | community/midori/APKBUILD | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/community/midori/APKBUILD b/community/midori/APKBUILD index 9eb29ed80d..7b34f3047a 100644 --- a/community/midori/APKBUILD +++ b/community/midori/APKBUILD @@ -1,43 +1,39 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=midori -pkgver=6.0 +pkgver=8.0 pkgrel=0 pkgdesc="A lightweight web browser based on Gtk WebKit" -url="http://www.midori-browser.org" +url="https://www.midori-browser.org" arch="all" license="LGPL-2.0-or-later" depends= makedepends="cmake librsvg-dev paxmark python2 vala gtk+3.0-dev gcr-dev - libunique-dev webkit2gtk-dev libpeas-dev" + libarchive-dev libunique-dev json-glib-dev webkit2gtk-dev libpeas-dev" subpackages="$pkgname-lang $pkgname-doc" install="" options="!check" # unable to check -source="https://github.com/midori-browser/core/releases/download/v${pkgver%.0}/midori-v$pkgver.tar.gz - " -builddir="${srcdir}/${pkgname}-${pkgver}" +source="https://github.com/midori-browser/core/releases/download/v$pkgver/midori-v$pkgver.tar.gz" +builddir="${srcdir}/${pkgname}-v${pkgver}/build" -unpack() { - mkdir -p "$builddir" - tar -zxf "${srcdir}/midori-v$pkgver.tar.gz" -C "$builddir" +prepare() { + default_prepare + mkdir "$builddir" } build() { - mkdir "$builddir"/build - cd "$builddir"/build + cd "$builddir" cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=/usr/lib \ - -DUSE_GTK3=ON \ - -DHALF_BRO_INCOM_WEBKIT2=ON \ - -DUSE_ZEITGEIST=OFF \ + -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ .. make } package() { - cd "$builddir"/build + cd "$builddir" make DESTDIR="$pkgdir" install } -sha512sums="2b3e4808b1297a3ef8436b45ac38782e070658a0ecc62bcf8d0b2cf49f256cdad799ccc5d28df11ff595c042e8474fa2e87065d9a89cdb5a936237c44fdfd9e7 midori-v6.0.tar.gz" +sha512sums="3a8cbca941637160a41f8a638e2153ddd5d8930a3d26df2031d90de40234743f5663c853ddf655673331b8a9ec07c65d8920768a4744fa5412bc2eddf2b8d81f midori-v8.0.tar.gz" |