Add protobuf-compiler package

This commit is contained in:
Ribbon 2023-08-25 13:42:14 +00:00
parent 77c95bd7f6
commit c8011954b6
2 changed files with 13 additions and 5 deletions

View file

@ -144,6 +144,7 @@ osx_macports()
install_macports_pkg "scons" install_macports_pkg "scons"
install_macports_pkg "gmake" install_macports_pkg "gmake"
install_macports_pkg "lua" install_macports_pkg "lua"
install_macports_pkg "protobuf-c"
} }
############################################################################### ###############################################################################
@ -208,6 +209,7 @@ osx_homebrew()
install_brew_pkg "scons" install_brew_pkg "scons"
install_brew_pkg "lua" install_brew_pkg "lua"
install_brew_pkg "ant" install_brew_pkg "ant"
install_brew_pkg "protobuf"
install_brew_pkg "redox-os/gcc_cross_compilers/x86_64-elf-gcc" "x86_64-elf-gcc" install_brew_pkg "redox-os/gcc_cross_compilers/x86_64-elf-gcc" "x86_64-elf-gcc"
} }
@ -274,6 +276,7 @@ freebsd()
install_freebsd_pkg "automake" install_freebsd_pkg "automake"
install_freebsd_pkg "scons" install_freebsd_pkg "scons"
install_freebsd_pkg "lua54" install_freebsd_pkg "lua54"
install_freebsd_pkg "py-protobuf-compiler"
set +xe set +xe
} }
@ -325,7 +328,8 @@ archLinux()
perl \ perl \
doxygen \ doxygen \
lua \ lua \
ant" ant \
protobuf"
if [ "$1" == "qemu" ]; then if [ "$1" == "qemu" ]; then
packages="$packages qemu" packages="$packages qemu"
elif [ "$1" == "virtualbox" ]; then elif [ "$1" == "virtualbox" ]; then
@ -398,7 +402,8 @@ ubuntu()
doxygen \ doxygen \
g++ \ g++ \
lua5.4 \ lua5.4 \
ant" ant \
protobuf-compiler"
# Not availible for at least ARM hosts # Not availible for at least ARM hosts
case "$host_arch" in case "$host_arch" in
x86*|i?86) pkgs="$pkgs libc6-dev-i386 syslinux-utils";; x86*|i?86) pkgs="$pkgs libc6-dev-i386 syslinux-utils";;
@ -501,7 +506,8 @@ fedora()
make \ make \
clang \ clang \
doxygen \ doxygen \
ant ; do rpm -q $pkg > /dev/null || echo $pkg; done) ant \
protobuf-compiler ; do rpm -q $pkg > /dev/null || echo $pkg; done)
# If the list of packages is not empty, install missing # If the list of packages is not empty, install missing
COUNT=$(echo $PKGS | wc -w) COUNT=$(echo $PKGS | wc -w)
if [ $COUNT -ne 0 ]; then if [ $COUNT -ne 0 ]; then
@ -581,7 +587,8 @@ suse()
clang \ clang \
doxygen \ doxygen \
lua54 \ lua54 \
ant ant \
protobuf
} }
############################################################################## ##############################################################################

View file

@ -48,7 +48,8 @@ RUN apt-get update \
clang \ clang \
perl \ perl \
doxygen \ doxygen \
ant ant \
protobuf-compiler
# _UID_ must be replaced with the user's uid on host # _UID_ must be replaced with the user's uid on host
# podman root is mapped to your user id on host during build, # podman root is mapped to your user id on host during build,