wok-next view gvfs/receipt @ rev 19791
linux-libre: use gcc3
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 23 09:57:52 2017 +0200 (2017-06-23) |
parents | 9610a0d739a2 |
children | 2e9df1b30cc2 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gvfs"
4 VERSION="1.28.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="Userspace virtual filesystem"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.gnome.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="libxslt gtk-doc glib-dev dbus-dev gcr-dev intltool \
15 libgphoto2-dev libarchive-dev libsoup-dev libcdio-dev libmtp-dev fuse-dev \
16 udisks2-dev gtk+3-dev"
17 #BUILD_DEPENDS+"samba-dev smbclient expat-dev dbus-glib-dev bluez-dev"
18 SPLIT="gvfs-afp gvfs-archive gvfs-cdda gvfs-fuse gvfs-gphoto2 gvfs-gtk \
19 gvfs-http gvfs-libmtp gvfs-udisks2 gvfs-dev"
20 # Currently disabled: gvfs-obexftp gvfs-smb
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure \
26 --sysconfdir=/etc \
27 --enable-gtk-doc \
28 --disable-libsystemd-login \
29 --with-systemduserunitdir=no \
30 $CONFIGURE_ARGS && \
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 case $PACKAGE in
38 gvfs)
39 copy bin/ *.so \
40 gvfsd *.Daemon.service \
41 gvfsd-burn burn.mount \
42 gvfsd-computer computer.mount \
43 gvfsd-ftp ftp.mount \
44 gvfsd-localtest localtest.mount \
45 gvfsd-metadata *.Metadata.service \
46 gvfsd-network network.mount \
47 gvfsd-sftp sftp.mount \
48 gvfsd-trash trash.mount \
49 org.gnome.system.gvfs.enums.xml
50 DEPENDS="dbus glib glibc-base libffi pcre udev zlib"
51 SUGGESTED="gvfs-afp gvfs-archive gvfs-cdda gvfs-fuse gvfs-gphoto2 \
52 gvfs-http gvfs-libmtp gvfs-obexftp gvfs-smb gvfs-udisks2"
53 ;;
54 gvfs-afp)
55 copy \
56 gvfsd-afp afp.mount \
57 gvfsd-afp-browse afp-browse.mount
58 CAT="system-tools|Apple Filing Protocol support - afp:///"
59 DEPENDS="gcr-base glib gvfs libffi libgcrypt libgpg-error \
60 p11-kit pcre zlib"
61 ;;
62 gvfs-archive)
63 copy gvfsd-archive archive.mount
64 CAT="system-tools|archive support - archive:///"
65 DEPENDS="acl attr bzlib gcr-base glib gvfs libarchive libcrypto \
66 libffi libgcrypt libgpg-error liblzma libxml2 lz4-lib lzo \
67 nettle p11-kit pcre zlib"
68 ;;
69 gvfs-cdda)
70 copy gvfsd-cdda cdda.mount
71 CAT="system-tools|CDDA support"
72 DEPENDS="eudev gcr-base glib gvfs libcdio libffi libgcrypt \
73 libgpg-error libgudev p11-kit pcre zlib"
74 ;;
75 gvfs-fuse)
76 copy gvfsd-fuse
77 CAT="system-tools|FUSE support"
78 DEPENDS="fuse glib gvfs libffi pcre zlib"
79 ;;
80 gvfs-gphoto2)
81 copy \
82 gvfsd-gphoto2 gphoto2.mount \
83 gvfs-gphoto2-volume-monitor *.GPhoto2VolumeMonitor.service \
84 gphoto2.monitor
85 CAT="system-tools|Gphoto2 support"
86 DEPENDS="eudev gcr-base glib gvfs libexif libffi libgcrypt \
87 libgpg-error libgphoto2 libgudev libltdl p11-kit pcre zlib"
88 ;;
89 gvfs-gtk)
90 copy gvfsd-recent recent.mount
91 CAT="system-tools|recent files support (GTK+3) - recent:///"
92 DEPENDS="atk bzlib cairo fontconfig freetype gcr-base gdk-pixbuf \
93 glib gtk+3 gvfs harfbuzz libffi libgcrypt libgpg-error \
94 liblzma libpng libxcb libxml2 p11-kit pango pcre pixman \
95 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender \
96 zlib"
97 ;;
98 gvfs-http)
99 copy \
100 gvfsd-dav dav.mount \
101 gvfsd-http http.mount
102 CAT="system-tools|HTTP/WebDAV support"
103 DEPENDS="gcr-base glib gvfs libffi libgcrypt libgpg-error \
104 liblzma libsoup libsqlite libxml2 p11-kit pcre zlib"
105 ;;
106 gvfs-libmtp)
107 copy \
108 gvfsd-mtp mtp.mount \
109 gvfs-mtp-volume-monitor *.MTPVolumeMonitor.service \
110 mtp.monitor
111 CAT="system-tools|MTP support"
112 DEPENDS="eudev gcr-base glib gvfs libffi libgcrypt \
113 libgpg-error libgudev libmtp libusb p11-kit pcre zlib"
114 ;;
115 gvfs-obexftp)
116 copy gvfsd-obexftp obexftp.mount
117 CAT="system-tools|ObexFTP support"
118 DEPENDS="gvfs bluez dbus dbus-glib expat glib glibc-base libffi \
119 pcre zlib"
120 ;;
121 gvfs-smb)
122 copy \
123 gvfsd-smb smb.mount \
124 gvfsd-smb-browse smb-browse.mount \
125 gvfs-smb.convert *.smb.gschema.xml
126 CAT="system-tools|Samba support - smb:///"
127 DEPENDS="gvfs glib glibc-base libcomerr libcomerr3 libcrypto \
128 libffi libkrb5 libldap libssl pcre samba-common smbclient \
129 talloc zlib"
130 ;;
131 gvfs-udisks2)
132 copy gvfs-udisks2-volume-monitor *.UDisks2VolumeMonitor.service \
133 udisks2.monitor
134 CAT="system-tools|Udisks2 volume monitor"
135 DEPENDS="eudev glib gvfs libffi libgudev pcre udisks2 zlib"
136 ;;
137 *-dev) copy @dev;;
138 esac
139 }
141 post_remove_gvfs() {
142 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
143 }