summaryrefslogtreecommitdiff
path: root/extra/evince
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-11 22:34:26 +0000
committerroot <root@rshg047.dnsready.net>2011-05-11 22:34:26 +0000
commit8867b1d4d0601b21618d44d015460739590ca01d (patch)
treee67076b8591d23942739891c69b2f5459ff9e909 /extra/evince
parent01b47af6474ac094ec199c7d75208874f8842d87 (diff)
Wed May 11 22:34:25 UTC 2011
Diffstat (limited to 'extra/evince')
-rw-r--r--extra/evince/PKGBUILD16
-rw-r--r--extra/evince/introspection-fix.patch11
2 files changed, 22 insertions, 5 deletions
diff --git a/extra/evince/PKGBUILD b/extra/evince/PKGBUILD
index 217a1a3e1..25e577816 100644
--- a/extra/evince/PKGBUILD
+++ b/extra/evince/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 121987 2011-05-01 07:40:14Z ibiru $
+# $Id: PKGBUILD 123362 2011-05-10 16:22:31Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=evince
pkgver=3.0.0
-pkgrel=3
+pkgrel=4
pkgdesc="Simply a document viewer"
url="http://projects.gnome.org/evince/"
arch=('i686' 'x86_64')
@@ -15,19 +15,25 @@ optdepends=('texlive-bin: DVI support')
groups=('gnome-extra')
install=evince.install
options=('!libtool' '!emptydirs')
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('7c994a94200114ea7077d3348a03cbbad01c819ece2ec24b436b16e04386291b')
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2
+ introspection-fix.patch)
+sha256sums=('7c994a94200114ea7077d3348a03cbbad01c819ece2ec24b436b16e04386291b'
+ '897b8c77c5cda31f4f8d860cd6a7ad8ad986dbf3cf26b56acf054cc650e94be1')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np1 -i "${srcdir}/introspection-fix.patch"
+ autoreconf -fi
+
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --libexecdir=/usr/lib/evince \
--disable-static --enable-nautilus \
--enable-pdf --enable-tiff \
--enable-djvu --enable-dvi \
--enable-t1lib --enable-comics \
- --disable-scrollkeeper --disable-schemas-compile
+ --disable-scrollkeeper --disable-schemas-compile \
+ --enable-introspection
make
}
diff --git a/extra/evince/introspection-fix.patch b/extra/evince/introspection-fix.patch
new file mode 100644
index 000000000..6a64517bd
--- /dev/null
+++ b/extra/evince/introspection-fix.patch
@@ -0,0 +1,11 @@
+diff a/libview/Makefile.am b/libview/Makefile.am
+--- a/libview/Makefile.am
++++ b/libview/Makefile.am
+@@ -136,6 +136,7 @@ EvinceView-$(EV_API_VERSION).gir: libevview3.la Makefile $(INST_H_FILES) $(filte
+ --output $@ \
+ --pkg evince-document-$(EV_API_VERSION) \
+ --pkg evince-view-$(EV_API_VERSION) \
++ -L$(top_builddir)/libdocument/ \
+ -I$(top_srcdir) \
+ -I$(top_builddir) \
+ -DEVINCE_COMPILATION \