Created
May 7, 2020 09:06
-
-
Save stefanszymanski/12d2b72e5a2f32e605c98e5ace4590ad to your computer and use it in GitHub Desktop.
Microsoft Teams update Makefile
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
URL = https://go.microsoft.com/fwlink/p/?linkid=2112886&clcid=0x407&culture=de-de&country=de | |
BUILD_DIR = build | |
VERSION = $(shell ls ${BUILD_DIR}/*.deb | awk -F"_" '{ print $$2 }') | |
clean: | |
rm -Rf build | |
init: | |
mkdir -p build | |
download: clean init | |
wget --content-disposition '${URL}' -P ${BUILD_DIR} | |
build: download | |
@echo Build version ${VERSION} | |
mkdir ${VERSION} | |
ar x ${BUILD_DIR}/*.deb --output=${BUILD_DIR} | |
tar -xf ${BUILD_DIR}/data.tar.xz -C ${VERSION}/ | |
update: build | |
@echo Update to version ${VERSION} | |
rm current | |
ln -s ${VERSION} current |
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
[Desktop Entry] | |
Terminal=false | |
Type=Application | |
Exec=sh -c 'LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so PULSE_LATENCY_MSEC=60 ~/build/microsoft-teams/current/usr/bin/teams' | |
Name=Microsoft Teams |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment