aboutsummaryrefslogtreecommitdiffstats
path: root/community/virt-viewer/APKBUILD
blob: a459a57751604473b220bedfebd0e91a6b185f55 (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
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=virt-viewer
pkgver=7.0
pkgrel=0
pkgdesc="A lightweight interface for interacting with the graphical display of virtualized guest OS"
url="http://virt-manager.org"
arch="all"
license="GPL-2.0"
options="!check"
makedepends="$depends_dev intltool spice-protocol glib-dev gtk+3.0-dev
	gtk-vnc-dev spice-gtk-dev
	"
subpackages="$pkgname-lang $pkgname-doc"
source="https://virt-manager.org/download/sources/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$_builddir"
	./configure \
		--prefix=/usr \
		--with-gtk=3.0 \
		--disable-update-mimedb \
		--with-gtk-vnc \
		--with-spice-gtk
	make
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="e0558c9138877f546add6a3df9721e100cadb6953815be82b2376b0521b82cf14052bdc29c42bb03b198b6e9d129a55d33531a153207d7f29b5c1c3402ebc904  virt-viewer-7.0.tar.gz"