From bb572ed4fa3406940737a78ec8d67bcfbf71711c Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Thu, 26 May 2016 15:21:20 +0200 Subject: [PATCH] voip/teamspeak-client-bin: use desktop-utils.exlib --- .../teamspeak-client-bin-3.0.19.1.exheres-0 | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/packages/voip/teamspeak-client-bin/teamspeak-client-bin-3.0.19.1.exheres-0 b/packages/voip/teamspeak-client-bin/teamspeak-client-bin-3.0.19.1.exheres-0 index e7a7e12..6950d58 100644 --- a/packages/voip/teamspeak-client-bin/teamspeak-client-bin-3.0.19.1.exheres-0 +++ b/packages/voip/teamspeak-client-bin/teamspeak-client-bin-3.0.19.1.exheres-0 @@ -1,6 +1,8 @@ # Copyright 2016 Julian Ospald # Distributed under the terms of the GNU General Public License v2 +require desktop-utils + SUMMARY="TeamSpeak Client - Voice Communication Software" HOMEPAGE="http://www.teamspeak.com/" DOWNLOADS=" @@ -77,16 +79,7 @@ src_install() { edo ln -s ../../usr/$(exhost --target)/lib/libquazip5.so \ "${IMAGE%/}"/opt/teamspeak3-client/libquazip.so - insinto /usr/share/applications - hereins ${PN}.desktop << EOF -[Desktop Entry] -Name=TeamSpeak3 -Type=Application -Comment=${SUMMARY} -Exec=teamspeak3 -TryExec=teamspeak3 -Icon=/opt/teamspeak3-client/pluginsdk/docs/client_html/images/logo.png -Categories=Network; -EOF + install_desktop_entry "Name=TeamSpeak3" "Exec=teamspeak3" \ + "Icon=/opt/teamspeak3-client/styles/default/logo-128x128.png" }