summaryrefslogtreecommitdiff
path: root/extra/gnome-vfs/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gnome-vfs/PKGBUILD')
-rw-r--r--extra/gnome-vfs/PKGBUILD36
1 files changed, 23 insertions, 13 deletions
diff --git a/extra/gnome-vfs/PKGBUILD b/extra/gnome-vfs/PKGBUILD
index dae1cfeb1..067121854 100644
--- a/extra/gnome-vfs/PKGBUILD
+++ b/extra/gnome-vfs/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 136438 2011-08-29 09:40:33Z ibiru $
+# $Id: PKGBUILD 191321 2013-07-23 15:15:03Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=gnome-vfs
pkgver=2.24.4
-pkgrel=6
+pkgrel=7
pkgdesc="The GNOME Virtual File System"
arch=(i686 x86_64)
license=('LGPL')
@@ -14,33 +14,43 @@ url="http://www.gnome.org"
install=gnome-vfs.install
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.24/gnome-vfs-${pkgver}.tar.bz2
gnutls-config.patch
- gcrypt-config.patch)
+ gcrypt-config.patch
+ enable-deprecated.patch)
sha256sums=('62de64b5b804eb04104ff98fcd6a8b7276d510a49fbd9c0feb568f8996444faa'
'66c7cfb12995c0dd94a2caea95c7e3c55981993f05a79c585d60915ff131955d'
- 'c059e218f310da683778919d36e7862f7e763384805f6453d328fbaf507a8114')
+ 'c059e218f310da683778919d36e7862f7e763384805f6453d328fbaf507a8114'
+ 'ca2b9dffb1fa202c0d1f0d3648ef37cd8e84657a22d4c6746bb46e9a6cf1ee47')
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+prepare() {
+ cd ${pkgname}-${pkgver}
#Fix build with new gnutls
- patch -Np1 -i "${srcdir}/gnutls-config.patch"
+ patch -Np1 -i ../gnutls-config.patch
#fix build with new libgcrypt >= 1.5.0
- patch -Np1 -i "${srcdir}/gcrypt-config.patch"
+ patch -Np1 -i ../gcrypt-config.patch
+ # remove -DG_DISABLE_DEPRECATED
+ patch -Np1 -i ../enable-deprecated.patch
+
+ sed -i -s 's|$(srcdir)/auto-test|auto-test|' test/Makefile.am
+}
+build() {
+ cd ${pkgname}-${pkgver}
libtoolize --force
gtkdocize
aclocal
autoconf
- automake
- ./configure --prefix=/usr --sysconfdir=/etc \
+ automake --add-missing
+ CFLAGS="$CFLAGS -fno-strict-aliasing" ./configure \
+ --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-static \
--libexecdir=/usr/lib/gnome-vfs-2.0 \
- --enable-samba --disable-hal \
- --enable-avahi --disable-howl \
+ --enable-samba --with-samba-includes=/usr/include/samba-4.0 \
+ --disable-hal --enable-avahi --disable-howl \
--disable-openssl --enable-gnutls
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
install -d -m755 "${pkgdir}/usr/share/gconf/schemas"