# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" MY_PV=${PV/./_} MY_P=${PN}_linux_source_${MY_PV/./-}_20100315 inherit eutils DESCRIPTION="For post-production operations for video editing and images groups" HOMEPAGE="http://ekd.tuxfamily.org/" SRC_URI="http://download.tuxfamily.org/ekdforum/ekd/appli/linux/sources/${MY_P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" IUSE="" DEPEND="" RDEPEND="virtual/libintl dev-python/imaging dev-python/numpy dev-python/PyQt4 media-gfx/imagemagick media-video/ffmpeg2theora media-video/mjpegtools media-video/mplayer media-sound/lame media-sound/sox" S=${WORKDIR}/${MY_P} src_install() { mkdir -p "${D}"/usr/share/ekd \ && mv "${S}"/*/ *.py "${D}"/usr/share/ekd || die mkdir "${D}"/usr/bin \ && echo "python /usr/share/ekd/ekd_gui.py" > "${D}"/usr/bin/ekd || die chmod 755 "${D}"/usr/bin/ekd dodoc README_LISEZMOI.txt || die doicon icone_${PN}.png || die make_desktop_entry ${PN} EKD icone_${PN} || die }