blob: e492b108dcbad00a96f721ec210814933f60be7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# 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 versionator distutils-r1 gnome2-utils 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/libopenshot"
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[webkit,${PYTHON_USEDEP}]
media-libs/libopenshot[${PYTHON_USEDEP}]
dev-python/httplib2[${PYTHON_USEDEP}]
"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
"
S="${WORKDIR}/${MY_P}"
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_python_prepare_all
}
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
}
|