You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
2.0 KiB
61 lines
2.0 KiB
# Maintainer: John Jenkins twodopeshaggy@gmail.com |
|
# Contributor: megadriver <megadriver at gmx dot com> |
|
# Contributor: Leonid.I |
|
# This is basically the old evince-gtk PKGBUILD by pizzapunk |
|
# This one DOES conflict with evince from [extra], on purpose :) |
|
|
|
pkgname=evince2-light |
|
pkgver=2.32.0 |
|
pkgrel=7 |
|
pkgdesc="Simply a document viewer (GTK2 version, GNOME free!)" |
|
arch=('i686' 'x86_64') |
|
url="http://projects.gnome.org/evince/" |
|
license=('GPL') |
|
depends=('gtk2' 'poppler-glib' 'libspectre' 'djvulibre' 't1lib' 'gsfonts' 'hicolor-icon-theme' 'desktop-file-utils') |
|
makedepends=('intltool') |
|
provides=('evince') |
|
conflicts=('evince') |
|
options=('!libtool') |
|
install=evince2-light.install |
|
source=("http://ftp.gnome.org/pub/gnome/sources/evince/2.32/evince-$pkgver.tar.bz2" |
|
update-poppler.patch libview-crash.patch kill-missing-gconf-complaints.patch 0001-tiff-fix-compile-warning.patch) |
|
md5sums=('ebc3ce6df8dcbf29cb9492f8dd031319' |
|
'10630dcef4486c00e58ef93963b4177f' |
|
'98139149793acd30188e037780e9a2cf' |
|
'0db697ba8cdca1deb889d36aaacf4f52' |
|
"339d61e12fd953913e29c4ee8e908f54") |
|
|
|
build() { |
|
cd "$srcdir"/evince-$pkgver |
|
|
|
patch -Np1 -i "$srcdir/libview-crash.patch" |
|
patch -Np1 -i "$srcdir/update-poppler.patch" |
|
patch -Np1 -i "$srcdir/kill-missing-gconf-complaints.patch" |
|
patch -Np1 -i "$srcdir/0001-tiff-fix-compile-warning.patch" |
|
sed -i -e '63d' configure.ac |
|
autoreconf -fi |
|
|
|
# Don't depend on gnome-icon-theme |
|
sed -i '/gnome-icon-theme/d' configure |
|
|
|
./configure --prefix=/usr \ |
|
--libexecdir=/usr/lib/evince \ |
|
--disable-static \ |
|
--disable-schemas-compile \ |
|
--disable-tests \ |
|
--disable-nautilus \ |
|
--disable-scrollkeeper \ |
|
--disable-help \ |
|
--enable-t1lib \ |
|
--enable-pixbuf \ |
|
--enable-impress \ |
|
--without-keyring \ |
|
--without-gconf |
|
make LIBS=-lICE |
|
} |
|
|
|
package() { |
|
cd "$srcdir"/evince-$pkgver |
|
make DESTDIR="$pkgdir" install |
|
rm -rf $pkgdir/usr/share/GConf |
|
}
|
|
|