commit:     4054a3dcdd3e9f1b57561b64b3ec9683a3efe514
Author:     Louis Sautier <sautier.louis <AT> gmail <DOT> com>
AuthorDate: Sun Sep 11 13:41:21 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Sep 14 07:37:52 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4054a3dc

media-video/openshot: bump to 2.1.0

Gentoo-Bug: 592562
Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/2304

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 media-video/openshot/Manifest              |  1 +
 media-video/openshot/openshot-2.1.0.ebuild | 56 ++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/media-video/openshot/Manifest b/media-video/openshot/Manifest
index 79353e9..a8300e5 100644
--- a/media-video/openshot/Manifest
+++ b/media-video/openshot/Manifest
@@ -1,3 +1,4 @@
 DIST openshot-1.4.3.tar.gz 31990991 SHA256 
5bebf1c59a8667b0263599544f2d23ce6be3ab79ce24a85b766e1e39cab859d0 SHA512 
f3221c3e508ccf61d4fd2771de47f42ddb1a78996853011ee336e8ccf842a0fd97707a60c677e1465a89e6eb67911b6eb98b002959f8a29ac9e31924bbb6fcda
 WHIRLPOOL 
4fd8d5b5db2923c8b7349032847087b9cf4ccdbade206c5c6cc9aac27ace6e99c6053bd1184cf14b20c80b4f666baf356798a5b6a8d6c7c737a9a986894943af
 DIST openshot-qt-2.0.6.tar.gz 91612365 SHA256 
80a7ad0fa5e2f4fc8bcccc1c2c8c4a6d73315b63f8263a0c374c2ffd4faa6c5c SHA512 
cec7ece06d7ceb69440e413b372fb3c40bab36391f19acfd94c42ae9b0ccab7bee2dc2b335febf0f2a61788991aea34f72c07df7a5eaacab8bcd9f0de315114b
 WHIRLPOOL 
10270675cbd783b21e446bd5cbe3712fa12dc1d28e66772fde60ed4e155524d1b297e1c6267bc4190b47445252fb9a4d11ab60fa697106eea6ad08fe4fb599f6
 DIST openshot-qt-2.0.7.tar.gz 92978794 SHA256 
7b58e802a3de2260c00e4e4996ec899253ff1ff4035b2a2e535ac72ee4d63a97 SHA512 
1a49fe7b10d1c9e3c567f85b479a8b6dac3cd1584b309423b9c16016349411636f434d111a5e9d2821412d77429960f00c0fffc8c5bd9bf2d4f3bd1e35690d68
 WHIRLPOOL 
64b85ee06a741ed072d73b02da03519bc1c589cc9d11e9e59876591b15d8e764078f1d81bf8a5258cbd00d53fe3ac030ab6b54bfe93f1fab299a34fe0ef7377b
+DIST openshot-qt-2.1.0.tar.gz 93936673 SHA256 
1eec7d07e991ccbb168de18b5f8a15f5d3eafe842cf267a254c1cde2925e2fdd SHA512 
4d9af4d392dfad861ab123fa4e1de63037fc6b01d35935ffe2bf48cfc93bd197a4c7501053c9447deb25404036e4a5321ecf5994eb327acbc296ef1ea7fc8838
 WHIRLPOOL 
e1c2da17edad781dc22c6cd7d27368b3502b4630f2989b7305ac3140994a4e76c93a888967378dd375676d24508c70aa1cf68321fdacb0851faac3846ec9e4cf

diff --git a/media-video/openshot/openshot-2.1.0.ebuild 
b/media-video/openshot/openshot-2.1.0.ebuild
new file mode 100644
index 00000000..e714b18
--- /dev/null
+++ b/media-video/openshot/openshot-2.1.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_REQ_USE=xml
+PYTHON_COMPAT=( python3_{4,5} )
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1 gnome2-utils versionator xdg
+
+MY_PN="${PN}-qt"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Free, open-source, non-linear video editor to create and edit 
videos and movies"
+HOMEPAGE="http://www.openshot.org/ https://launchpad.net/openshot";
+SRC_URI="https://launchpad.net/${PN}/$(get_version_component_range 
1-2)/${PV}/+download/${MY_P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="1"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+       dev-python/PyQt5[svg,webkit,${PYTHON_USEDEP}]
+       media-libs/libopenshot[python,${PYTHON_USEDEP}]
+       dev-python/httplib2[${PYTHON_USEDEP}]
+       dev-python/pyzmq[${PYTHON_USEDEP}]
+"
+DEPEND="
+       dev-python/setuptools[${PYTHON_USEDEP}]
+"
+
+S="${WORKDIR}"
+
+src_prepare() {
+       # prevent setup.py from trying to update MIME databases
+       sed -i 's/^ROOT =.*/ROOT = False/' setup.py || die
+       xdg_src_prepare
+       distutils-r1_src_prepare
+}
+
+pkg_preinst() {
+       xdg_pkg_preinst
+       gnome2_icon_savelist
+}
+
+pkg_postinst() {
+       xdg_pkg_postinst
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       xdg_pkg_postrm
+       gnome2_icon_cache_update
+}

Reply via email to