From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AC094138306 for ; Thu, 14 Jul 2016 15:30:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B4676E09B3; Thu, 14 Jul 2016 15:30:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 49FC3E09B3 for ; Thu, 14 Jul 2016 15:30:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0CAC4340BBA for ; Thu, 14 Jul 2016 15:30:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E5CFE2424 for ; Thu, 14 Jul 2016 15:30:23 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1468510217.5bb6ca11e0dd996439a635a08bcad7f3d8593a3c.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/virtualbox/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/virtualbox/virtualbox-5.1.0.ebuild X-VCS-Directories: app-emulation/virtualbox/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 5bb6ca11e0dd996439a635a08bcad7f3d8593a3c X-VCS-Branch: master Date: Thu, 14 Jul 2016 15:30:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 952c6f47-f4f8-4c41-af18-cc622a133832 X-Archives-Hash: 5bb2d48cd39aa786b0cae82ecee239fc commit: 5bb6ca11e0dd996439a635a08bcad7f3d8593a3c Author: Lars Wendler gentoo org> AuthorDate: Thu Jul 14 15:07:06 2016 +0000 Commit: Lars Wendler gentoo org> CommitDate: Thu Jul 14 15:30:17 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bb6ca11 app-emulation/virtualbox: Install more icons. Package-Manager: portage-2.3.0 Signed-off-by: Lars Wendler gentoo.org> app-emulation/virtualbox/virtualbox-5.1.0.ebuild | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/app-emulation/virtualbox/virtualbox-5.1.0.ebuild b/app-emulation/virtualbox/virtualbox-5.1.0.ebuild index 9f389a4..661c0bf 100644 --- a/app-emulation/virtualbox/virtualbox-5.1.0.ebuild +++ b/app-emulation/virtualbox/virtualbox-5.1.0.ebuild @@ -242,7 +242,7 @@ src_install() { use debug && binpath="debug" cd "${S}"/out/linux.${ARCH}/${binpath}/bin || die - local vbox_inst_path="/usr/$(get_libdir)/${PN}" each fwfile + local vbox_inst_path="/usr/$(get_libdir)/${PN}" each fwfile size ico icofile vbox_inst() { local binary="${1}" @@ -351,6 +351,16 @@ src_install() { newicon ${PN}-48px.png ${PN}.png doicon -s scalable ${PN}.svg popd &>/dev/null || die + pushd "${S}"/src/VBox/Artwork/other &>/dev/null || die + for size in 16 24 32 48 64 72 96 128 256 512 ; do + for ico in hdd ova ovf vbox{,-extpack} vdi vdh vmdk ; do + icofile="${PN}-${ico}-${size}px.png" + if [[ -f "${icofile}" ]] ; then + newicon -s ${size} ${icofile} ${PN}-${ico}.png + fi + done + done + popd &>/dev/null || die fi if use lvm ; then