diff options
author | D3SOX | 2020-05-15 23:18:48 +0200 |
---|---|---|
committer | D3SOX | 2020-05-15 23:18:48 +0200 |
commit | 2480107816d002760e29cfc72cc25f9a947cd399 (patch) | |
tree | d5d74fab763603a7f8706b0b943b24f82b1bd063 | |
parent | 9aa11f8b7f18d87a7f307e3eb76ee120912b7764 (diff) | |
download | aur-2480107816d002760e29cfc72cc25f9a947cd399.tar.gz |
Added adwaita as dependency and force use it
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 7 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = anydesk-bin pkgdesc = The Fast Remote Desktop Application (Generic based package) pkgver = 5.5.6 - pkgrel = 1 + pkgrel = 2 url = https://anydesk.com arch = i686 arch = x86_64 @@ -27,6 +27,7 @@ pkgbase = anydesk-bin depends = libxfixes depends = libxdamage depends = gcc-libs + depends = gnome-themes-extra optdepends = libpulse: audio support provides = anydesk conflicts = anydesk @@ -1,12 +1,12 @@ # Maintainer: Nico <desoxhd@gmail.com> pkgname=anydesk-bin pkgver=5.5.6 -pkgrel=1 +pkgrel=2 pkgdesc="The Fast Remote Desktop Application (Generic based package)" arch=('i686' 'x86_64') url="https://anydesk.com" license=('custom') -depends=('fakeroot' 'python-shiboken2' 'gtkglext' 'libglvnd' 'gtk2' 'libx11' 'glibc' 'glib2' 'gdk-pixbuf2' 'libxcb' 'cairo' 'pango' 'libxi' 'libxrender' 'libxrandr' 'libxtst' 'libxext' 'libxfixes' 'libxdamage' 'gcc-libs') +depends=('fakeroot' 'python-shiboken2' 'gtkglext' 'libglvnd' 'gtk2' 'libx11' 'glibc' 'glib2' 'gdk-pixbuf2' 'libxcb' 'cairo' 'pango' 'libxi' 'libxrender' 'libxrandr' 'libxtst' 'libxext' 'libxfixes' 'libxdamage' 'gcc-libs' 'gnome-themes-extra') optdepends=('libpulse: audio support') makedepends=('patchelf') conflicts=('anydesk' 'anydesk-test' 'anydesk-debian' 'pango-anydesk') @@ -27,6 +27,9 @@ package() { # install desktop entry install -Dm 644 "${srcdir}/anydesk-${pkgver}/anydesk.desktop" "${pkgdir}/usr/share/applications/anydesk.desktop" + # force gtk2 theme to adwaita in desktop entry to fix unreadable text + sed -i -e "s:Exec=/usr/bin/anydesk:Exec=GTK2_RC_FILES=/usr/share/themes/Adwaita/gtk-2.0/gtkrc /usr/bin/anydesk:g" "${pkgdir}/usr/share/applications/anydesk.desktop" + # install polkit action install -Dm 644 "${srcdir}/anydesk-${pkgver}/polkit-1/com.philandro.anydesk.policy" "${pkgdir}/usr/share/polkit-1/actions/com.philandro.anydesk.policy" # install icon |