Commit 7946cbc5 authored by abveritas's avatar abveritas
Browse files

libgsf update, clean-up, other deps

parent 64d9e18e
# $Id: PKGBUILD 79835 2010-05-08 11:38:48Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
pkgbase=libgsf
pkgname=('libgsf')
pkgver=1.14.24
pkgname=libgsf
pkgver=1.14.25
pkgrel=1
arch=(i686 x86_64)
arch=('x86_64')
pkgdesc="The GNOME Structured File Library is a utility library for reading and writing structured file formats"
url="http://www.gnome.org/"
license=('GPL' 'LGPL')
makedepends=('libxml2>=2.7.7' 'glib2>=2.24.1' 'bzip2' 'intltool' 'pkgconfig' 'python2' 'libbonobo>=2.24.3' 'gconf>=2.28.1' 'pygtk')
options=('!libtool' '!emptydirs')
source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgbase}/1.14/${pkgbase}-${pkgver}.tar.xz)
sha256sums=('975fc00a1332167e2baf649f8e2637884f798db1c8bb04abece2d5141663abff')
depends=('libxml2' 'glib2' 'bzip2')
makedepends=('intltool' 'pkgconfig' 'python2' 'gobject-introspection')
options=('!libtool')
source=("http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/1.14/${pkgname}-${pkgver}.tar.xz")
md5sums=('a66a2c6fc327bc62bebe3f988c4f45f3')
build() {
cd "${srcdir}/${pkgbase}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--mandir=/usr/share/man --disable-static || return 1
make || return 1
cd "${srcdir}/${pkgname}-${pkgver}"
PYTHON=/usr/bin/python2
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/share/man \
--disable-static \
--enable-introspection
make
}
package_libgsf() {
pkgdesc="The GNOME Structured File Library is a utility library for reading and writing structured file formats"
depends=('libxml2>=2.7.7' 'glib2>=2.24.1' 'bzip2')
cd "${srcdir}/${pkgbase}-${pkgver}"
make DESTDIR="${pkgdir}" GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 install || return 1
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
#All those removes will strip gnome specific stuff
rm -f "${pkgdir}/usr/share/man/man1/gsf-office-thumbnailer.1"
rm -f "${pkgdir}/usr/lib/libgsf-gnome"*
......
......@@ -12,7 +12,6 @@ url="http://wvware.sourceforge.net/libwmf.html"
license=("LGPL")
depends=('libpng>=1.5.0' 'libx11' 'freetype2' 'libjpeg-turbo' 'gsfonts' 'expat>=2.0')
makedepends=('pkgconfig')
optdepends=('gdk-pixbuf2: for pixbuf loader, used in .install')
options=(!libtool)
source=("http://downloads.sourceforge.net/sourceforge/wvware/${pkgname}-${pkgver}.tar.gz"
'libwmf-0.2.8.4-libpng-1.5.patch')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment