summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Wijsman <tomwij@gentoo.org>2013-11-11 00:52:14 +0000
committerTom Wijsman <tomwij@gentoo.org>2013-11-11 00:52:14 +0000
commit552e9fb16f68b8d19a4a6cec3f47148b9c495665 (patch)
tree834b6d3fcbfdeed30f9f77a9d5b123e5a4f69b32 /media-video/openshot
parentupdating icinga (diff)
downloadgentoo-2-552e9fb16f68b8d19a4a6cec3f47148b9c495665.tar.gz
gentoo-2-552e9fb16f68b8d19a4a6cec3f47148b9c495665.tar.bz2
gentoo-2-552e9fb16f68b8d19a4a6cec3f47148b9c495665.zip
New ebuild for media-video/openshot; a free, open-source, non-linear video editor to create and edit videos and movies. Proxied commit for Galym Kerimbekov (housegregory299), whom will be proxy maintaining this package. Fixes bug #283673.
(Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
Diffstat (limited to 'media-video/openshot')
-rw-r--r--media-video/openshot/ChangeLog12
-rw-r--r--media-video/openshot/metadata.xml10
-rw-r--r--media-video/openshot/openshot-1.4.3.ebuild61
3 files changed, 83 insertions, 0 deletions
diff --git a/media-video/openshot/ChangeLog b/media-video/openshot/ChangeLog
new file mode 100644
index 000000000000..f33d5e6ea651
--- /dev/null
+++ b/media-video/openshot/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for media-video/openshot
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/openshot/ChangeLog,v 1.1 2013/11/11 00:52:14 tomwij Exp $
+
+*openshot-1.4.3 (11 Nov 2013)
+
+ 11 Nov 2013; Tom Wijsman <TomWij@gentoo.org> +metadata.xml,
+ +openshot-1.4.3.ebuild:
+ New ebuild for media-video/openshot; a free, open-source, non-linear video
+ editor to create and edit videos and movies. Proxied commit for Galym
+ Kerimbekov (housegregory299), whom will be proxy maintaining this package.
+ Fixes bug #283673.
diff --git a/media-video/openshot/metadata.xml b/media-video/openshot/metadata.xml
new file mode 100644
index 000000000000..c7d88bc8929f
--- /dev/null
+++ b/media-video/openshot/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>proxy-maintainers</herd>
+<maintainer>
+ <email>housegregory299@gmail.com</email>
+ <name>Galym Kerimbekov</name>
+</maintainer>
+<longdescription>Free, open-source, non-linear video editor to create and edit videos and movies</longdescription>
+</pkgmetadata>
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 000000000000..cbbcbab87ef1
--- /dev/null
+++ b/media-video/openshot/openshot-1.4.3.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2013 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.1 2013/11/11 00:52:14 tomwij Exp $
+
+EAPI="5"
+
+PYTHON_REQ_USE=xml
+PYTHON_COMPAT=( python{2_6,2_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]
+ media-sound/sox[encode,ffmpeg]
+ )
+ 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
+}