Skip to content

Commit

Permalink
installdeps: check gtk3-classic on arch/manjaro
Browse files Browse the repository at this point in the history
Don't try to install gtk3 if the user has gtk3-classic installed on arch
and manjaro.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
  • Loading branch information
rkitover committed Feb 24, 2019
1 parent 98cb298 commit 91ee8ca
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion installdeps
Expand Up @@ -568,7 +568,11 @@ archlinux_installdeps() {
# not using the base-devel group because it can break gcc-multilib
check $pacman --noconfirm --needed -S binutils file grep gawk gzip libtool make patch sed util-linux nasm cmake ccache pkg-config git ccache zip

libs="zlib mesa gettext libpng sdl2 openal wxgtk3 gtk3 sfml ffmpeg"
gtk=gtk3

$pacman -Q gtk3-classic >/dev/null 2>&1 && gtk=gtk3-classic

libs="zlib mesa gettext libpng sdl2 openal wxgtk3 $gtk sfml ffmpeg"

if [ -z "$target" -o "$target" = m32 ]; then
if [ -z "$target" -o -z "$amd64" ]; then
Expand Down

0 comments on commit 91ee8ca

Please sign in to comment.