wok-next annotate gvfs/receipt @ rev 20678
Up clisp (2.50)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 15 02:59:03 2018 +0300 (2018-05-15) |
parents | 757d032c55c7 |
children | 342b30daff76 |
rev | line source |
---|---|
al@19752 | 1 # SliTaz package receipt v2. |
pascal@11222 | 2 |
pascal@11222 | 3 PACKAGE="gvfs" |
al@19850 | 4 VERSION="1.30.3" |
pascal@11222 | 5 CATEGORY="system-tools" |
al@19752 | 6 SHORT_DESC="Userspace virtual filesystem" |
pascal@11222 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@19850 | 9 WEB_SITE="https://wiki.gnome.org/Projects/gvfs" |
al@20527 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/gnome/gvfs.html" |
pascal@15000 | 11 |
al@19693 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19850 | 13 WGET_URL="$GNOME_MIRROR/gvfs/${VERSION%.*}/$TARBALL" |
al@19693 | 14 |
al@19850 | 15 BUILD_DEPENDS="libxslt glib-dev gtk-doc dbus-dev gcr-dev gettext polkit-dev \ |
al@19850 | 16 libcap-dev libgphoto2-dev libarchive-dev libsoup-dev libcdio-paranoia-dev \ |
al@20527 | 17 libmtp-dev fuse2-dev udisks2-dev gtk+3-dev libbluray-dev libgudev-dev \ |
al@19850 | 18 libsecret-dev libxml2-dev openssh samba-dev dbus-glib-dev libnfs-dev" |
al@19850 | 19 SPLIT="gvfs-admin gvfs-afp gvfs-archive gvfs-cdda gvfs-fuse gvfs-gphoto2 \ |
al@19850 | 20 gvfs-gtk gvfs-http gvfs-libmtp gvfs-nfs gvfs-smb gvfs-udisks2 gvfs gvfs-dev" |
al@19850 | 21 COOKOPTS="skip-log-errors" |
pascal@11222 | 22 |
al@20527 | 23 compile_rules() { |
pascal@11222 | 24 ./configure \ |
al@19693 | 25 --enable-gtk-doc \ |
al@19693 | 26 --disable-libsystemd-login \ |
al@19693 | 27 --with-systemduserunitdir=no \ |
al@19850 | 28 --disable-bash-completion \ |
al@20575 | 29 $CONFIGURE_ARGS && |
al@20575 | 30 fix libtool && |
al@20575 | 31 make && |
al@20575 | 32 make install |
pascal@11222 | 33 } |
pascal@11222 | 34 |
al@20527 | 35 genpkg_rules() { |
al@19850 | 36 # gvfs-obexftp is called obsolete and deleted by gvfs authors. |
al@19752 | 37 case $PACKAGE in |
al@19850 | 38 gvfs-admin) |
al@19850 | 39 copy gvfsd-admin admin.mount |
al@19850 | 40 CAT="system-tools|admin backend" |
al@19850 | 41 DEPENDS="gvfs libcap polkit" |
al@19752 | 42 ;; |
al@19752 | 43 gvfs-afp) |
al@19752 | 44 copy \ |
al@19752 | 45 gvfsd-afp afp.mount \ |
al@19752 | 46 gvfsd-afp-browse afp-browse.mount |
al@19752 | 47 CAT="system-tools|Apple Filing Protocol support - afp:///" |
al@19850 | 48 DEPENDS="gvfs" |
al@19752 | 49 ;; |
al@19752 | 50 gvfs-archive) |
al@19752 | 51 copy gvfsd-archive archive.mount |
al@19752 | 52 CAT="system-tools|archive support - archive:///" |
al@20453 | 53 DEPENDS="gvfs acl attr bzlib libarchive openssl liblzma libxml2 \ |
al@19850 | 54 lz4-lib lzo nettle" |
al@19752 | 55 ;; |
al@19752 | 56 gvfs-cdda) |
al@19752 | 57 copy gvfsd-cdda cdda.mount |
al@19752 | 58 CAT="system-tools|CDDA support" |
al@19850 | 59 DEPENDS="gvfs libcdio libcdio-paranoia libgudev" |
al@19752 | 60 ;; |
al@19752 | 61 gvfs-fuse) |
al@19752 | 62 copy gvfsd-fuse |
al@19752 | 63 CAT="system-tools|FUSE support" |
al@20527 | 64 DEPENDS="gvfs fuse2" |
al@19752 | 65 ;; |
al@19752 | 66 gvfs-gphoto2) |
al@19752 | 67 copy \ |
al@19752 | 68 gvfsd-gphoto2 gphoto2.mount \ |
al@19752 | 69 gvfs-gphoto2-volume-monitor *.GPhoto2VolumeMonitor.service \ |
al@19752 | 70 gphoto2.monitor |
al@19752 | 71 CAT="system-tools|Gphoto2 support" |
al@19850 | 72 DEPENDS="gvfs libexif libgphoto2 libgudev libltdl" |
al@19752 | 73 ;; |
al@19752 | 74 gvfs-gtk) |
al@19752 | 75 copy gvfsd-recent recent.mount |
al@19752 | 76 CAT="system-tools|recent files support (GTK+3) - recent:///" |
al@19850 | 77 DEPENDS="gvfs atk bzlib cairo fontconfig freetype gdk-pixbuf gtk+3 \ |
al@19850 | 78 libharfbuzz liblzma libpng16 libxml2 pango xorg-libX11 xorg-libXau \ |
al@19850 | 79 xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb xorg-pixman" |
al@19752 | 80 ;; |
al@19752 | 81 gvfs-http) |
al@19752 | 82 copy \ |
al@19752 | 83 gvfsd-dav dav.mount \ |
al@19752 | 84 gvfsd-http http.mount |
al@19752 | 85 CAT="system-tools|HTTP/WebDAV support" |
al@19850 | 86 DEPENDS="gvfs liblzma libsoup libsqlite3 libxml2" |
al@19752 | 87 ;; |
al@19752 | 88 gvfs-libmtp) |
al@19752 | 89 copy \ |
al@19752 | 90 gvfsd-mtp mtp.mount \ |
al@19752 | 91 gvfs-mtp-volume-monitor *.MTPVolumeMonitor.service \ |
al@19752 | 92 mtp.monitor |
al@19752 | 93 CAT="system-tools|MTP support" |
al@19850 | 94 DEPENDS="gvfs libgudev libmtp libusb" |
al@19752 | 95 ;; |
al@19850 | 96 gvfs-nfs) |
al@19850 | 97 copy gvfsd-nfs nfs.mount |
al@19850 | 98 CAT="system-tools|NFS support - nfs:///" |
al@19850 | 99 DEPENDS="gvfs libnfs" |
al@19752 | 100 ;; |
al@19752 | 101 gvfs-smb) |
al@19752 | 102 copy \ |
al@19752 | 103 gvfsd-smb smb.mount \ |
al@19752 | 104 gvfsd-smb-browse smb-browse.mount \ |
al@19752 | 105 gvfs-smb.convert *.smb.gschema.xml |
al@19752 | 106 CAT="system-tools|Samba support - smb:///" |
al@19850 | 107 DEPENDS="gvfs samba" |
al@19752 | 108 ;; |
al@19752 | 109 gvfs-udisks2) |
al@19752 | 110 copy gvfs-udisks2-volume-monitor *.UDisks2VolumeMonitor.service \ |
al@19752 | 111 udisks2.monitor |
al@19752 | 112 CAT="system-tools|Udisks2 volume monitor" |
al@19850 | 113 DEPENDS="gvfs bzlib fontconfig freetype libbluray libgudev \ |
al@19850 | 114 libharfbuzz liblzma libpng16 libxml2 udisks2" |
al@19752 | 115 ;; |
al@19850 | 116 gvfs) |
al@20513 | 117 copy @std @rm |
al@19850 | 118 DEPENDS="eudev gcr-base glib libffi libgcrypt libgpg-error \ |
al@19850 | 119 libsecret p11-kit pcre util-linux-blkid util-linux-mount \ |
al@19850 | 120 util-linux-uuid zlib dbus" |
al@19850 | 121 SUGGESTED="gvfs-afp gvfs-archive gvfs-cdda gvfs-fuse gvfs-gphoto2 \ |
al@19850 | 122 gvfs-http gvfs-libmtp gvfs-obexftp gvfs-smb gvfs-udisks2" |
al@19850 | 123 ;; |
al@19850 | 124 *-dev) |
al@19850 | 125 copy @dev |
al@19850 | 126 DEPENDS="${SPLIT/gvfs-dev/} |
al@19850 | 127 gcr-dev glib-dev libffi-dev libgcrypt-dev libgpg-error-dev \ |
al@19850 | 128 libsecret-dev p11-kit-dev pcre-dev util-linux-blkid-dev \ |
al@19850 | 129 util-linux-mount-dev util-linux-uuid-dev zlib-dev" |
al@19850 | 130 ;; |
al@19752 | 131 esac |
pascal@11222 | 132 } |
al@17290 | 133 |
al@19752 | 134 post_remove_gvfs() { |
al@18663 | 135 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas |
al@17290 | 136 } |