1 |
commit: 4c116bffee9d636a89398025ff31eb96d9c8e0aa |
2 |
Author: Rick Farina <zerochaos <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 14 14:55:47 2020 +0000 |
4 |
Commit: Rick Farina <zerochaos <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 14 15:57:45 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c116bff |
7 |
|
8 |
media-video/vidcutter: initial import |
9 |
|
10 |
minor cleanup, importing from jorgicio and powerman overlays plus some |
11 |
minor QA fixes |
12 |
|
13 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
14 |
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org> |
15 |
|
16 |
media-video/vidcutter/Manifest | 1 + |
17 |
media-video/vidcutter/metadata.xml | 11 ++++++++ |
18 |
media-video/vidcutter/vidcutter-6.0.0.ebuild | 40 ++++++++++++++++++++++++++++ |
19 |
media-video/vidcutter/vidcutter-9999.ebuild | 40 ++++++++++++++++++++++++++++ |
20 |
4 files changed, 92 insertions(+) |
21 |
|
22 |
diff --git a/media-video/vidcutter/Manifest b/media-video/vidcutter/Manifest |
23 |
new file mode 100644 |
24 |
index 00000000000..c00289ae0a1 |
25 |
--- /dev/null |
26 |
+++ b/media-video/vidcutter/Manifest |
27 |
@@ -0,0 +1 @@ |
28 |
+DIST vidcutter-6.0.0.tar.gz 9877867 BLAKE2B 91f153222f37d452ed8af5c4f24e32790189f058b5cbb3c80f7805ed48b5e953bfeeb8be92f04e049384dc30f416d0ee603237b8a59a329b0bc0cd61bf0fdbe2 SHA512 9970d9918cca9a7681bc5ca8d8b5d16212cf3dad0f2bc3e9c6727340c340801696dcb7ff4e901c2c0a25b86e9cb165bb3f783c18b4a8fd5f4ddba8490a7fd7a0 |
29 |
|
30 |
diff --git a/media-video/vidcutter/metadata.xml b/media-video/vidcutter/metadata.xml |
31 |
new file mode 100644 |
32 |
index 00000000000..a56d19341fb |
33 |
--- /dev/null |
34 |
+++ b/media-video/vidcutter/metadata.xml |
35 |
@@ -0,0 +1,11 @@ |
36 |
+<?xml version="1.0" encoding="UTF-8"?> |
37 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
38 |
+<pkgmetadata> |
39 |
+ <maintainer type="person"> |
40 |
+ <email>zerochaos@g.o</email> |
41 |
+ <name>Rick Farina</name> |
42 |
+ </maintainer> |
43 |
+ <upstream> |
44 |
+ <remote-id type="github">ozmartian/vidcutter</remote-id> |
45 |
+ </upstream> |
46 |
+</pkgmetadata> |
47 |
|
48 |
diff --git a/media-video/vidcutter/vidcutter-6.0.0.ebuild b/media-video/vidcutter/vidcutter-6.0.0.ebuild |
49 |
new file mode 100644 |
50 |
index 00000000000..925afa62e55 |
51 |
--- /dev/null |
52 |
+++ b/media-video/vidcutter/vidcutter-6.0.0.ebuild |
53 |
@@ -0,0 +1,40 @@ |
54 |
+# Copyright 1999-2020 Gentoo Authors |
55 |
+# Distributed under the terms of the GNU General Public License v2 |
56 |
+ |
57 |
+EAPI=7 |
58 |
+ |
59 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
60 |
+ |
61 |
+inherit distutils-r1 |
62 |
+ |
63 |
+DESCRIPTION="FFmpeg-based simple video cutter & joiner with a modern PyQt5 GUI" |
64 |
+HOMEPAGE="http://vidcutter.ozmartians.com https://github.com/ozmartian/vidcutter" |
65 |
+ |
66 |
+if [[ ${PV} == 9999 ]];then |
67 |
+ inherit git-r3 |
68 |
+ EGIT_REPO_URI="https://github.com/ozmartian/vidcutter" |
69 |
+ KEYWORDS="" |
70 |
+else |
71 |
+ SRC_URI="https://github.com/ozmartian/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
72 |
+ KEYWORDS="~amd64 ~x86" |
73 |
+fi |
74 |
+ |
75 |
+LICENSE="GPL-3" |
76 |
+SLOT="0" |
77 |
+IUSE="" |
78 |
+ |
79 |
+DEPEND=" |
80 |
+ >=media-video/mpv-0.25[libmpv] |
81 |
+" |
82 |
+RDEPEND="${DEPEND} |
83 |
+ >=dev-python/PyQt5-5.7[dbus,multimedia,${PYTHON_USEDEP}] |
84 |
+ media-video/mediainfo |
85 |
+ virtual/ffmpeg[X,encode]" |
86 |
+BDEPEND=" |
87 |
+ ${PYTHON_DEPS} |
88 |
+ dev-python/setuptools[${PYTHON_USEDEP}]" |
89 |
+ |
90 |
+src_install() { |
91 |
+ distutils-r1_src_install |
92 |
+ mv "${ED}/usr/share/doc/${PN}" "${ED}/usr/share/doc/${P}" |
93 |
+} |
94 |
|
95 |
diff --git a/media-video/vidcutter/vidcutter-9999.ebuild b/media-video/vidcutter/vidcutter-9999.ebuild |
96 |
new file mode 100644 |
97 |
index 00000000000..925afa62e55 |
98 |
--- /dev/null |
99 |
+++ b/media-video/vidcutter/vidcutter-9999.ebuild |
100 |
@@ -0,0 +1,40 @@ |
101 |
+# Copyright 1999-2020 Gentoo Authors |
102 |
+# Distributed under the terms of the GNU General Public License v2 |
103 |
+ |
104 |
+EAPI=7 |
105 |
+ |
106 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
107 |
+ |
108 |
+inherit distutils-r1 |
109 |
+ |
110 |
+DESCRIPTION="FFmpeg-based simple video cutter & joiner with a modern PyQt5 GUI" |
111 |
+HOMEPAGE="http://vidcutter.ozmartians.com https://github.com/ozmartian/vidcutter" |
112 |
+ |
113 |
+if [[ ${PV} == 9999 ]];then |
114 |
+ inherit git-r3 |
115 |
+ EGIT_REPO_URI="https://github.com/ozmartian/vidcutter" |
116 |
+ KEYWORDS="" |
117 |
+else |
118 |
+ SRC_URI="https://github.com/ozmartian/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
119 |
+ KEYWORDS="~amd64 ~x86" |
120 |
+fi |
121 |
+ |
122 |
+LICENSE="GPL-3" |
123 |
+SLOT="0" |
124 |
+IUSE="" |
125 |
+ |
126 |
+DEPEND=" |
127 |
+ >=media-video/mpv-0.25[libmpv] |
128 |
+" |
129 |
+RDEPEND="${DEPEND} |
130 |
+ >=dev-python/PyQt5-5.7[dbus,multimedia,${PYTHON_USEDEP}] |
131 |
+ media-video/mediainfo |
132 |
+ virtual/ffmpeg[X,encode]" |
133 |
+BDEPEND=" |
134 |
+ ${PYTHON_DEPS} |
135 |
+ dev-python/setuptools[${PYTHON_USEDEP}]" |
136 |
+ |
137 |
+src_install() { |
138 |
+ distutils-r1_src_install |
139 |
+ mv "${ED}/usr/share/doc/${PN}" "${ED}/usr/share/doc/${P}" |
140 |
+} |