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