diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2013-07-10 16:15:46 -0500 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2013-07-10 16:15:46 -0500 |
commit | b663da496836c40b968fe5cf896267156ac59c68 (patch) | |
tree | 66d492a724025b5c390073b5f3ab30063a6d9c6e | |
parent | virtualbox-modules: Hack together some fixes for 3.9 kernels. (diff) | |
download | dberkholz-b663da496836c40b968fe5cf896267156ac59c68.tar.gz dberkholz-b663da496836c40b968fe5cf896267156ac59c68.tar.bz2 dberkholz-b663da496836c40b968fe5cf896267156ac59c68.zip |
openshot: add 1.4.3, w/ mod to use virtual/imaging.
-rw-r--r-- | media-video/openshot/Manifest | 2 | ||||
-rw-r--r-- | media-video/openshot/openshot-1.4.3.ebuild | 71 |
2 files changed, 73 insertions, 0 deletions
diff --git a/media-video/openshot/Manifest b/media-video/openshot/Manifest new file mode 100644 index 0000000..6bc6b4c --- /dev/null +++ b/media-video/openshot/Manifest @@ -0,0 +1,2 @@ +DIST openshot-1.4.3.tar.gz 31990991 SHA256 5bebf1c59a8667b0263599544f2d23ce6be3ab79ce24a85b766e1e39cab859d0 SHA512 f3221c3e508ccf61d4fd2771de47f42ddb1a78996853011ee336e8ccf842a0fd97707a60c677e1465a89e6eb67911b6eb98b002959f8a29ac9e31924bbb6fcda WHIRLPOOL 4fd8d5b5db2923c8b7349032847087b9cf4ccdbade206c5c6cc9aac27ace6e99c6053bd1184cf14b20c80b4f666baf356798a5b6a8d6c7c737a9a986894943af +EBUILD openshot-1.4.3.ebuild 2119 SHA256 c6ae33396f04c4c8912d552e2caab05efcfa11cb56624def2ceda98663866abb SHA512 82f8a28ba3de6a296e17bd7098548aabffc9147db2457b1a2c448bc14f20f41f4e5b856aee83ff4a8ae384dea96a7fe827635c3e9875c988cad90517cbaf5570 WHIRLPOOL 23b2c57d30dc3126b2b273de86d4d32083eb064c0ad2fab4ff5fc243b7c825c61b9829e93d7a6ae3bc0a270f15cdf12f3c55cc8d606ee6ee0b9c82c93350750f 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..637a7b1 --- /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 python + +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.18:2 + dev-python/pygtk + dev-python/pygoocanvas + dev-python/pyxdg + dev-python/librsvg-python + dev-python/httplib2 + >=media-libs/mlt-0.4.6-r1[ffmpeg,frei0r,gtk,melt,python,sdl,xml] + media-sound/sox[encode,ffmpeg] + >=virtual/ffmpeg-0.6[encode,sdl] + virtual/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 +} |