[arch-commits] Commit in neatvnc/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Sun Mar 6 15:36:40 UTC 2022


    Date: Sunday, March 6, 2022 @ 15:36:39
  Author: felixonmars
Revision: 1142423

archrelease: copy trunk to community-staging-x86_64

Added:
  neatvnc/repos/community-staging-x86_64/
  neatvnc/repos/community-staging-x86_64/PKGBUILD
    (from rev 1142422, neatvnc/trunk/PKGBUILD)

----------+
 PKGBUILD |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

Copied: neatvnc/repos/community-staging-x86_64/PKGBUILD (from rev 1142422, neatvnc/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-03-06 15:36:39 UTC (rev 1142423)
@@ -0,0 +1,47 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Andri Yngvason <andri at yngvason.is>
+
+pkgname=neatvnc
+pkgver=0.4.0
+pkgrel=3
+pkgdesc='Fast and neat VNC server library'
+arch=(x86_64)
+url=https://github.com/any1/neatvnc
+license=(custom:ISC)
+depends=(
+  glibc
+  gnutls
+  libaml.so
+  libpixman-1.so
+  libturbojpeg.so
+  zlib
+)
+makedepends=(
+  git
+  libdrm
+  meson
+  ninja
+)
+provides=(libneatvnc.so)
+_tag=b1d32694d0a310e36da1cf84420c827bbf665755
+source=(git+https://github.com/any1/neatvnc.git#tag=${_tag})
+b2sums=(SKIP)
+
+pkgver() {
+  cd neatvnc
+  git describe --tags | sed 's/^v//'
+}
+
+build() {
+  arch-meson neatvnc build \
+    -Djpeg=enabled \
+    -Dtls=enabled
+  meson compile -C build
+}
+
+package() {
+  DESTDIR="${pkgdir}" meson install -C build
+  install -Dm 644 neatvnc/COPYING -t "${pkgdir}"/usr/share/licenses/neatvnc
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list