diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-16 12:19:55 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-16 12:19:55 +0000 |
commit | 45c1ae8dbb9953455bc0f9a46b077eacb889b1a3 (patch) | |
tree | fee4e002cba838263e25cba8d7dee042d267340e /community/vino | |
parent | 3e337b69a255cd50179583cfbe5ca385818bbf21 (diff) | |
download | aports-45c1ae8dbb9953455bc0f9a46b077eacb889b1a3.tar.bz2 aports-45c1ae8dbb9953455bc0f9a46b077eacb889b1a3.tar.xz |
community/vino: move from main
Diffstat (limited to 'community/vino')
-rw-r--r-- | community/vino/APKBUILD | 59 | ||||
-rw-r--r-- | community/vino/vino.initd | 26 |
2 files changed, 85 insertions, 0 deletions
diff --git a/community/vino/APKBUILD b/community/vino/APKBUILD new file mode 100644 index 0000000000..fbf825f8bf --- /dev/null +++ b/community/vino/APKBUILD @@ -0,0 +1,59 @@ +# Contributor: Alan Lacerda <alacerda@alpinelinux.org> +# Maintainer: Alan Lacerda <alacerda@alpinelinux.org> +pkgname=vino +pkgver=3.16.0 +pkgrel=1 +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 +23f6f0ddfae3d45072d160d137f3f00d vino.initd" +sha256sums="608d3613d4e0ad40566759df06587effcfae77f205fce83e3bcf7574bc608dc5 vino-3.16.0.tar.xz +b0921a648f0d6a67034d67ed18f1fccbdec40a757441fbe2d53cf9b67d3181c1 vino.initd" +sha512sums="232cf9e2d986043e8da4db6d7a07ada77b46f71280da85915c54ed53c7212d47256b0e9532aa4879f6e3fa374a46c7ec7e58310d07581f7708efc1a131ba643f vino-3.16.0.tar.xz +ae311ed85e5edc04f9e6f6797dd36434f31ecd75c4d6e589043936ca39f462ebfebc73a76cf5c2f1cf9dd6fb331912315fdc28b516b8d30efda9c9def5527abc vino.initd" diff --git a/community/vino/vino.initd b/community/vino/vino.initd new file mode 100644 index 0000000000..bfff0868eb --- /dev/null +++ b/community/vino/vino.initd @@ -0,0 +1,26 @@ +#!/sbin/openrc-run + +command=/usr/libexec/vino-server + +depend() { + need net + after firewall +} + +start () { + ebegin "Starting vino-server" + export DISPLAY=:0.0 + start-stop-daemon \ + --background \ + --start \ + --exec $command + eend $? +} + +stop () { + ebegin "Stopping vino-server" + start-stop-daemon \ + --stop \ + --exec $command + eend $? +} |