diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-01-10 20:26:03 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-01-10 20:26:03 +0000 |
commit | 720c8fec85ceeb70b93ad7278797e1ff549e148a (patch) | |
tree | 12f7fcd00fc53b3267707721544b95824ef6d508 /user | |
parent | 3e010a93325af3c409140f2860434010f69a90a5 (diff) | |
download | packages-720c8fec85ceeb70b93ad7278797e1ff549e148a.tar.gz packages-720c8fec85ceeb70b93ad7278797e1ff549e148a.tar.bz2 packages-720c8fec85ceeb70b93ad7278797e1ff549e148a.tar.xz packages-720c8fec85ceeb70b93ad7278797e1ff549e148a.zip |
user/x11vnc: new package
Diffstat (limited to 'user')
-rw-r--r-- | user/x11vnc/APKBUILD | 47 | ||||
-rw-r--r-- | user/x11vnc/utmps.patch | 9 |
2 files changed, 56 insertions, 0 deletions
diff --git a/user/x11vnc/APKBUILD b/user/x11vnc/APKBUILD new file mode 100644 index 000000000..c68858df3 --- /dev/null +++ b/user/x11vnc/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=x11vnc +pkgver=0.9.16 +pkgrel=0 +pkgdesc="VNC server for X11 sessions" +url="http://www.karlrunge.com/x11vnc/" +arch="all" +license="GPL-2.0-only" +makedepends="cairo-dev libjpeg-turbo-dev libvncserver-dev libxcursor-dev + openssl-dev utmps-dev zlib-dev" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/LibVNC/x11vnc/archive/$pkgver.tar.gz + utmps.patch + " + +prepare() { + cd "$builddir" + default_prepare + ./autogen.sh +} + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="69f65ee312f8dede6051b401304987502a213c6c28c7f41e855734f11de1fae14d5d493dc9c28b2e4b7c0be55f8dbd3b35dd2610aae910183772c3e626736fec x11vnc-0.9.16.tar.gz +8aaa6d1fd9e795a60cad162f2b21fe96cd3a7076a0c4fae6e6b0021881bd019312a678fa3ed69b694da36ee64cc0601812da5df96c6461baf68b7e70adf6cd4e utmps.patch" diff --git a/user/x11vnc/utmps.patch b/user/x11vnc/utmps.patch new file mode 100644 index 000000000..0a41b2037 --- /dev/null +++ b/user/x11vnc/utmps.patch @@ -0,0 +1,9 @@ +--- x11vnc-0.9.16/src/Makefile.am.old 2019-01-05 13:22:11.000000000 +0000 ++++ x11vnc-0.9.16/src/Makefile.am 2019-01-10 20:20:45.880000000 +0000 +@@ -145,4 +145,5 @@ + @AVAHI_LIBS@ \ + @XI2_LIBS@ \ + @CAIRO_LIBS@ \ +- $(LD_CYGIPC) ++ $(LD_CYGIPC) \ ++ -lutmps -lskarnet |