summaryrefslogtreecommitdiff
path: root/user/gvfs/APKBUILD
blob: c4422873d6c517369b5d2a72ba8efa408a839aaa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=gvfs
pkgver=1.52.2
pkgrel=0
pkgdesc="GObject-based virtual filesystem library"
url="https://www.gnome.org"
arch="all"
license="LGPL-2.0+ AND GPL-3.0-only AND BSD-3-Clause AND MPL-2.0"
depends=""
makedepends="meson ninja avahi-dev dbus-dev elogind-dev fuse3-dev gcr3-dev
	glib-dev gobject-introspection-dev gsettings-desktop-schemas-dev
	libarchive-dev libbluray-dev libcap-dev libcdio-paranoia-dev
	libgcrypt-dev libgphoto2-dev libgudev-dev libimobiledevice-dev
	libmtp-dev libnfs-dev libsecret-dev libsoup3-dev libusb-dev polkit-dev
	udisks2-dev vala-dev"
subpackages="$pkgname-dev $pkgname-lang"
source="https://download.gnome.org/sources/gvfs/${pkgver%.*}/gvfs-$pkgver.tar.xz"

build() {
	meson setup \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		--wrap-mode=nofallback \
		-Dsystemduserunitdir=no \
		-Dtmpfilesdir=no \
		-Dgoa=false \
		-Dsmb=false \
		-Dgoogle=false \
		. output
	meson compile -C output
}

check() {
	meson test -C output
}

package() {
	DESTDIR="$pkgdir" meson install -C output
}

sha512sums="85684625822a1dcaa2258b7e8389ef53769850d05b7b2538a1335c9e16b882a08a5a33131779a132a2bf7ed23875f16791238fcdebc9cf3e543050d64aee8331  gvfs-1.52.2.tar.xz"