diff options
author | root <root@rshg047.dnsready.net> | 2011-05-01 22:33:26 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-05-01 22:33:26 +0000 |
commit | 40f0b1c7106cc1fed13f14e80f083ecd69c416f5 (patch) | |
tree | faeb03af48db54c663f74f3f188b9c1c56ca6a0b /extra/gvfs/PKGBUILD | |
parent | c173ac862828a54925737fc1d90ede1dd09a312c (diff) |
Sun May 1 22:33:26 UTC 2011
Diffstat (limited to 'extra/gvfs/PKGBUILD')
-rw-r--r-- | extra/gvfs/PKGBUILD | 57 |
1 files changed, 29 insertions, 28 deletions
diff --git a/extra/gvfs/PKGBUILD b/extra/gvfs/PKGBUILD index 282dcf7a3..2d2f0d321 100644 --- a/extra/gvfs/PKGBUILD +++ b/extra/gvfs/PKGBUILD @@ -1,17 +1,19 @@ -# $Id: PKGBUILD 98674 2010-11-12 16:49:58Z ibiru $ +# $Id: PKGBUILD 120775 2011-04-26 14:51:23Z ibiru $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgbase=gvfs pkgname=('gvfs' 'gvfs-smb' 'gvfs-afc' 'gvfs-gphoto2' 'gvfs-obexftp') -pkgver=1.6.6 +pkgver=1.8.1 pkgrel=1 arch=('i686' 'x86_64') license=('LGPL') -makedepends=('libsoup-gnome>=2.32.0' 'libcdio>=0.82' 'fuse>=2.8.4' 'bluez>=4.77' 'smbclient>=3.5.5' 'libgphoto2>=2.4.10' 'libarchive>=2.8.4' 'gnome-disk-utility>=2.32.0' 'pkgconfig' 'intltool' 'libimobiledevice>=1.0.2') +makedepends=('libsoup-gnome' 'libcdio' 'fuse' 'bluez' 'smbclient' 'libgphoto2' + 'libarchive' 'gnome-disk-utility' 'pkgconfig' 'intltool' + 'libimobiledevice') url="http://www.gnome.org" options=(!libtool) -source=(http://ftp.gnome.org/pub/gnome/sources/${pkgbase}/1.6/${pkgbase}-${pkgver}.tar.bz2) -sha256sums=('902890deb6a670f642180ea958406ebb02af1d5867a464c87e493d56f1dde7bd') +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgbase}/${pkgver%.*}/${pkgbase}-${pkgver}.tar.bz2) +sha256sums=('7d305320d881d914d88286a72a311587ea33fbe5075101729cb5766f01832ff7') build() { cd "${srcdir}/${pkgbase}-${pkgver}" @@ -24,7 +26,7 @@ build() { package_gvfs() { pkgdesc="Userspace virtual filesystem implemented as a pluggable module for gio" - depends=('libsoup-gnome>=2.32.0' 'gnome-disk-utility>=2.32.0' 'libcdio>=0.82' 'fuse>=2.8.4' 'libarchive>=2.8.4') + depends=('libsoup-gnome' 'gnome-disk-utility' 'libcdio' 'fuse' 'libarchive') optdepends=('gvfs-afc: AFC (mobile devices) support' 'gvfs-smb: SMB/CIFS (Windows client) support' 'gvfs-gphoto2: gphoto2 (PTP camera/MTP media player) support' @@ -36,15 +38,18 @@ package_gvfs() { -e 's/^am__append_4/#am__append_4/' \ -i monitor/Makefile make DESTDIR="${pkgdir}" install + cd "${pkgdir}" - rm -f usr/lib/gvfs/gvfsd-{smb,smb-browse,afc,gphoto2,obexftp} - rm -f usr/share/gvfs/mounts/{smb,smb-browse,afc,gphoto2,obexftp}.mount + rm usr/lib/gvfs/gvfsd-{smb,smb-browse,afc,gphoto2,obexftp} + rm usr/share/gvfs/mounts/{smb,smb-browse,afc,gphoto2,obexftp}.mount + rm usr/share/glib-2.0/schemas/org.gnome.system.smb.gschema.xml + rm usr/share/GConf/gsettings/gvfs-smb.convert } package_gvfs-smb() { pkgdesc="SMB/CIFS (Windows client) backend for gvfs" - depends=("gvfs=${pkgver}" 'smbclient>=3.5.5' 'libgnome-keyring>=2.32.0') - install=gvfs-module.install + depends=("gvfs=${pkgver}" 'smbclient' 'libgnome-keyring') + install=gvfs-smb.install cd "${srcdir}/${pkgbase}-${pkgver}/daemon" install -m755 -d "${pkgdir}/usr/lib/gvfs" @@ -52,19 +57,21 @@ package_gvfs-smb() { install -m755 .libs/gvfsd-smb{,-browse} "${pkgdir}/usr/lib/gvfs/" install -m644 smb{,-browse}.mount "${pkgdir}/usr/share/gvfs/mounts/" + + install -Dm644 org.gnome.system.smb.gschema.xml \ + "${pkgdir}/usr/share/glib-2.0/schemas/org.gnome.system.smb.gschema.xml" + install -Dm644 gvfs-smb.convert \ + "${pkgdir}/usr/share/GConf/gsettings/gvfs-smb.convert" } package_gvfs-afc() { pkgdesc="AFC (mobile devices) backend for gvfs" - depends=("gvfs=${pkgver}" 'libimobiledevice>=1.0.2') + depends=("gvfs=${pkgver}" 'libimobiledevice') install=gvfs-module.install cd "${srcdir}/${pkgbase}-${pkgver}/daemon" - install -m755 -d "${pkgdir}/usr/lib/gvfs" - install -m755 -d "${pkgdir}/usr/share/gvfs/mounts" - - install -m755 .libs/gvfsd-afc "${pkgdir}/usr/lib/gvfs/" - install -m644 afc.mount "${pkgdir}/usr/share/gvfs/mounts/" + install -D .libs/gvfsd-afc "${pkgdir}/usr/lib/gvfs/gvfsd-afc" + install -Dm644 afc.mount "${pkgdir}/usr/share/gvfs/mounts/afc.mount" cd "${srcdir}/${pkgbase}-${pkgver}/monitor/afc" make DESTDIR="${pkgdir}" install @@ -72,15 +79,12 @@ package_gvfs-afc() { package_gvfs-gphoto2() { pkgdesc="gphoto2 (PTP camera/MTP media player) backend for gvfs" - depends=("gvfs=${pkgver}" 'dbus-core>=1.4.0' 'libgphoto2>=2.4.10' 'udev>=163') + depends=("gvfs=${pkgver}" 'dbus-core' 'libgphoto2' 'udev') install=gvfs-module.install cd "${srcdir}/${pkgbase}-${pkgver}/daemon" - install -m755 -d "${pkgdir}/usr/lib/gvfs" - install -m755 -d "${pkgdir}/usr/share/gvfs/mounts" - - install -m755 .libs/gvfsd-gphoto2 "${pkgdir}/usr/lib/gvfs/" - install -m644 gphoto2.mount "${pkgdir}/usr/share/gvfs/mounts/" + install -D .libs/gvfsd-gphoto2 "${pkgdir}/usr/lib/gvfs/gvfsd-gphoto2" + install -Dm644 gphoto2.mount "${pkgdir}/usr/share/gvfs/mounts/gphoto2.mount" cd "${srcdir}/${pkgbase}-${pkgver}/monitor/gphoto2" make DESTDIR="${pkgdir}" install @@ -88,13 +92,10 @@ package_gvfs-gphoto2() { package_gvfs-obexftp() { pkgdesc="ObexFTP (bluetooth) backend for gvfs" - depends=("gvfs=${pkgver}" 'dbus-glib>=0.86' 'bluez>=4.77' 'obex-data-server') + depends=("gvfs=${pkgver}" 'dbus-glib' 'bluez' 'obex-data-server') install=gvfs-module.install cd "${srcdir}/${pkgbase}-${pkgver}/daemon" - install -m755 -d "${pkgdir}/usr/lib/gvfs" - install -m755 -d "${pkgdir}/usr/share/gvfs/mounts" - - install -m755 .libs/gvfsd-obexftp "${pkgdir}/usr/lib/gvfs/" - install -m644 obexftp.mount "${pkgdir}/usr/share/gvfs/mounts/" + install -D .libs/gvfsd-obexftp "${pkgdir}/usr/lib/gvfs/gvfsd-obexftp" + install -Dm644 obexftp.mount "${pkgdir}/usr/share/gvfs/mounts/obexftp.mount" } |