blob: 592e2db366e503a2cf3278f1bcd34ee1e5c09f5f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=midori
pkgver=0.5.9
pkgrel=2
pkgdesc="A lightweight web browser based on Gtk WebKit"
url="http://www.midori-browser.org"
arch="all"
license="LGPL2+"
depends=""
depends_dev="libnotify-dev libunique-dev webkitgtk-dev"
makedepends=" $depends_dev cmake librsvg-dev paxmark python vala"
subpackages="$pkgname-lang"
install=""
source="http://www.midori-browser.org/downloads/midori_${pkgver}_all_.tar.bz2
execinfo-detect.patch
liststore.patch
"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DUSE_ZEITGEIST=OFF \
. || return 1
make
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
# PAX does not like the JIT
paxmark -mp "$pkgdir"/usr/bin/midori || return 1
}
md5sums="a0af659e0f1d6edb2c97aefdc8c0f097 midori_0.5.9_all_.tar.bz2
38acb831d862fa8d9aaa9097b4180840 execinfo-detect.patch
2129acd5db8b098b9c0639ddb5172cb7 liststore.patch"
sha256sums="b1a5309d926ea4e394f4a39552023b0427cf23053793d325e3daefceed282ec0 midori_0.5.9_all_.tar.bz2
cc8c5f1402aa7785d67df96f05c72dcbe74c67624834f427e09ceb44ab6d73c7 execinfo-detect.patch
e1a22ca34bc6306047b96a44f510cc42486e932d5c782862fca0cd341a143735 liststore.patch"
sha512sums="5f1f42347f85485fd07a12d5dd1c42ab341895be1d5e897ef829bf81357ceae988f6679ef8432688f01168d7ae97ead541d0d732a14b7ac36e033bf3b271b7c2 midori_0.5.9_all_.tar.bz2
20cd27a801bf1dcf1c9e4e4642a4a342f5a70e0f97843b155588c80f1e4976dd6f8fd95d5e2d6c416de3f7181d0719e3e04d2d09b6a8d105df4510ef0090bc45 execinfo-detect.patch
9e25d5078de2d92509140dd90edee704b348ca10f6fa2788aed8dda2aa32d6ac614c6d463e5bfb2144ad0473083e2bba50e4ac0ec9eb1e6f0dd23cd7be5955e3 liststore.patch"
|