wok-next view gvfs/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | 757d032c55c7 |
children | 342b30daff76 |
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="gvfs libcap 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="gvfs"
49 ;;
50 gvfs-archive)
51 copy gvfsd-archive archive.mount
52 CAT="system-tools|archive support - archive:///"
53 DEPENDS="gvfs acl attr bzlib libarchive openssl liblzma libxml2 \
54 lz4-lib lzo nettle"
55 ;;
56 gvfs-cdda)
57 copy gvfsd-cdda cdda.mount
58 CAT="system-tools|CDDA support"
59 DEPENDS="gvfs libcdio libcdio-paranoia libgudev"
60 ;;
61 gvfs-fuse)
62 copy gvfsd-fuse
63 CAT="system-tools|FUSE support"
64 DEPENDS="gvfs fuse2"
65 ;;
66 gvfs-gphoto2)
67 copy \
68 gvfsd-gphoto2 gphoto2.mount \
69 gvfs-gphoto2-volume-monitor *.GPhoto2VolumeMonitor.service \
70 gphoto2.monitor
71 CAT="system-tools|Gphoto2 support"
72 DEPENDS="gvfs libexif libgphoto2 libgudev libltdl"
73 ;;
74 gvfs-gtk)
75 copy gvfsd-recent recent.mount
76 CAT="system-tools|recent files support (GTK+3) - recent:///"
77 DEPENDS="gvfs atk bzlib cairo fontconfig freetype gdk-pixbuf gtk+3 \
78 libharfbuzz liblzma libpng16 libxml2 pango xorg-libX11 xorg-libXau \
79 xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb xorg-pixman"
80 ;;
81 gvfs-http)
82 copy \
83 gvfsd-dav dav.mount \
84 gvfsd-http http.mount
85 CAT="system-tools|HTTP/WebDAV support"
86 DEPENDS="gvfs liblzma libsoup libsqlite3 libxml2"
87 ;;
88 gvfs-libmtp)
89 copy \
90 gvfsd-mtp mtp.mount \
91 gvfs-mtp-volume-monitor *.MTPVolumeMonitor.service \
92 mtp.monitor
93 CAT="system-tools|MTP support"
94 DEPENDS="gvfs libgudev libmtp libusb"
95 ;;
96 gvfs-nfs)
97 copy gvfsd-nfs nfs.mount
98 CAT="system-tools|NFS support - nfs:///"
99 DEPENDS="gvfs libnfs"
100 ;;
101 gvfs-smb)
102 copy \
103 gvfsd-smb smb.mount \
104 gvfsd-smb-browse smb-browse.mount \
105 gvfs-smb.convert *.smb.gschema.xml
106 CAT="system-tools|Samba support - smb:///"
107 DEPENDS="gvfs samba"
108 ;;
109 gvfs-udisks2)
110 copy gvfs-udisks2-volume-monitor *.UDisks2VolumeMonitor.service \
111 udisks2.monitor
112 CAT="system-tools|Udisks2 volume monitor"
113 DEPENDS="gvfs bzlib fontconfig freetype libbluray libgudev \
114 libharfbuzz liblzma libpng16 libxml2 udisks2"
115 ;;
116 gvfs)
117 copy @std @rm
118 DEPENDS="eudev gcr-base glib libffi libgcrypt libgpg-error \
119 libsecret p11-kit pcre util-linux-blkid util-linux-mount \
120 util-linux-uuid zlib dbus"
121 SUGGESTED="gvfs-afp gvfs-archive gvfs-cdda gvfs-fuse gvfs-gphoto2 \
122 gvfs-http gvfs-libmtp gvfs-obexftp gvfs-smb gvfs-udisks2"
123 ;;
124 *-dev)
125 copy @dev
126 DEPENDS="${SPLIT/gvfs-dev/}
127 gcr-dev glib-dev libffi-dev libgcrypt-dev libgpg-error-dev \
128 libsecret-dev p11-kit-dev pcre-dev util-linux-blkid-dev \
129 util-linux-mount-dev util-linux-uuid-dev zlib-dev"
130 ;;
131 esac
132 }
134 post_remove_gvfs() {
135 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
136 }