summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2024-01-26 12:52:00 +0200
committerMaxim Devaev <[email protected]>2024-01-26 12:52:00 +0200
commit2d11b16c0c39af6d61006e911b894afda956540c (patch)
tree7a978a28b8038f7a478572ab082117ba72f633af
parenteabc03778d7998b1a80cc70a9d12938f98183268 (diff)
requires libgpiod>=2.1
-rw-r--r--PKGBUILD2
-rw-r--r--testenv/Dockerfile13
2 files changed, 1 insertions, 14 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 059f392d..bbadf15d 100644
--- a/PKGBUILD
+++ b/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"
diff --git a/testenv/Dockerfile b/testenv/Dockerfile
index 7b5ea41d..036a8380 100644
--- a/testenv/Dockerfile
+++ b/testenv/Dockerfile
@@ -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 \