diff options
author | Marcin Deranek <gringo@slonko.net> | 2014-10-20 19:32:02 +0200 |
---|---|---|
committer | Marcin Deranek <gringo@slonko.net> | 2014-10-20 19:32:02 +0200 |
commit | 0417d743d7414e7ea1c0a332a70d38037c2e9b8f (patch) | |
tree | b2dde85b497113485475ed13964856153c46b810 /media-video/openshot/openshot-1.4.3.ebuild | |
parent | 8cda91f592eae07fe971e01df866f23d217ad198 (diff) | |
download | portage-0417d743d7414e7ea1c0a332a70d38037c2e9b8f.tar.gz portage-0417d743d7414e7ea1c0a332a70d38037c2e9b8f.tar.bz2 portage-0417d743d7414e7ea1c0a332a70d38037c2e9b8f.zip |
Added openshhot video editor
Diffstat (limited to 'media-video/openshot/openshot-1.4.3.ebuild')
-rw-r--r-- | media-video/openshot/openshot-1.4.3.ebuild | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/media-video/openshot/openshot-1.4.3.ebuild b/media-video/openshot/openshot-1.4.3.ebuild new file mode 100644 index 0000000..308e044 --- /dev/null +++ b/media-video/openshot/openshot-1.4.3.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +PYTHON_DEPEND=2:2.5 +PYTHON_USE_WITH=xml + +inherit versionator distutils fdo-mime + +DESCRIPTION="OpenShot Video Editor is a non-linear video editor" +HOMEPAGE="http://www.openshotvideo.com" +SRC_URI="http://launchpad.net/openshot/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND=" + x11-libs/gtk+:2 + dev-python/pygtk + dev-python/pygoocanvas + dev-python/pyxdg + dev-python/librsvg-python + dev-python/httplib2 + media-libs/mlt[ffmpeg,frei0r,gtk,melt,python,sdl,xml] + media-sound/sox[encode,ffmpeg] + >=virtual/ffmpeg-0.6[encode,sdl] + dev-python/imaging + " +#>=virtual/ffmpeg-0.6[encode,faac?,ieee1394?,mp3?,sdl,theora?,vorbis?,vpx,x264?,xvid?] +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + python_convert_shebangs -q -r 2 . + distutils_src_prepare + + # Disable the installation of the mime.types file. + # The .desktop file would be used to update the mime database. + sed -ie '/launcher/,+1d' setup.py || die + + # Avoid stuff covered by fdo-mime.eclass + # (update-mime-database update-desktop-database update-mime) + # export "FAKEROOTKEY=gentoo" does not work as this variable is filtered + # by portage + sed -ie '/FAILED = /,$d' setup.py || die +} + +# TODO: check stuff installed to /usr/lib/python2.6/site-packages as there are +# some parts installed which shouldn't (locale, themes, profiles effects, +# etc...) Afaik only python stuff should go there and the rest probably to +# /usr/share/openshot +# The same goes for /usr/lib/mime/packages + +pkg_postinst() { + fdo-mime_mime_database_update + fdo-mime_desktop_database_update + distutils_pkg_postinst +} + +pkg_postrm() { + fdo-mime_mime_database_update + fdo-mime_desktop_database_update + distutils_pkg_postrm +} |