Newer
Older
---
# Copyright © 2013-2016 Valve Corporation
# Copyright © 2017-2019 Collabora Ltd.
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of these scripts and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
id_prefix: com.valvesoftware.SteamRuntime
add_packages:
- steamrt-container
post_script: |
install -d -m755 /usr/lib/locale
install -d -m755 /usr/share/i18n
platform:
null: null
sdk:
add_packages_multiarch:
- steamrt-libdevel
add_packages:
- steamrt-dev
- steamrt-libdebug
- steamrt-libdebug-non-multiarch
ln -sv busybox /usr/bin/dos2unix
ln -sv busybox /usr/bin/ifconfig
ln -sv busybox /usr/bin/ip
ln -sv busybox /usr/bin/nc
ln -sv busybox /usr/bin/ping
ln -sv busybox /usr/bin/ping6
ln -sv busybox /usr/bin/route
ln -sv busybox /usr/bin/telnet
ln -sv busybox /usr/bin/traceroute
ln -sv busybox /usr/bin/traceroute6
ln -sv busybox /usr/bin/unix2dos
ln -sv busybox /usr/bin/vi
for bin in \
clang \
clang++ \
; do
ln -fnsv "/usr/lib/llvm-4.0/bin/$bin" /usr/bin
done
for bin in \
asan_symbolize \
; do
ln -fnsv "${bin}-4.0" "/usr/bin/${bin}"
done
arch="$(dpkg --print-architecture)"
update-alternatives --set java "/usr/lib/jvm/java-8-openjdk-$arch/jre/bin/java"
update-alternatives --set jexec "/usr/lib/jvm/java-8-openjdk-$arch/jre/lib/jexec"
update-alternatives --set jjs "/usr/lib/jvm/java-8-openjdk-$arch/jre/bin/jjs"
update-alternatives --set keytool "/usr/lib/jvm/java-8-openjdk-$arch/jre/bin/keytool"
update-alternatives --set orbd "/usr/lib/jvm/java-8-openjdk-$arch/jre/bin/orbd"
update-alternatives --set pack200 "/usr/lib/jvm/java-8-openjdk-$arch/jre/bin/pack200"
update-alternatives --set policytool "/usr/lib/jvm/java-8-openjdk-$arch/jre/bin/policytool"
update-alternatives --set rmid "/usr/lib/jvm/java-8-openjdk-$arch/jre/bin/rmid"
update-alternatives --set rmiregistry "/usr/lib/jvm/java-8-openjdk-$arch/jre/bin/rmiregistry"
update-alternatives --set servertool "/usr/lib/jvm/java-8-openjdk-$arch/jre/bin/servertool"
update-alternatives --set tnameserv "/usr/lib/jvm/java-8-openjdk-$arch/jre/bin/tnameserv"
update-alternatives --set unpack200 "/usr/lib/jvm/java-8-openjdk-$arch/jre/bin/unpack200"
if [ -e /usr/lib/dbus-1.0/dbus-daemon-launch-helper ]; then
chmod --changes 0644 /usr/lib/dbus-1.0/dbus-daemon-launch-helper
chown --changes root:root /usr/lib/dbus-1.0/dbus-daemon-launch-helper
fi