wok-next view gvfs/receipt @ rev 19879
qemacs: does not need gcc3
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 04 18:36:44 2017 +0200 (2017-10-04) |
parents | e70c0b9c5adf |
children | e6615350078d |
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"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/gvfs/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="libxslt glib-dev gtk-doc dbus-dev gcr-dev gettext polkit-dev \
15 libcap-dev libgphoto2-dev libarchive-dev libsoup-dev libcdio-paranoia-dev \
16 libmtp-dev fuse-dev udisks2-dev gtk+3-dev libbluray-dev libgudev-dev \
17 libsecret-dev libxml2-dev openssh samba-dev dbus-glib-dev libnfs-dev"
18 SPLIT="gvfs-admin gvfs-afp gvfs-archive gvfs-cdda gvfs-fuse gvfs-gphoto2 \
19 gvfs-gtk gvfs-http gvfs-libmtp gvfs-nfs gvfs-smb gvfs-udisks2 gvfs gvfs-dev"
20 COOKOPTS="skip-log-errors"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 # http://www.linuxfromscratch.org/blfs/view/stable/gnome/gvfs.html
27 ./configure \
28 --sysconfdir=/etc \
29 --enable-gtk-doc \
30 --disable-libsystemd-login \
31 --with-systemduserunitdir=no \
32 --disable-bash-completion \
33 $CONFIGURE_ARGS && \
34 make && make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 # gvfs-obexftp is called obsolete and deleted by gvfs authors.
41 case $PACKAGE in
42 gvfs-admin)
43 copy gvfsd-admin admin.mount
44 CAT="system-tools|admin backend"
45 DEPENDS="gvfs libcap polkit"
46 ;;
47 gvfs-afp)
48 copy \
49 gvfsd-afp afp.mount \
50 gvfsd-afp-browse afp-browse.mount
51 CAT="system-tools|Apple Filing Protocol support - afp:///"
52 DEPENDS="gvfs"
53 ;;
54 gvfs-archive)
55 copy gvfsd-archive archive.mount
56 CAT="system-tools|archive support - archive:///"
57 DEPENDS="gvfs acl attr bzlib libarchive libcrypto liblzma libxml2 \
58 lz4-lib lzo nettle"
59 ;;
60 gvfs-cdda)
61 copy gvfsd-cdda cdda.mount
62 CAT="system-tools|CDDA support"
63 DEPENDS="gvfs libcdio libcdio-paranoia libgudev"
64 ;;
65 gvfs-fuse)
66 copy gvfsd-fuse
67 CAT="system-tools|FUSE support"
68 DEPENDS="gvfs fuse"
69 ;;
70 gvfs-gphoto2)
71 copy \
72 gvfsd-gphoto2 gphoto2.mount \
73 gvfs-gphoto2-volume-monitor *.GPhoto2VolumeMonitor.service \
74 gphoto2.monitor
75 CAT="system-tools|Gphoto2 support"
76 DEPENDS="gvfs libexif libgphoto2 libgudev libltdl"
77 ;;
78 gvfs-gtk)
79 copy gvfsd-recent recent.mount
80 CAT="system-tools|recent files support (GTK+3) - recent:///"
81 DEPENDS="gvfs atk bzlib cairo fontconfig freetype gdk-pixbuf gtk+3 \
82 libharfbuzz liblzma libpng16 libxml2 pango xorg-libX11 xorg-libXau \
83 xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb xorg-pixman"
84 ;;
85 gvfs-http)
86 copy \
87 gvfsd-dav dav.mount \
88 gvfsd-http http.mount
89 CAT="system-tools|HTTP/WebDAV support"
90 DEPENDS="gvfs liblzma libsoup libsqlite3 libxml2"
91 ;;
92 gvfs-libmtp)
93 copy \
94 gvfsd-mtp mtp.mount \
95 gvfs-mtp-volume-monitor *.MTPVolumeMonitor.service \
96 mtp.monitor
97 CAT="system-tools|MTP support"
98 DEPENDS="gvfs libgudev libmtp libusb"
99 ;;
100 gvfs-nfs)
101 copy gvfsd-nfs nfs.mount
102 CAT="system-tools|NFS support - nfs:///"
103 DEPENDS="gvfs libnfs"
104 ;;
105 gvfs-smb)
106 copy \
107 gvfsd-smb smb.mount \
108 gvfsd-smb-browse smb-browse.mount \
109 gvfs-smb.convert *.smb.gschema.xml
110 CAT="system-tools|Samba support - smb:///"
111 DEPENDS="gvfs samba"
112 ;;
113 gvfs-udisks2)
114 copy gvfs-udisks2-volume-monitor *.UDisks2VolumeMonitor.service \
115 udisks2.monitor
116 CAT="system-tools|Udisks2 volume monitor"
117 DEPENDS="gvfs bzlib fontconfig freetype libbluray libgudev \
118 libharfbuzz liblzma libpng16 libxml2 udisks2"
119 ;;
120 gvfs)
121 copy @std
122 remove_already_packed
123 DEPENDS="eudev gcr-base glib libffi libgcrypt libgpg-error \
124 libsecret p11-kit pcre util-linux-blkid util-linux-mount \
125 util-linux-uuid zlib dbus"
126 SUGGESTED="gvfs-afp gvfs-archive gvfs-cdda gvfs-fuse gvfs-gphoto2 \
127 gvfs-http gvfs-libmtp gvfs-obexftp gvfs-smb gvfs-udisks2"
128 ;;
129 *-dev)
130 copy @dev
131 DEPENDS="${SPLIT/gvfs-dev/}
132 gcr-dev glib-dev libffi-dev libgcrypt-dev libgpg-error-dev \
133 libsecret-dev p11-kit-dev pcre-dev util-linux-blkid-dev \
134 util-linux-mount-dev util-linux-uuid-dev zlib-dev"
135 ;;
136 esac
137 }
139 post_remove_gvfs() {
140 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
141 }