commit:     eac782c5ca142b316a0bf1bbe6024924568517c5
Author:     Louis Sautier <sautier.louis <AT> gmail <DOT> com>
AuthorDate: Sat Jun 10 13:50:20 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jul 26 08:12:34 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eac782c5

media-video/openshot: bump to 2.3.4, use xdg-utils, add py3.6, #618404

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 media-video/openshot/Manifest              |  1 +
 media-video/openshot/openshot-2.3.4.ebuild | 51 ++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/media-video/openshot/Manifest b/media-video/openshot/Manifest
index 3f15f72575a..216ed056024 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.1.0.tar.gz 93936673 SHA256 
1eec7d07e991ccbb168de18b5f8a15f5d3eafe842cf267a254c1cde2925e2fdd SHA512 
4d9af4d392dfad861ab123fa4e1de63037fc6b01d35935ffe2bf48cfc93bd197a4c7501053c9447deb25404036e4a5321ecf5994eb327acbc296ef1ea7fc8838
 WHIRLPOOL 
e1c2da17edad781dc22c6cd7d27368b3502b4630f2989b7305ac3140994a4e76c93a888967378dd375676d24508c70aa1cf68321fdacb0851faac3846ec9e4cf
 DIST openshot-qt-2.2.0.tar.gz 94924926 SHA256 
8de6e193784af3b9149ea13c0552d4556df33396452360d5f9ac30682148e6f7 SHA512 
696a95fe1438b8a62261c41e5d495ef1e5107c5e4ee0ab80a980ba5e0e3b7fb5002f1bb780120f9f46a9f3c1fed2de858b61dc38d897bd4235358d617b2406b0
 WHIRLPOOL 
08a8861b8893c94821bc4dfbf81bfa54101fb34af1f30f15cb26b284f1970bc9d2901e05f7b3a1f159a0690806e64c2ca345f3a56d37f016ec17e1db3e7d6204
+DIST openshot-qt-2.3.4.tar.gz 60646277 SHA256 
b110eb144a3d3dcfe08f112c66ccc9265620b6fcf540cb690441bc47bf91eaec SHA512 
06faaaf1e3e3d996fafca8c7bde5a7fe8b9c66efb03c85448ab19bba85508d7c6334ba43a1368b20d7608cd34526c653e1956aa51ce05099be314538682fd484
 WHIRLPOOL 
dbed47fa4b9d220c75b8cec2e314beca4ba5f2cca687d016b3950aedd93e6e6f1b4d243ddf31b41d5a22d652f2257f725b6e4b85a2882ad1d5938409e1469b20

diff --git a/media-video/openshot/openshot-2.3.4.ebuild 
b/media-video/openshot/openshot-2.3.4.ebuild
new file mode 100644
index 00000000000..6b1bf1de717
--- /dev/null
+++ b/media-video/openshot/openshot-2.3.4.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_REQ_USE=xml
+PYTHON_COMPAT=( python3_{4,5,6} )
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1 gnome2-utils versionator xdg-utils
+
+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-0.1.7[python,${PYTHON_USEDEP}]
+       dev-python/httplib2[${PYTHON_USEDEP}]
+       dev-python/pyzmq[${PYTHON_USEDEP}]
+"
+DEPEND="
+       dev-python/setuptools[${PYTHON_USEDEP}]
+"
+
+S="${WORKDIR}"
+
+src_prepare() {
+       default
+       # prevent setup.py from trying to update MIME databases
+       sed -i 's/^ROOT =.*/ROOT = False/' setup.py || die
+}
+
+pkg_postinst() {
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
+       gnome2_icon_cache_update
+}

Reply via email to