Fix install script
This commit is contained in:
parent
83be52c91a
commit
f9ece5ed9a
|
@ -5,9 +5,8 @@ set -e
|
||||||
# https://terminalroot.com/how-to-install-gtkmm-4-on-ubuntu-2204/
|
# https://terminalroot.com/how-to-install-gtkmm-4-on-ubuntu-2204/
|
||||||
# https://www.devdungeon.com/wiki/doku.php?id=programming:gtk4
|
# https://www.devdungeon.com/wiki/doku.php?id=programming:gtk4
|
||||||
|
|
||||||
#sudo apt install build-essential git g++ autotools-dev libgtkmm-3.0-dev \
|
sudo apt install build-essential git g++ autotools-dev libgtkmm-3.0-dev \
|
||||||
# libgtkmm-3.0-doc mm-common libgtk-4-bin \
|
libgtkmm-3.0-doc mm-common pkg-config
|
||||||
# libgtk-4-common libgtk-4-dev libgtk-4-doc pkg-config
|
|
||||||
|
|
||||||
if [ ! -f libsigc++-3.0.7.tar.xz ]; then
|
if [ ! -f libsigc++-3.0.7.tar.xz ]; then
|
||||||
wget https://download.gnome.org/sources/libsigc++/3.0/libsigc++-3.0.7.tar.xz
|
wget https://download.gnome.org/sources/libsigc++/3.0/libsigc++-3.0.7.tar.xz
|
||||||
|
@ -18,6 +17,8 @@ cd libsigc++-3.0.7/
|
||||||
make -j`nproc --ignore=2`
|
make -j`nproc --ignore=2`
|
||||||
sudo make install
|
sudo make install
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
|
||||||
if [ ! -f glibmm-2.68.2.tar.xz ]; then
|
if [ ! -f glibmm-2.68.2.tar.xz ]; then
|
||||||
wget https://download.gnome.org/sources/glibmm/2.68/glibmm-2.68.2.tar.xz
|
wget https://download.gnome.org/sources/glibmm/2.68/glibmm-2.68.2.tar.xz
|
||||||
fi
|
fi
|
||||||
|
@ -66,4 +67,4 @@ tar Jxvf gtkmm-4.6.1.tar.xz
|
||||||
cd gtkmm-4.6.1
|
cd gtkmm-4.6.1
|
||||||
./autogen.sh --prefix=/usr
|
./autogen.sh --prefix=/usr
|
||||||
make -j`nproc --ignore=2`
|
make -j`nproc --ignore=2`
|
||||||
sudo make install
|
sudo make install
|
||||||
|
|
Loading…
Reference in New Issue