Last active
April 17, 2020 07:27
-
-
Save nisrulz/b644898bddf7e336df7457dafa09f77a to your computer and use it in GitHub Desktop.
Build from source and install Akira on Ubuntu (18.0.4.2)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This is the main script, only execute this to install all dependencies and finally Akira. | |
# Once done, you can find Akira icon in your applications menu. | |
# Execute by: ./build_akira_for_ubuntu.sh | |
# Install Vala Language: | |
sudo apt install vala-0.40-doc valac-0.40-vapi valac | |
# Build Granite (make sure this script is in the same folder) | |
./build_and_install_granite.sh | |
# Build Vala-Lint (make sure this script is in the same folder | |
./build_and_install_vala_lint.sh | |
# Install Other deps | |
sudo apt-get install gtk+-3.0 glib-2.0 gee-0.8 gobject-2.0 libxml2 gtksourceview-3.0 goocanvas-2.0 libcairo2 meson libarchive-dev appstream-util | |
# Navigate back to the main directory | |
cd ../ | |
# build Akira | |
meson build --prefix=/usr -Dprofile=development | |
cd build | |
ninja && sudo ninja install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Execute by: ./build_and_install_granite.sh | |
# Install dependencies | |
sudo apt-get install libgirepository1.0-dev | |
# Clone the latest master | |
git clone [email protected]:elementary/granite.git | |
# Navigate to the latest cloned repo folder | |
cd granite | |
# Run meson | |
meson build --prefix=/usr | |
# Navigate to build directory | |
cd build | |
# Build using ninja | |
ninja && sudo ninja install | |
# Remove the source for granite | |
cd ../../ | |
rm -rf granite |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Execute by: ./build_and_install_vala_lint.sh | |
# Install dependencies | |
sudo apt-get install meson gio-2.0 valac libvala-0.40 | |
# Clone the latest master | |
git clone [email protected]:elementary/vala-lint.git | |
# Navigate to the latest cloned repo folder | |
cd vala-lint | |
# Run meson | |
meson build --prefix=/usr | |
# Navigate to build directory | |
cd build | |
# Build using ninja | |
ninja && sudo ninja install | |
# Remove the source for vala-lint | |
cd ../../ | |
rm -rf vala-lint |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment