feat(libratbag): added build
This commit is contained in:
19
ubuntu20-04/libratbag/Dockerfile
Normal file
19
ubuntu20-04/libratbag/Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM ubuntu:20.04
|
||||
|
||||
WORKDIR /build/libratbag
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y build-essential git systemd check python3-dev python3-pip libudev-dev libevdev-dev libsystemd-dev libpcre3-dev swig libjson-glib-dev libunistring-dev
|
||||
|
||||
RUN pip3 install meson ninja evdev
|
||||
|
||||
RUN git clone --depth=1 https://github.com/libratbag/libratbag.git /build/libratbag
|
||||
|
||||
RUN meson setup builddir --prefix=/usr \
|
||||
&& meson configure builddir -Ddocumentation=false
|
||||
RUN ninja -C builddir
|
||||
RUN ninja -C builddir install
|
||||
|
||||
CMD ["sleep", "infinity"]
|
||||
Reference in New Issue
Block a user