diff options
author | Sebastian 'Swift Geek' Grzywna | 2018-04-05 10:19:28 +0200 |
---|---|---|
committer | Sebastian 'Swift Geek' Grzywna | 2018-04-05 10:19:28 +0200 |
commit | a0fb39ec23bc85c4a077b027dca4eef5a120abc4 (patch) | |
tree | 1577b37894451491424999320043239d2acd2ec1 | |
parent | a9f43d1065933dcaa7423a78c3262254311d8e1d (diff) | |
download | aur-a0fb39ec23bc85c4a077b027dca4eef5a120abc4.tar.gz |
Patch teamviewer_setup and include it in prepare()
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -10,6 +10,8 @@ license=('custom') options=('!strip') provides=('teamviewer') conflicts=('teamviewer-beta') +# /opt/teamviewer/tv_bin/script/teamviewer_setup checklibs can check deps for each TV component: +# TV_DMN, TV_DESK, TV_GUI depends_x86_64=( 'hicolor-icon-theme' 'qt5-webkit' @@ -51,6 +53,11 @@ prepare() { msg2 "Unpacking $datatar" tar -xf $datatar done + sed -i '/function CheckQtQuickControls()/{N;a ls /usr/lib/qt/qml/QtQuick/Controls/qmldir &>/dev/null && return # ArchLinux +}' ./opt/teamviewer/tv_bin/script/teamviewer_setup || msg2 "Patching CheckQtQuickControls failed! Contact maintainer" + msg2 "Running teamviewer_setup checklibs" + ./opt/teamviewer/tv_bin/script/teamviewer_setup checklibs \ + || msg2 "teamviewer_setup checklibs failed, contact maintainer with /tmp/teamviewerTARLibCheck/DependencyCheck.log" # Currently it always exits 0 } package() { |