blob: 8d1085c95685a49acea89c48f9b4cf5408a108e7 (
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=evince
pkgver=2.32.0
pkgrel=13
pkgdesc="simple document viewer for GTK+"
url="http://projects.gnome.org/evince/"
arch="all"
license="GPL"
depends="gnome-icon-theme"
depends_dev="gtk+-dev poppler-gtk-dev libsm-dev libevent-dev libxrandr-dev
libx11-dev libxcursor-dev libxcomposite-dev libxi-dev util-linux-dev
gconf-dev tiff-dev"
makedepends="$depends_dev intltool gnome-doc-utils autoconf automake"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="ftp://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2
evince-2.32.0-create_thumbnail_frame-null.patch
evince-2.32.0-desktop-categories.patch
evince-2.32.0-dvi-CVEs.patch
evince-2.32.0-dvi-security.patch
evince-2.32.0-gold.patch
evince-2.32.0-libdocument-segfault.patch
evince-2.32.0-libview-crash.patch
evince-2.32.0-pk-fonts.patch
evince-2.32.0-stop-spinner.patch
evince-2.32.0-update-poppler.patch
evince-2.32.0-use-popup.patch
libice-underlinking.patch
automake.patch
"
_builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
aclocal && automake --add-missing && autoconf
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-nautilus \
--disable-scrollkeeper \
--enable-pixbuf \
--without-gconf \
--without-keyring || return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" -name '*.la' -delete
}
md5sums="ebc3ce6df8dcbf29cb9492f8dd031319 evince-2.32.0.tar.bz2
814f54b01c4e8ed4de2036b753bacbf7 evince-2.32.0-create_thumbnail_frame-null.patch
92ea3cf54ebdf9ddb1d0a5da009788fc evince-2.32.0-desktop-categories.patch
d4bf03735c5af68a4ad74101d01ba5da evince-2.32.0-dvi-CVEs.patch
d6f6ec8f197ab3a689914cd44752be6c evince-2.32.0-dvi-security.patch
6eaab8d2a1bfef30e97ebe9086259397 evince-2.32.0-gold.patch
9a0cd3999e648ec8e7263bdd22af4f3d evince-2.32.0-libdocument-segfault.patch
98139149793acd30188e037780e9a2cf evince-2.32.0-libview-crash.patch
dd7c481578b472e65f947eae8ff94aff evince-2.32.0-pk-fonts.patch
b9def0a702de462adad4758ca9d96b0f evince-2.32.0-stop-spinner.patch
10630dcef4486c00e58ef93963b4177f evince-2.32.0-update-poppler.patch
7f8d43461c08e439a18c65571493ad98 evince-2.32.0-use-popup.patch
be7141be70e1434f699c0a14998d7ef0 libice-underlinking.patch
ce28cef176b306bcd9e4ed4824fe41eb automake.patch"
|