Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
docker-images
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
VideoLAN
docker-images
Commits
9f898a45
Commit
9f898a45
authored
Sep 22, 2019
by
Konstantin Pavlov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added libplacebo-ubuntu-eoan image.
parent
de852c62
Pipeline
#9567
failed with stage
in 7 minutes and 25 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
85 additions
and
0 deletions
+85
-0
libplacebo-ubuntu-eoan/Dockerfile
libplacebo-ubuntu-eoan/Dockerfile
+54
-0
libplacebo-ubuntu-eoan/crossfiles/i686-w64-mingw32.meson
libplacebo-ubuntu-eoan/crossfiles/i686-w64-mingw32.meson
+16
-0
libplacebo-ubuntu-eoan/crossfiles/x86_64-w64-mingw32.meson
libplacebo-ubuntu-eoan/crossfiles/x86_64-w64-mingw32.meson
+15
-0
No files found.
libplacebo-ubuntu-eoan/Dockerfile
0 → 100644
View file @
9f898a45
FROM
ubuntu:eoan-20190916
ENV
IMAGE_DATE=201909221840
# If someone wants to use VideoLAN docker images on a local machine and does
# not want to be disturbed by the videolan user, we should not take an uid/gid
# in the user range of main distributions, which means:
# - Debian based: <1000
# - RPM based: <500 (CentOS, RedHat, etc.)
ARG
VIDEOLAN_UID=499
ENV
SHADERC_BRANCH=v2019.0 \
GLSLANG_BRANCH=7.11.3214 \
SPIRV_TOOLS_BRANCH=v2019.2 \
SPIRV_HEADERS_BRANCH=master
RUN
set
-x
&&
\
addgroup
--quiet
--gid
${
VIDEOLAN_UID
}
videolan
&&
\
adduser
--quiet
--uid
${
VIDEOLAN_UID
}
--ingroup
videolan videolan
&&
\
usermod
--append
--groups
video videolan
&&
\
echo
"videolan:videolan"
| chpasswd
&&
\
apt-get update
&&
\
apt-get
install
--no-install-suggests
--no-install-recommends
-y
\
git-core build-essential cmake clang clang-tools lcov
\
python python3-pip python3-setuptools python3-wheel
\
gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 gcc-mingw-w64-i686
\
g++-mingw-w64-i686 mingw-w64-tools glslang-dev libvulkan-dev
\
vulkan-validationlayers mesa-vulkan-drivers vulkan-tools
\
liblcms2-dev gdb systemd-coredump
&&
\
pip3
install
meson ninja gcovr
&&
\
apt-get clean
-y
&&
rm
-rf
/var/lib/apt/lists/
*
&&
\
cd
/root
&&
\
git clone
--depth
1
-b
${
SHADERC_BRANCH
}
https://github.com/google/shaderc
&&
\
cd
shaderc
&&
\
git clone
--depth
1
-b
${
GLSLANG_BRANCH
}
https://github.com/KhronosGroup/glslang.git third_party/glslang
&&
\
git clone
--depth
1
-b
${
SPIRV_TOOLS_BRANCH
}
https://github.com/KhronosGroup/SPIRV-Tools.git third_party/spirv-tools
&&
\
git clone
--depth
1
-b
${
SPIRV_HEADERS_BRANCH
}
https://github.com/KhronosGroup/SPIRV-Headers.git third_party/spirv-headers
&&
\
mkdir
build
&&
cd
build
&&
\
cmake
-GNinja
\
-DCMAKE_BUILD_TYPE
=
RelWithDebInfo
\
-DCMAKE_INSTALL_PREFIX
=
/usr/local
\
-DSHADERC_SKIP_TESTS
=
1
\
..
&&
\
ninja
&&
\
cp
-a
libshaderc
*
/libshaderc
*
.a /usr/local/lib
&&
\
cp
-a
libshaderc
*
/libshaderc
*
.so
*
/usr/local/lib
&&
\
cp
-a
../libshaderc
*
/include /usr/local
&&
\
ldconfig
&&
\
cd
/root
&&
\
rm
-rf
shaderc
COPY
crossfiles/ /opt/crossfiles/
USER
videolan
libplacebo-ubuntu-eoan/crossfiles/i686-w64-mingw32.meson
0 → 100644
View file @
9f898a45
[binaries]
c = 'i686-w64-mingw32-gcc'
cpp = 'i686-w64-mingw32-g++'
ar = 'i686-w64-mingw32-ar'
strip = 'i686-w64-mingw32-strip'
windres = 'i686-w64-mingw32-windres'
[properties]
c_link_args = ['-static-libgcc']
[host_machine]
system = 'windows'
cpu_family = 'x86'
cpu = 'i686'
endian = 'little'
libplacebo-ubuntu-eoan/crossfiles/x86_64-w64-mingw32.meson
0 → 100644
View file @
9f898a45
[binaries]
c = 'x86_64-w64-mingw32-gcc'
cpp = 'x86_64-w64-mingw32-g++'
ar = 'x86_64-w64-mingw32-ar'
strip = 'x86_64-w64-mingw32-strip'
windres = 'x86_64-w64-mingw32-windres'
[properties]
c_link_args = ['-static-libgcc']
[host_machine]
system = 'windows'
cpu_family = 'x86_64'
cpu = 'x86_64'
endian = 'little'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment