diff options
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/openshot/Manifest | 1 | ||||
-rw-r--r-- | media-video/openshot/openshot-1.4.3.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/media-video/openshot/Manifest b/media-video/openshot/Manifest new file mode 100644 index 00000000..2e4ed368 --- /dev/null +++ b/media-video/openshot/Manifest @@ -0,0 +1 @@ +DIST openshot-1.4.3.tar.gz 31990991 SHA256 5bebf1c59a8667b0263599544f2d23ce6be3ab79ce24a85b766e1e39cab859d0 SHA512 f3221c3e508ccf61d4fd2771de47f42ddb1a78996853011ee336e8ccf842a0fd97707a60c677e1465a89e6eb67911b6eb98b002959f8a29ac9e31924bbb6fcda WHIRLPOOL 4fd8d5b5db2923c8b7349032847087b9cf4ccdbade206c5c6cc9aac27ace6e99c6053bd1184cf14b20c80b4f666baf356798a5b6a8d6c7c737a9a986894943af 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 00000000..37921af2 --- /dev/null +++ b/media-video/openshot/openshot-1.4.3.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/openshot/openshot-1.4.3.ebuild,v 1.2 2015/04/08 18:16:25 mgorny Exp $ + +EAPI="5" + +PYTHON_REQ_USE=xml +PYTHON_COMPAT=( python2_7 ) + +inherit versionator distutils-r1 python-r1 fdo-mime + +DESCRIPTION="Free, open-source, non-linear video editor to create and edit videos and movies" +HOMEPAGE="http://www.openshotvideo.com" +SRC_URI="http://launchpad.net/${PN}/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="+python +ffmpeg" +REQUIRED_USE="|| ( python ffmpeg )" + +RDEPEND=" + dev-python/pygoocanvas[${PYTHON_USEDEP}] + dev-python/pygtk[${PYTHON_USEDEP}] + dev-python/pyxdg[${PYTHON_USEDEP}] + virtual/python-imaging[${PYTHON_USEDEP}] + >=media-libs/mlt-0.8.2[ffmpeg,frei0r,gtk,melt,python,sdl,xml] + ffmpeg? ( + >=virtual/ffmpeg-0.6[encode,sdl,x264,mp3,theora] + ) + python? ( + dev-python/httplib2[${PYTHON_USEDEP}] + dev-python/librsvg-python + ) + x11-libs/gtk+:2 +" + +src_prepare() { + sed -ie '/launcher/,+1d' setup.py || die + sed -ie '/FAILED = /,$d' setup.py || die + + # Fix up launchers to not throw an error. + sed -i 's/\(from \)\(openshot import main\)/\1openshot.\2/' bin/openshot || die + sed -i 's/\(from \)\(openshot_render import main\)/\1openshot.\2/' bin/openshot-render || die +} + +python_install() { + distutils-r1_python_install +} + +pkg_postinst() { + fdo-mime_mime_database_update + fdo-mime_desktop_database_update +} + +pkg_postrm() { + fdo-mime_mime_database_update + fdo-mime_desktop_database_update +} |