wok-next view gvfs/receipt @ rev 20806
I. node update: security -> https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/ 9.5.0 -> 9.11.2 II. add checksum
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed Jun 13 08:26:54 2018 +0000 (2018-06-13) |
parents | 0ec6086e21d6 |
children | d3707642a563 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gvfs"
4 VERSION="1.30.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="Userspace virtual filesystem"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://wiki.gnome.org/Projects/gvfs"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/gnome/gvfs.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/gvfs/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="libxslt glib-dev gtk-doc dbus-dev gcr-dev gettext polkit-dev \
16 libcap-dev libgphoto2-dev libarchive-dev libsoup-dev libcdio-paranoia-dev \
17 libmtp-dev fuse2-dev udisks2-dev gtk+3-dev libbluray-dev libgudev-dev \
18 libsecret-dev libxml2-dev openssh samba-dev dbus-glib-dev libnfs-dev"
19 SPLIT="gvfs-admin gvfs-afp gvfs-archive gvfs-cdda gvfs-fuse gvfs-gphoto2 \
20 gvfs-gtk gvfs-http gvfs-libmtp gvfs-nfs gvfs-smb gvfs-udisks2 gvfs gvfs-dev"
21 COOKOPTS="skip-log-errors"
23 compile_rules() {
24 ./configure \
25 --enable-gtk-doc \
26 --disable-libsystemd-login \
27 --with-systemduserunitdir=no \
28 --disable-bash-completion \
29 $CONFIGURE_ARGS &&
30 fix libtool &&
31 make &&
32 make install
33 }
35 genpkg_rules() {
36 # gvfs-obexftp is called obsolete and deleted by gvfs authors.
37 case $PACKAGE in
38 gvfs-admin)
39 copy gvfsd-admin admin.mount
40 CAT="system-tools|admin backend"
41 DEPENDS="glib gvfs polkit"
42 ;;
43 gvfs-afp)
44 copy \
45 gvfsd-afp afp.mount \
46 gvfsd-afp-browse afp-browse.mount
47 CAT="system-tools|Apple Filing Protocol support - afp:///"
48 DEPENDS="glib gvfs libgcrypt"
49 ;;
50 gvfs-archive)
51 copy gvfsd-archive archive.mount
52 CAT="system-tools|archive support - archive:///"
53 DEPENDS="glib gvfs libarchive"
54 ;;
55 gvfs-cdda)
56 copy gvfsd-cdda cdda.mount
57 CAT="system-tools|CDDA support"
58 DEPENDS="glib gvfs libcdio libcdio-paranoia libgudev"
59 ;;
60 gvfs-fuse)
61 copy gvfsd-fuse
62 CAT="system-tools|FUSE support"
63 DEPENDS="fuse2 glib gvfs"
64 ;;
65 gvfs-gphoto2)
66 copy \
67 gvfsd-gphoto2 gphoto2.mount \
68 gvfs-gphoto2-volume-monitor *.GPhoto2VolumeMonitor.service \
69 gphoto2.monitor
70 CAT="system-tools|Gphoto2 support"
71 DEPENDS="glib gvfs libgphoto2 libgudev"
72 ;;
73 gvfs-gtk)
74 copy gvfsd-recent recent.mount
75 CAT="system-tools|recent files support (GTK+3) - recent:///"
76 DEPENDS="glib gtk+3 gvfs"
77 ;;
78 gvfs-http)
79 copy \
80 gvfsd-dav dav.mount \
81 gvfsd-http http.mount
82 CAT="system-tools|HTTP/WebDAV support"
83 DEPENDS="glib gvfs libsoup libxml2"
84 ;;
85 gvfs-libmtp)
86 copy \
87 gvfsd-mtp mtp.mount \
88 gvfs-mtp-volume-monitor *.MTPVolumeMonitor.service \
89 mtp.monitor
90 CAT="system-tools|MTP support"
91 DEPENDS="glib gvfs libgudev libmtp"
92 ;;
93 gvfs-nfs)
94 copy gvfsd-nfs nfs.mount
95 CAT="system-tools|NFS support - nfs:///"
96 DEPENDS="glib gvfs libnfs"
97 ;;
98 gvfs-smb)
99 copy \
100 gvfsd-smb smb.mount \
101 gvfsd-smb-browse smb-browse.mount \
102 gvfs-smb.convert *.smb.gschema.xml
103 CAT="system-tools|Samba support - smb:///"
104 DEPENDS="glib gvfs samba"
105 ;;
106 gvfs-udisks2)
107 copy gvfs-udisks2-volume-monitor *.UDisks2VolumeMonitor.service \
108 udisks2.monitor
109 CAT="system-tools|Udisks2 volume monitor"
110 DEPENDS="glib libbluray libgudev libsecret udisks2 gvfs"
111 ;;
112 gvfs)
113 copy @std @rm
114 DEPENDS="eudev gcr-base glib libsecret dbus"
115 SUGGESTED="gvfs-afp gvfs-archive gvfs-cdda gvfs-fuse gvfs-gphoto2 \
116 gvfs-http gvfs-libmtp gvfs-obexftp gvfs-smb gvfs-udisks2"
117 ;;
118 *-dev)
119 copy @dev
120 ;;
121 esac
122 }
124 post_remove_gvfs() {
125 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
126 }