blob: c837d25a10dd090c203e4cc3d4e839248f58df78 (
plain)
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# Maintainer: s3rj1k <evasive dot gyron at gmail dot com>
# Do not forget to run `makepkg --printsrcinfo > .SRCINFO`
pkgname=libvirt-glib-vnc
pkgver=4.0.0
pkgrel=3
pkgdesc='Libvirt-Glib runtime libraries and headers exclusively for VNC support.'
arch=('x86_64')
url="https://gitlab.com/libvirt/libvirt-glib"
license=(
'LGPL2.1'
)
depends=(
'libcap-ng'
'libvirt-vnc'
)
makedepends=(
'gobject-introspection'
'intltool'
'meson'
'python'
'vala'
)
conflicts=(
'libvirt-glib'
)
source=(
"https://libvirt.org/sources/glib/libvirt-glib-${pkgver}.tar.xz"{,'.asc'}
"libvirt-glib-meson.build.patch"
)
sha256sums=(
'8423f7069daa476307321d1c11e2ecc285340cd32ca9fc05207762843edeacbd'
'SKIP'
'274acd43b641abfc5b378ad866ac0dad78abd942ac347e2049eefa3ce2e5362c'
)
validpgpkeys=(
'453B65310595562855471199CA68BE8010084C9C' # Jiří Denemark <jdenemar@redhat.com>
'DAF3A6FDB26B62912D0E8E3FBE86EBB415104FDF' # Daniel P. Berrange <dan@berrange.com>
)
prepare() {
cd "${srcdir}/libvirt-glib-${pkgver}"
patch meson.build < "${srcdir}/libvirt-glib-meson.build.patch"
}
build() {
cd "${srcdir}/libvirt-glib-${pkgver}"
arch-meson build \
--prefix=/usr \
--buildtype=plain \
--auto-features disabled \
-Ddocs=disabled \
-Dintrospection=disabled \
-Dtests=disabled \
-Dvapi=disabled
ninja -C build
}
package() {
cd "${srcdir}/libvirt-glib-${pkgver}"
DESTDIR="${pkgdir}" ninja -C build install
}
|