Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wayvnc and supporting libraries #23884

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions common/shlibs
Original file line number Diff line number Diff line change
Expand Up @@ -3976,3 +3976,5 @@ libptexenc.so.1 texlive-20200406_1
libdolphinvcs.so.5 dolphin-20.04.3_1
libcglm.so.0 cglm-0.7.6_1
libfcft.so.3 fcft-2.2.2_1
libaml.so.0 aml-0.1.0_1
libneatvnc.so.0 neatvnc-0.2.0_1
1 change: 1 addition & 0 deletions srcpkgs/aml-devel
30 changes: 30 additions & 0 deletions srcpkgs/aml/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Template file for 'aml'
pkgname=aml
version=0.1.0
revision=1
build_style=meson
hostmakedepends="pkg-config"
short_desc="Another Main Loop"
maintainer="Zach Dykstra <dykstra.zachary@gmail.com>"
license="ISC"
homepage="https://github.com/any1/aml"
distfiles="https://github.com/any1/aml/archive/v${version}.tar.gz"
checksum=50341861e9bb4eaaf11731941c276ef22b78e0e3d9b1442f6cf683f1b8e08bff

if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi

post_install() {
vlicense COPYING
}

aml-devel_package() {
depends="aml>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
1 change: 1 addition & 0 deletions srcpkgs/neatvnc-devel
27 changes: 27 additions & 0 deletions srcpkgs/neatvnc/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Template file for 'neatvnc'
pkgname=neatvnc
version=0.2.0
revision=1
build_style=meson
hostmakedepends="pkg-config"
makedepends="aml-devel libdrm-devel pixman-devel zlib-devel gnutls-devel libjpeg-turbo-devel"
short_desc="Liberally licensed VNC server library"
maintainer="Zach Dykstra <dykstra.zachary@gmail.com>"
license="ISC"
homepage="https://github.com/any1/neatvnc"
distfiles="https://github.com/any1/neatvnc/archive/v${version}.tar.gz"
checksum=b8ab73f6137b9d8407639016de3ad98398f8e002c0eeef30b9fd034f82f9c799

post_install() {
vlicense COPYING
}

neatvnc-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
21 changes: 21 additions & 0 deletions srcpkgs/wayvnc/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Template file for 'wayvnc'
pkgname=wayvnc
version=0.2.0
revision=1
build_style=meson
hostmakedepends="pkg-config ninja wayland-devel"
makedepends="aml-devel neatvnc-devel libgbm gnutls-devel zlib-devel wayland-devel libjpeg-turbo-devel libdrm-devel pixman-devel libxkbcommon-devel"
short_desc="VNC server for wlroots based Wayland compositors"
maintainer="Zach Dykstra <dykstra.zachary@gmail.com>"
license="ISC"
homepage="https://github.com/any1/wayvnc"
distfiles="https://github.com/any1/wayvnc/archive/v${version}.tar.gz"
checksum=a4ee6f49a821b326e89b2534048687330bc84ed3984499ab2cf39422517fb731

if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi

post_install() {
vlicense COPYING
}