# Distributed under the terms of the GNU General Public License v2 EAPI=5 inherit eutils DESCRIPTION="Complete DAW using a tracker-based approach" HOMEPAGE="http://www.renoise.com/" MY_ARCH=${ARCH/amd64/x86_64} MY_PV=${PV//./_} SRC_URI="http://files.renoise.com/demo/Renoise_${MY_PV}_Demo_${MY_ARCH}.tar.bz2" S="${WORKDIR}/Renoise_${MY_PV}_Demo_${MY_ARCH}" LICENSE="renoise-EULA" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="-icons" RESTRICT="mirror strip" DEPEND=" icons? ( x11-misc/xdg-utils ) " RDEPEND=" media-libs/alsa-lib " src_install() { insinto /usr/share/renoise-${PV} doins -r Resources/* newbin renoise renoise-${PV} dosym /usr/bin/renoise-${PV} /usr/bin/renoise doman Installer/renoise.1.gz doman Installer/renoise-pattern-effects.5.gz if use icons ; then xdg-mime install --novendor Installer/renoise.xml doicon -s 48 -c apps Installer/renoise.png doicon -s 48 -c mimetypes Installer/renoise.png application-x-renoise-module doicon -s 48 -c mimetypes Installer/renoise.png application-x-renoise-rns-module domenu Installer/renoise.desktop fi }