Source
FROM stagex/pallet-gcc-meson-busybox AS build
ARG VERSION
COPY --from=stagex/user-xorgproto . /
COPY --from=stagex/user-libx11 . /
COPY --from=stagex/user-libxcb . /
COPY --from=stagex/user-libxdmcp . /
COPY --from=stagex/user-libxau . /
COPY --from=stagex/user-libxext . /
ADD fetch/libvdpau-${VERSION}.tar.gz .
WORKDIR /libvdpau-${VERSION}
RUN --network=none <<-EOF
set -eux
meson setup \
--prefix=/usr \
-Ddri2=true \
-Ddocumentation=false \
. output
meson compile -C output
DESTDIR=/rootfs meson install --no-rebuild -C output
EOF
FROM stagex/core-filesystem AS package
COPY --from=build /rootfs/ /