mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
new ustreamer and fps max
This commit is contained in:
11
Makefile
11
Makefile
@@ -5,6 +5,10 @@ TESTENV_HID ?= /dev/ttyS10
|
||||
TESTENV_VIDEO ?= /dev/video0
|
||||
TESTENV_LOOP ?= /dev/loop7
|
||||
|
||||
USTREAMER_VERSION = $(shell curl --silent "https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=ustreamer" \
|
||||
| grep "^pkgver=" \
|
||||
| grep -Po "\d+\.\d+[^\"']*")
|
||||
|
||||
|
||||
# =====
|
||||
all:
|
||||
@@ -28,7 +32,12 @@ all:
|
||||
|
||||
|
||||
testenv:
|
||||
docker build $(if $(NC),--no-cache,) --rm --tag $(TESTENV_IMAGE) -f testenv/Dockerfile .
|
||||
docker build \
|
||||
$(if $(NC),--no-cache,) \
|
||||
--rm \
|
||||
--tag $(TESTENV_IMAGE) \
|
||||
--build-arg USTREAMER_VERSION=$(USTREAMER_VERSION) \
|
||||
-f testenv/Dockerfile .
|
||||
|
||||
|
||||
tox: testenv
|
||||
|
||||
Reference in New Issue
Block a user