wok-next view gvfs/receipt @ rev 21071

Update atkmm, cairo, cmake, db, elfutils, emacs, glib, glib-networking, glibmm, gobject-introspection, libsigc++, meson, openssl, zstd
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Dec 13 00:46:54 2018 +0200 (2018-12-13)
parents f48456621a9d
children 0f2575775b2d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gvfs"
4 VERSION="1.36.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Userspace virtual filesystem"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://wiki.gnome.org/Projects/gvfs"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/gnome/gvfs.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/gvfs/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="meson ninja shared-mime-info libxslt glib-dev gtk-doc dbus-dev \
16 gcr-dev gettext-dev polkit-dev libcap-dev libgphoto2-dev libarchive-dev \
17 libsoup-dev libcdio-paranoia-dev libmtp-dev fuse2-dev udisks2-dev gtk3-dev \
18 libbluray-dev libgudev-dev libsecret-dev libxml2-dev openssh samba-dev \
19 dbus-glib-dev libnfs-dev libgdata-dev gnome-online-accounts-dev"
20 SPLIT="$PACKAGE-admin $PACKAGE-afp $PACKAGE-archive $PACKAGE-cdda \
21 $PACKAGE-fuse $PACKAGE-goa $PACKAGE-google $PACKAGE-gphoto2 $PACKAGE-gtk \
22 $PACKAGE-http $PACKAGE-libmtp $PACKAGE-nfs $PACKAGE-smb $PACKAGE-udisks2 \
23 $PACKAGE $PACKAGE-dev"
24 COOKOPTS="skip-log-errors"
26 # while webkit2gtk is broken on x86_64...
27 case $ARCH in
28 x86_64)
29 BUILD_DEPENDS="$(echo $BUILD_DEPENDS | sed 's|libgdata-dev||; s|gnome-online-accounts-dev||')"
30 SPLIT="$(echo $SPLIT | sed 's|gvfs-goa||; s|gvfs-google||')"
31 ;;
32 esac
34 compile_rules() {
35 sed -i 's|dependendencies|dependencies|' meson.build # typo
37 # while webkit2gtk is broken on x86_64...
38 case $ARCH in
39 i?86) ARCH_ARGS='-Dgoa=true -Dgoogle=true';;
40 x86_64) ARCH_ARGS='-Dgoa=false -Dgoogle=false';;
41 esac
43 meson-wrapper \
44 build \
45 -Dsystemduserunitdir=no \
46 -Dtmpfilesdir=no \
47 \
48 -Dadmin=true \
49 -Dafc=false \
50 -Dafp=true \
51 -Darchive=true \
52 -Dcdda=true \
53 -Ddnssd=false \
54 -Dgdu=false \
55 $ARCH_ARGS \
56 -Dgphoto2=true \
57 -Dhttp=true \
58 -Dmtp=true \
59 -Dnfs=true \
60 -Dsmb=true \
61 -Dudisks2=true \
62 \
63 -Dbluray=true \
64 -Dfuse=true \
65 -Dgcr=true \
66 -Dgcrypt=true \
67 -Dgudev=true \
68 -Dkeyring=true \
69 -Dlogind=false \
70 -Dlibusb=true \
71 \
72 -Ddeprecated_programs=true \
73 -Dman=true \
74 &&
75 ninja -j1 -C build &&
76 ninja -j1 -C build install
77 }
79 genpkg_rules() {
80 # gvfs-obexftp is called obsolete and deleted by gvfs authors.
81 case $PACKAGE in
82 gvfs-admin)
83 copy gvfsd-admin admin.mount
84 CAT="system-tools|admin backend"
85 DEPENDS="glib gvfs polkit"
86 ;;
87 gvfs-afp)
88 copy \
89 gvfsd-afp afp.mount \
90 gvfsd-afp-browse afp-browse.mount
91 CAT="system-tools|Apple Filing Protocol support - afp:///"
92 DEPENDS="glib gvfs libgcrypt"
93 ;;
94 gvfs-archive)
95 copy gvfsd-archive archive.mount
96 CAT="system-tools|archive support - archive:///"
97 DEPENDS="glib gvfs libarchive"
98 ;;
99 gvfs-cdda)
100 copy gvfsd-cdda cdda.mount
101 CAT="system-tools|CDDA support"
102 DEPENDS="glib gvfs libcdio libcdio-paranoia libgudev"
103 ;;
104 gvfs-fuse)
105 copy gvfsd-fuse
106 CAT="system-tools|FUSE support"
107 DEPENDS="fuse2 glib gvfs"
108 ;;
109 gvfs-goa)
110 copy gvfs-goa-volume-monitor *.GoaVolumeMonitor.service \
111 goa.monitor
112 CAT="system-tools|GOA support"
113 DEPENDS="glib gnome-online-accounts gvfs"
114 ;;
115 gvfs-google)
116 copy gvfsd-google google.mount
117 CAT="system-tools|Google support"
118 DEPENDS="glib gnome-online-accounts gvfs libgdata"
119 ;;
120 gvfs-gphoto2)
121 copy \
122 gvfsd-gphoto2 gphoto2.mount \
123 gvfs-gphoto2-volume-monitor *.GPhoto2VolumeMonitor.service \
124 gphoto2.monitor
125 CAT="system-tools|Gphoto2 support"
126 DEPENDS="glib gvfs libgphoto2 libgudev"
127 ;;
128 gvfs-gtk)
129 copy gvfsd-recent recent.mount
130 CAT="system-tools|recent files support (GTK+3) - recent:///"
131 DEPENDS="glib gvfs" # + gtk3 ?
132 ;;
133 gvfs-http)
134 copy \
135 gvfsd-dav dav.mount \
136 gvfsd-http http.mount
137 CAT="system-tools|HTTP/WebDAV support"
138 DEPENDS="glib gvfs libsoup libxml2"
139 ;;
140 gvfs-libmtp)
141 copy \
142 gvfsd-mtp mtp.mount \
143 gvfs-mtp-volume-monitor *.MTPVolumeMonitor.service \
144 mtp.monitor
145 CAT="system-tools|MTP support"
146 DEPENDS="glib gvfs libgudev libmtp libusb"
147 ;;
148 gvfs-nfs)
149 copy gvfsd-nfs nfs.mount
150 CAT="system-tools|NFS support - nfs:///"
151 DEPENDS="glib gvfs libnfs"
152 ;;
153 gvfs-smb)
154 copy \
155 gvfsd-smb smb.mount \
156 gvfsd-smb-browse smb-browse.mount \
157 gvfs-smb.convert *.smb.gschema.xml
158 CAT="system-tools|Samba support - smb:///"
159 DEPENDS="glib gvfs samba"
160 ;;
161 gvfs-udisks2)
162 copy gvfs-udisks2-volume-monitor *.UDisks2VolumeMonitor.service \
163 udisks2.monitor
164 CAT="system-tools|Udisks2 volume monitor"
165 DEPENDS="glib libbluray libgudev libsecret udisks2 gvfs"
166 ;;
167 gvfs)
168 copy @std @rm
169 DEPENDS="gcr-base glib libgudev libsecret dbus eudev"
170 SUGGESTED="gvfs-afp gvfs-archive gvfs-cdda gvfs-fuse gvfs-gphoto2 \
171 gvfs-http gvfs-libmtp gvfs-obexftp gvfs-smb gvfs-udisks2"
172 ;;
173 *-dev)
174 copy @dev
175 ;;
176 esac
177 }
179 post_remove_gvfs() {
180 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
181 }