1 |
commit: 81754ad34e9ffce5d722cb31d33690bb6d76d0c2 |
2 |
Author: Joonas Niilola <juippis <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Jul 29 19:20:14 2019 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 29 23:22:55 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81754ad3 |
7 |
|
8 |
media-video/photofilmstrip: bump to 3.7.1 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/643324 |
11 |
Package-Manager: Portage-2.3.68, Repoman-2.3.16 |
12 |
Signed-off-by: Joonas Niilola <juippis <AT> gmail.com> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/12574 |
14 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
15 |
|
16 |
media-video/photofilmstrip/Manifest | 1 + |
17 |
...tofilmstrip-3.7.1-disable-docs-by-default.patch | 15 +++++ |
18 |
.../photofilmstrip/photofilmstrip-3.7.1.ebuild | 67 ++++++++++++++++++++++ |
19 |
3 files changed, 83 insertions(+) |
20 |
|
21 |
diff --git a/media-video/photofilmstrip/Manifest b/media-video/photofilmstrip/Manifest |
22 |
index 81e3b4862c3..4773f126200 100644 |
23 |
--- a/media-video/photofilmstrip/Manifest |
24 |
+++ b/media-video/photofilmstrip/Manifest |
25 |
@@ -1 +1,2 @@ |
26 |
DIST photofilmstrip-2.1.0.tar.gz 243163 BLAKE2B 30bc0de885a00b715377b262039b3c22425315e77c7e5ac7db377535f0dc3a7614bd83b894bcfbaf53601be140fef0e9754a3911958b9f71aec1e5d0214fe972 SHA512 e3cbf19d73d6cc16dcef23c11d84e5bfd1d0721cb72bb4d775390152be2fb20cab14912a9e0e73ef2d9dba9c041883591df2708cdeb7e7447cbcb18e750ea142 |
27 |
+DIST photofilmstrip-3.7.1.tar.gz 354585 BLAKE2B df1e8756677814f35a59d7f4d3585647393e37262eb80c3299805cb0811cdfb4a16c96f90aaa192469266805145db68a582671a34f2b2780b75f1e0318460bd7 SHA512 fc2284c6c52eea5d9a6415149681e26505d6e084ad31897c44cde8e2b4845584b8521b375da06fd0a59179bfa73f6aabe769caad7a8186d5f87ecacebaff24fb |
28 |
|
29 |
diff --git a/media-video/photofilmstrip/files/photofilmstrip-3.7.1-disable-docs-by-default.patch b/media-video/photofilmstrip/files/photofilmstrip-3.7.1-disable-docs-by-default.patch |
30 |
new file mode 100644 |
31 |
index 00000000000..78dd6697ca7 |
32 |
--- /dev/null |
33 |
+++ b/media-video/photofilmstrip/files/photofilmstrip-3.7.1-disable-docs-by-default.patch |
34 |
@@ -0,0 +1,15 @@ |
35 |
+diff -Naur a/setup.py b/setup.py |
36 |
+--- a/setup.py 2019-07-29 20:46:23.212292642 +0300 |
37 |
++++ b/setup.py 2019-07-29 20:47:47.426300796 +0300 |
38 |
+@@ -20,10 +20,7 @@ |
39 |
+ from distutils.dir_util import remove_tree |
40 |
+ from distutils.sysconfig import get_python_lib |
41 |
+ |
42 |
+-try: |
43 |
+- from sphinx.application import Sphinx |
44 |
+-except ImportError: |
45 |
+- Sphinx = None |
46 |
++Sphinx = None |
47 |
+ |
48 |
+ try: |
49 |
+ import py2exe |
50 |
|
51 |
diff --git a/media-video/photofilmstrip/photofilmstrip-3.7.1.ebuild b/media-video/photofilmstrip/photofilmstrip-3.7.1.ebuild |
52 |
new file mode 100644 |
53 |
index 00000000000..a8f65086077 |
54 |
--- /dev/null |
55 |
+++ b/media-video/photofilmstrip/photofilmstrip-3.7.1.ebuild |
56 |
@@ -0,0 +1,67 @@ |
57 |
+# Copyright 1999-2019 Gentoo Authors |
58 |
+# Distributed under the terms of the GNU General Public License v2 |
59 |
+ |
60 |
+EAPI=7 |
61 |
+ |
62 |
+PYTHON_COMPAT=( python3_{5,6} ) |
63 |
+PYTHON_REQ_USE="sqlite" |
64 |
+DISTUTILS_SINGLE_IMPL=1 |
65 |
+ |
66 |
+inherit distutils-r1 eutils xdg-utils |
67 |
+ |
68 |
+DESCRIPTION="Movie slideshow creator using Ken Burns effect" |
69 |
+HOMEPAGE="https://www.photofilmstrip.org/en/ https://github.com/PhotoFilmStrip" |
70 |
+SRC_URI="https://github.com/PhotoFilmStrip/PFS/releases/download/v${PV}/${P}.tar.gz" |
71 |
+ |
72 |
+LICENSE="GPL-2" |
73 |
+SLOT="0" |
74 |
+KEYWORDS="~amd64 ~x86" |
75 |
+IUSE="doc" |
76 |
+ |
77 |
+RDEPEND="dev-python/gst-python[${PYTHON_USEDEP}] |
78 |
+ dev-python/pillow[${PYTHON_USEDEP}] |
79 |
+ dev-python/wxpython:4.0[${PYTHON_USEDEP}] |
80 |
+ media-plugins/gst-plugins-jpeg:1.0 |
81 |
+ x11-libs/wxGTK:*[X]" |
82 |
+DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" |
83 |
+ |
84 |
+PATCHES=( "${FILESDIR}/${P}-disable-docs-by-default.patch" ) |
85 |
+ |
86 |
+src_prepare() { |
87 |
+ default |
88 |
+ |
89 |
+ # fix 'unexpected path' QA warning on einstalldocs |
90 |
+ sed -i 's|"share", "doc", "photofilmstrip"|"share", "doc", "'${PF}'"|g' setup.py || |
91 |
+ die "Fixing unexpected path failed." |
92 |
+ |
93 |
+ # build html docs |
94 |
+ if use doc; then |
95 |
+ sed -i 's/Sphinx = None/from sphinx.application import Sphinx/g' -i setup.py || |
96 |
+ die "Failed to enable building docs with sphinx." |
97 |
+ fi |
98 |
+ |
99 |
+ # fix a QA issue with .desktop file |
100 |
+ sed -i '/Version=/d' data/photofilmstrip.desktop || die "Failed to update .desktop file." |
101 |
+} |
102 |
+ |
103 |
+python_install_all() { |
104 |
+ use doc && local HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. ) |
105 |
+ doman docs/manpage/*.1 |
106 |
+ distutils-r1_python_install_all |
107 |
+} |
108 |
+ |
109 |
+pkg_postinst() { |
110 |
+ xdg_icon_cache_update |
111 |
+ |
112 |
+ optfeature "additional rendering formats" media-plugins/gst-plugins-bad |
113 |
+ optfeature "additional rendering formats" media-plugins/gst-plugins-good |
114 |
+ optfeature "additional rendering formats" media-plugins/gst-plugins-ugly |
115 |
+ optfeature "ogg/theora support" media-libs/gst-plugins-base[theora] |
116 |
+ optfeature "h264 (MKV/MP4) support" media-plugins/gst-plugins-x264 |
117 |
+ optfeature "h265 (MKV) support" media-plugins/gst-plugins-x265 |
118 |
+ optfeature "MPEG 1/2 (DVD) support" media-plugins/gst-plugins-mpeg2enc |
119 |
+} |
120 |
+ |
121 |
+pkg_postrm() { |
122 |
+ xdg_icon_cache_update |
123 |
+} |