# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-boot/unetbootin/unetbootin-549.ebuild,v 1.4 2011/09/06 18:48:30 jer Exp $ EAPI="3" inherit qt4-r2 DESCRIPTION="Universal Netboot Installer creates Live USB systems for various OS distributions." HOMEPAGE="http://unetbootin.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${PN}-source-${PV}.tar.gz" SLOT="0" LICENSE="GPL-2" KEYWORDS="amd64 x86" IUSE="" S="${WORKDIR}" DEPEND="x11-libs/qt-gui" RDEPEND="${DEPEND} sys-fs/mtools sys-boot/syslinux app-arch/p7zip" src_configure() { lupdate ${PN}.pro || die lrelease ${PN}.pro || die eqmake4 ${PN}.pro || die } src_install() { dobin ${PN} || die insinto /usr/share/applications doins ${PN}.desktop || die for file in ${PN}*.png; do size="${file/unetbootin_}" size="${size/.png}x${size/.png}" insinto /usr/share/icons/hicolor/${size}/apps newins ${file} ${PN}.png done }