Skip to content

Instantly share code, notes, and snippets.

@happylynx
Last active August 29, 2015 14:26
Show Gist options
  • Save happylynx/e951b6f58b47c868df00 to your computer and use it in GitHub Desktop.
Save happylynx/e951b6f58b47c868df00 to your computer and use it in GitHub Desktop.
FROM fedora:22
RUN dnf update -y
RUN dnf install -y --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-22.noarch.rpm
# build tools: gcc cmake make gcc-c++ ragel
# dependencies from fedora repo: alsa-lib-devel glib2-devel libX11-devel libXrandr-devel libXrender-devel libXcursor-devel mesa-libGL-devel libconfig-devel libevent-devel cairo-devel pango-devel openssl-devel pulseaudio-libs-devel jack-audio-connection-kit-devel soxr-devel gtk2-devel mesa-libGLES-devel libva-devel libvdpau-devel libv4l-devel
# dependencies from rpmfusion repo: ffmpeg-devel
RUN dnf install -y git gcc cmake make gcc-c++ ragel alsa-lib-devel glib2-devel libX11-devel libXrandr-devel libXrender-devel libXcursor-devel mesa-libGL-devel libconfig-devel libevent-devel cairo-devel pango-devel openssl-devel pulseaudio-libs-devel jack-audio-connection-kit-devel soxr-devel gtk2-devel mesa-libGLES-devel ffmpeg-devel libva-devel libvdpau-devel libv4l-devel
RUN mkdir /freshplayerplugin
WORKDIR /freshplayerplugin
RUN git clone https://github.com/i-rinat/freshplayerplugin.git .
RUN mkdir /freshplayerplugin/build
WORKDIR /freshplayerplugin/build
RUN cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
RUN make
RUN ls /freshplayerplugin/build/libfreshwrapper-pepperflash.so
ENTRYPOINT /usr/bin/bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment