mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 08:45:38 +02:00
✨ feat: Add streaming support (#125)
This adds: - [x] Keyboard and mouse handling on the frontend - [x] Video and audio streaming from the backend to the frontend - [x] Input server that works with Websockets Update - 17/11 - [ ] Master docker container to run this - [ ] Steam runtime - [ ] Entrypoint.sh --------- Co-authored-by: Kristian Ollikainen <14197772+DatCaptainHorse@users.noreply.github.com> Co-authored-by: Kristian Ollikainen <DatCaptainHorse@users.noreply.github.com>
This commit is contained in:
32
packages/server/pkg/PKGBUILD
Normal file
32
packages/server/pkg/PKGBUILD
Normal file
@@ -0,0 +1,32 @@
|
||||
pkgname=nestri-git
|
||||
pkgver=0.0.1
|
||||
pkgrel=1
|
||||
pkgdesc='[Experimental] An open-source, self-hosted Geforce Now alternative'
|
||||
arch=('x86_64')
|
||||
url='https://github.com/nestriness/nestri'
|
||||
license=('AGPL-3.0')
|
||||
provides=("${pkgname%-git}")
|
||||
conflicts=("${pkgname%-git}")
|
||||
depends=('rust' 'git' 'rustup' 'pkgconf' 'wayland')
|
||||
source=("nestri::git+https://github.com/nestriness/nestri.git")
|
||||
sha512sums=('SKIP')
|
||||
pkgver() {
|
||||
cd "$srcdir/${pkgname%-git}"
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/${pkgname%-git}"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/${pkgname%-git}/packages/server"
|
||||
|
||||
CARGO_TARGET_DIR="./build" sudo cargo build -j$(nproc)
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/${pkgname%-git}/packages/server"
|
||||
|
||||
install -m755 -Dt "${pkgdir}/usr/bin" build/release/nestri
|
||||
}
|
||||
Reference in New Issue
Block a user