Skip to content

Commit

Permalink
vala :/
Browse files Browse the repository at this point in the history
  • Loading branch information
eli-schwartz committed Jan 6, 2025
1 parent d5bcea3 commit 76e84fc
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion ci/ciimage/gentoo/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pkgs_stable=(
dev-cpp/gtest
sci-libs/hdf5
dev-qt/linguist-tools
dev-qt/qtgui:5
dev-qt/qtwidgets:5
llvm-core/llvm
dev-qt/qttools

Expand Down Expand Up @@ -108,6 +108,12 @@ cat <<-EOF > /etc/portage/package.use/ci
dev-lang/rust-bin clippy rustfmt
dev-libs/boost python
# slimmed binpkg, nomesa
media-libs/libsdl2 -opengl -wayland -alsa -dbus -gles2 -udev -vulkan
# binpkg
dev-qt/qtwidgets:5 dbus gtk
media-libs/libsdl2 X
# Some of these settings are needed just to get the binpkg but
# aren't negative to have anyway
sys-devel/gcc ada d
Expand Down Expand Up @@ -166,6 +172,14 @@ python3 -m pip install "${base_python_pkgs[@]}"

echo "source /etc/profile" >> /ci/env_vars.sh

# For inexplicable reasons, Gentoo only packages valac as valac-$(version) so
# no software can locate it. Parse the installed version out of portage and
# export it to meson.
VALAC=$(portageq best_version / dev-lang/vala)
VALAC=${VALAC#dev-lang/vala-}
VALAC=${VALAC%.*}
echo "export VALAC=/usr/bin/valac-${VALAC}" >> /ci/env_vars.sh

# Cleanup to avoid including large contents in the docker image.
# We don't need cache files that are side artifacts of installing packages.
# We also don't need the gentoo tree -- the official docker image doesn't
Expand Down

0 comments on commit 76e84fc

Please sign in to comment.