PageRenderTime 17ms CodeModel.GetById 8ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/media-video/openshot/openshot-1.0.0-r1.ebuild

http://github.com/stsquad/Gentoo-Overlay
Unknown | 48 lines | 38 code | 10 blank | 0 comment | 0 complexity | 8d573de9fbd8153f4c08874bec304c59 MD5 | raw file
 1# Copyright 1999-2010 Gentoo Foundation
 2# Distributed under the terms of the GNU General Public License v2
 3# $Header: $
 4
 5EAPI=2
 6
 7inherit distutils fdo-mime
 8
 9MY_P=${PN}_${PV}-1
10
11DESCRIPTION="OpenShot Video Editor is a non-linear video editor"
12HOMEPAGE="http://www.openshotvideo.com"
13SRC_URI="http://launchpad.net/openshot/1.0/${PV}/+download/${MY_P}.tar.gz"
14
15LICENSE="GPL-3"
16SLOT="0"
17KEYWORDS="~amd64 ~x86"
18IUSE="faac faad ieee1394 jack mp3 quicktime theora vorbis x264"
19
20DEPEND=""
21RDEPEND="
22	>=dev-lang/python-2.5[xml]
23	dev-python/pygtk
24	dev-python/pygoocanvas
25	dev-python/pyxdg
26	>=media-libs/mlt-0.4.6-r1[dv,ffmpeg,frei0r,melt,python,quicktime?,xml]
27	media-sound/sox[encode,ffmpeg]
28	media-video/ffmpeg[encode,ieee1394?,jack?,x264?,vorbis?,theora?,faac?,faad?,mp3?]"
29	# TODO: revisit deps (especially gnome-base/librsvg pygtk2-libglade)
30
31S=${WORKDIR}/${PN}
32
33src_prepare() {
34	# Avoid stuff covered by fdo-mime.eclass
35	# (update-mime-database update-desktop-database update-mime)
36	# export "FAKEROOTKEY=gentoo" does not work as this variable is filtered by portage
37	sed -i -e '/FAILED = /q' setup.py
38}
39
40pkg_postinst() {
41	fdo-mime_mime_database_update
42	fdo-mime_desktop_database_update
43}
44
45pkg_postrm() {
46	fdo-mime_mime_database_update
47	fdo-mime_desktop_database_update
48}