1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 inherit eutils python versionator
10 format_version_string() {
12 set -- $(get_version_components)
16 MY_P=$(format_version_string '${PN}_linux_source_${1}_${2}-${3}_${4}')
17 DESCRIPTION="Post-production video editing"
18 HOMEPAGE="http://ekd.tuxfamily.org/"
19 SRC_URI="http://download.tuxfamily.org/${PN}forum/${PN}/appli/linux/sources/${MY_P}.tar.gz"
26 RDEPEND="virtual/libintl
31 media-video/ffmpeg2theora
32 media-video/mjpegtools
40 python_convert_shebangs 2 ekd_gui.py
42 # Upstream's configure/Makefile just mindlessly copies the files over
43 # and using it requires much more effort than doing that by hand.
44 rm -f configure.in Makefile.in || die
48 insinto /usr/share/${PN}
51 fperms +x /usr/share/${PN}/ekd_gui.py || die
52 make_wrapper ${PN} ./ekd_gui.py /usr/share/${PN}
54 dodoc README_LISEZMOI.txt || die
56 doicon icone_${PN}.png || die
57 make_desktop_entry ${PN} EKD icone_${PN}