blob: d35839af1ec6d2791e4b8fd1145f794c94f879d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
PYTHON_DEPEND="2:2.5"
SUPPORT_PYTHON_ABIS="1"
inherit eutils python versionator
MY_PV=$(replace_version_separator 1 '_' $(replace_version_separator 2 '-' $(replace_version_separator 3 '_')))
MY_P=${PN}_linux_source_${MY_PV}
DESCRIPTION="Post-production video editing"
HOMEPAGE="http://ekd.tuxfamily.org/"
SRC_URI="http://download.tuxfamily.org/${PN}forum/${PN}/appli/linux/sources/${MY_P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="virtual/libintl
dev-python/imaging
dev-python/numpy
dev-python/PyQt4[X]
media-gfx/imagemagick
media-video/ffmpeg2theora
media-video/mjpegtools
media-video/mplayer
media-sound/lame
media-sound/sox"
RESTRICT_PYTHON_DEPEND="2.4 3*"
S=${WORKDIR}/${MY_P}
src_prepare() {
python_convert_shebangs 2 ekd_gui.py
}
src_install() {
insinto /usr/share/${PN}
doins -r * || die
building() {
make_wrapper ekd-${PYTHON_ABI} "$(PYTHON) /usr/share/${PN}/ekd_gui.py"
}
python_execute_function building
python_generate_wrapper_scripts "${D}/usr/bin/ekd"
dodoc README_LISEZMOI.txt || die
doicon icone_${PN}.png || die
make_desktop_entry ${PN} EKD icone_${PN}
}
|