diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2016-07-14 17:07:06 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2016-07-14 17:30:17 +0200 |
commit | 5bb6ca11e0dd996439a635a08bcad7f3d8593a3c (patch) | |
tree | 598b9958e56f6a87d208bec955229775cf5aa4fd /app-emulation/virtualbox | |
parent | dev-util/cwdiff: added live ebuild (diff) | |
download | gentoo-5bb6ca11e0dd996439a635a08bcad7f3d8593a3c.tar.gz gentoo-5bb6ca11e0dd996439a635a08bcad7f3d8593a3c.tar.bz2 gentoo-5bb6ca11e0dd996439a635a08bcad7f3d8593a3c.zip |
app-emulation/virtualbox: Install more icons.
Package-Manager: portage-2.3.0
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-emulation/virtualbox')
-rw-r--r-- | app-emulation/virtualbox/virtualbox-5.1.0.ebuild | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/app-emulation/virtualbox/virtualbox-5.1.0.ebuild b/app-emulation/virtualbox/virtualbox-5.1.0.ebuild index 9f389a434512..661c0bf75bfa 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 |