aboutsummaryrefslogtreecommitdiffstats
path: root/main/vino/APKBUILD
blob: 7171d132df93ec851f86c2a3ff9ff9d1f39d83d1 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=vino
pkgver=3.16.0
pkgrel=0
pkgdesc="The GNOME desktop sharing server"
url="https://wiki.gnome.org/Projects/Vino"
arch="all"
license="GPLv2"
depends=""
depends_dev=""
makedepends="$depends_dev libsoup-dev glib-dev gtk+3.0-dev libnotify-dev
	libsm-dev bsd-compat-headers"
install=""
subpackages="$pkgname-lang"
source="http://ftp.gnome.org/pub/GNOME/sources/vino/3.16/$pkgname-$pkgver.tar.xz
	$pkgname.initd"

_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
                --host=$CHOST \
		--localstatedir=/var \
		--without-gnutls \
		--without-gcrypt \
		--prefix=/usr \
		|| return 1
	make \
		|| return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="${pkgdir}" DATADIRNAME=share install \
		|| return 1

 	install -m755 -D "$srcdir"/$pkgname.initd \
                "$pkgdir"/etc/init.d/$pkgname \
		|| return 1
}

md5sums="41ed82ab3075cd76227a54c50a850037  vino-3.16.0.tar.xz
9f447793e4c17e851526aee5b23d4083  vino.initd"
sha256sums="608d3613d4e0ad40566759df06587effcfae77f205fce83e3bcf7574bc608dc5  vino-3.16.0.tar.xz
20ba22550cc0971cac56951afea5ec5042ad4591b844e8cc5698b2494fe614cf  vino.initd"
sha512sums="232cf9e2d986043e8da4db6d7a07ada77b46f71280da85915c54ed53c7212d47256b0e9532aa4879f6e3fa374a46c7ec7e58310d07581f7708efc1a131ba643f  vino-3.16.0.tar.xz
19146e60cd4b1120cd21545010da9dfcb0be6e8e263462411cfc2ae89ffba6eef9a17c7647fe12ca41d3c277f307f3d740a93f8bec7a962cfbb8d902a2ddc316  vino.initd"