Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Add casting of xserver support #108

Open
ThaDaVos opened this issue Aug 16, 2023 · 1 comment
Open

[Feature Request] Add casting of xserver support #108

ThaDaVos opened this issue Aug 16, 2023 · 1 comment

Comments

@ThaDaVos
Copy link

I am currently looking into a way to extend on this image to add casting support, for example automatic casting to a Miracast adapter (compatible device) (or Chromecast).

Is this something you've looked into? Maybe up front know if even would be possible with your base image?

I see there are already some projects for it out there for linux:
https://gitlab.gnome.org/GNOME/gnome-network-displays
albfan/miraclecast#4

So, maybe we can look into this together perhaps even

@ThaDaVos
Copy link
Author

I just went with it, and I can get it working till the point the gnome-netwerk-displays is booted - sadly I need a real Linux machine (not Windows with WSL) to actually test it:

# Pull base image.
FROM jlesage/baseimage-gui:ubuntu-22.04-v4

RUN add-pkg --virtual program-dependencies \
    desktop-file-utils \
    appstream-util

RUN add-pkg --virtual build-dependencies \
    build-essential \
    gettext \
    libgstreamer-plugins-base1.0-dev \
    libgtk-3-dev \
    libgstrtspserver-1.0-dev \
    libnm-dev \
    libprotobuf-c-dev \
    libjson-glib-dev \
    libsoup-3.0-dev \
    libavahi-client-dev \
    libavahi-gobject-dev \
    libpulse-mainloop-glib0 \
    libpulse-dev \
    cmake \
    meson

COPY /gnome-network-displays /build

WORKDIR /build

RUN meson build
RUN meson install -C build

# Copy the start script.
COPY startapp.sh /startapp.sh

# Set the name of the application.
RUN set-cont-env APP_NAME "GNOME Network Display"
#!/bin/sh
exec /usr/local/bin/gnome-network-displays

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant