Skip to content

Commit

Permalink
net-misc/anydesk: Remove x11-libs/pangox-compat dependency
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/756613
Signed-off-by: Paolo Pedroni <[email protected]>
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Closes: gentoo#18395
Closes: gentoo#18060
Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
PPed72 authored and a17r committed Dec 17, 2020
1 parent 4490fba commit c0b367c
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions net-misc/anydesk/anydesk-6.0.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI="7"

inherit desktop eutils systemd xdg-utils
inherit desktop optfeature systemd xdg-utils

DESCRIPTION="Feature rich multi-platform remote desktop application"
HOMEPAGE="https://anydesk.com"
Expand Down Expand Up @@ -48,8 +48,8 @@ RDEPEND="
x11-libs/libXt
x11-libs/libXtst
x11-libs/pango
x11-libs/pangox-compat
"
BDEPEND="dev-util/patchelf"

RESTRICT="bindist mirror"

Expand All @@ -58,25 +58,27 @@ QA_PREBUILT="opt/${PN}/*"
src_install() {
local dst="/opt/${PN}"

dodir ${dst}
exeinto ${dst}
doexe ${PN}

# bug 706344
patchelf --remove-needed libpangox-1.0.so.0 "${ED}${dst}/${PN}" || die

dodir /opt/bin
dosym ${dst}/${PN} /opt/bin/${PN}
dosym "${dst}/${PN}" "/opt/bin/${PN}"

newinitd "${FILESDIR}"/anydesk.init anydesk
systemd_newunit "${FILESDIR}"/anydesk-4.0.1.service anydesk.service
newinitd "${FILESDIR}/anydesk.init" anydesk
systemd_newunit "${FILESDIR}/anydesk-4.0.1.service" anydesk.service

insinto /usr/share/polkit-1/actions
doins polkit-1/com.philandro.anydesk.policy

insinto /usr/share
doins -r icons

domenu "${FILESDIR}"/anydesk.desktop
domenu "${FILESDIR}/anydesk.desktop"

keepdir /etc/${PN}
keepdir "/etc/${PN}"

dodoc copyright README
}
Expand Down

0 comments on commit c0b367c

Please sign in to comment.