mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
requires libgpiod>=2.1
This commit is contained in:
parent
eabc03778d
commit
2d11b16c0c
2
PKGBUILD
2
PKGBUILD
@ -76,7 +76,7 @@ depends=(
|
||||
python-pyrad
|
||||
python-ldap
|
||||
python-zstandard
|
||||
"libgpiod1>=2.0"
|
||||
"libgpiod>=2.1"
|
||||
freetype2
|
||||
"v4l-utils>=1.22.1-1"
|
||||
"nginx-mainline>=1.25.1"
|
||||
|
||||
@ -95,19 +95,6 @@ RUN git clone https://github.com/pikvm/ustreamer \
|
||||
&& cd - \
|
||||
&& rm -rf ustreamer
|
||||
|
||||
# FIXME: workaroung for legacy libgpiod 2.1
|
||||
RUN pacman --noconfirm --ask=4 -R libgpiod
|
||||
ENV LIBGPIOD_PKG libgpiod-2.1
|
||||
RUN curl \
|
||||
-o $LIBGPIOD_PKG.tar.gz \
|
||||
https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/snapshot/$LIBGPIOD_PKG.tar.gz \
|
||||
&& tar -xzvf $LIBGPIOD_PKG.tar.gz \
|
||||
&& cd $LIBGPIOD_PKG \
|
||||
&& ./autogen.sh --prefix=/usr --enable-tools=yes --enable-bindings-python \
|
||||
&& make PREFIX=/usr install \
|
||||
&& cd - \
|
||||
&& rm -rf $LIBGPIOD_PKG{,.tar.gz}
|
||||
|
||||
RUN mkdir -p \
|
||||
/etc/kvmd/{nginx,vnc} \
|
||||
/var/lib/kvmd/msd \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user