This file contains 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 | |
# script name: install_waydroid.sh | |
# description: Install Waydroid on unsupported Debian based distro caused by incompatible python3-gbinder package | |
# related to : https://github.com/waydroid/waydroid/issues/214#issuecomment-1120926304 | |
# author : Wachid Adi Nugroho <[email protected]> | |
# date : 2022-07-07 | |
export distro=$(grep -oP '(?<=^NAME=).*' /etc/os-release) | |
if [[ -f /usr/bin/dpkg ]]; |
This file contains 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 | |
# script name: build_waydroid_v8.sh | |
# description: Build Waydroid for Debian or Ubuntu based distro v8 | |
# upstream : https://gist.github.com/cniw/98e204d7dbc73a3fa1bf61629b2a2fc1 | |
# author : Wachid Adi Nugroho <[email protected]> | |
# date : 2022-07-07 | |
NC='\033[0m' | |
RED='\033[1;91m' | |
GREEN='\033[1;92m' |
This file contains 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
sudo apt install software-properties-common | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys E6D4736255751E5D | |
sudo apt-add-repository "deb https://archive.neon.kde.org/dev/unstable focal main" | |
sudo apt install -y \ | |
libkf5config-dev libkf5coreaddons-dev libkf5i18n-dev libkf5kio-dev libkf5notifications-dev libkf5service-dev libqt5svg5-dev libqt5waylandcompositor5-dev qtbase5-dev qtdeclarative5-dev qtquickcontrols2-5-dev libkf5idletime-dev libpolkit-agent-1-dev libpolkit-qt5-1-dev \ | |
mauikit-dev libmauikitfilebrowsing-dev \ | |
cmake extra-cmake-modules gettext git \ | |
qml-module-qt-labs-settings qml-module-qtwayland-compositor qml-module-qt-labs-calendar plasma-nm bluedevil plasma-pa qml-module-qt-labs-platform |
This file contains 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
# set variable | |
_pkgbase=mpv-full-git | |
_pkgbase_cache_dir="$HOME/.cache/yay" | |
_repo_cache_dir="$HOME/Applications/git" | |
_git_url=https://github.com/mpv-player/mpv.git | |
_git_repo="${_git_url%%.git}" | |
_git_repo="${_git_repo##*.com/}" | |
# prepare source code | |
[ -d "${_pkgbase_cache_dir}" ] || mkdir -p "${_pkgbase_cache_dir}" |