1 |
commit: c5202bba6c7a4dab13c4db91d38764ad498d2f28 |
2 |
Author: Martin Dummer <martin.dummer <AT> gmx <DOT> net> |
3 |
AuthorDate: Sun Jan 8 20:47:41 2023 +0000 |
4 |
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 2 05:43:39 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5202bba |
7 |
|
8 |
media-video/noad: add 0.8.8 |
9 |
|
10 |
new bugfix version 0.8.8 |
11 |
new EAPI 8 |
12 |
|
13 |
Closes: https://bugs.gentoo.org/889656 |
14 |
Signed-off-by: Martin Dummer <martin.dummer <AT> gmx.net> |
15 |
Closes: https://github.com/gentoo/gentoo/pull/29024 |
16 |
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org> |
17 |
|
18 |
media-video/noad/Manifest | 1 + |
19 |
media-video/noad/noad-0.8.8.ebuild | 69 ++++++++++++++++++++++++++++++++++++++ |
20 |
2 files changed, 70 insertions(+) |
21 |
|
22 |
diff --git a/media-video/noad/Manifest b/media-video/noad/Manifest |
23 |
index 12a9799f1909..b30786e65f53 100644 |
24 |
--- a/media-video/noad/Manifest |
25 |
+++ b/media-video/noad/Manifest |
26 |
@@ -1 +1,2 @@ |
27 |
DIST noad-0.8.7.tar.gz 144339 BLAKE2B e7492f63e7326cdced041332e05051a6bda2e92798f4b694ff626e65306d6ebe606f871eabc37df1613677c2f739b3caed033b443cbe7edce913b83a0365e3e5 SHA512 fa1d0226144175de586f938a594fe0a3c0b8a924a258f1406cf52078d5e6d84f46ae685ee3c9f3ce28e62f9eee719d6a938504e39a6b3b9c96043f4bd4aaf69d |
28 |
+DIST noad-0.8.8.tar.gz 144269 BLAKE2B 0474c165af16afb93459dd753017e25afe5e9c42439af9e1f2e23e4aeb5d4cd3610a66dec80d63d1c5f71d2ef9f6817ad831a5e368e8aeda53e078d0137f67ae SHA512 1795072e0b416c9904e8769da2bfe08120ea2c55427bd6e7479c6d79bb5a1b25abe82c0ed2cf8b3d5f7a354e2f60b1251e9d1ed102d19b3c45c1cd34a5e8e6d0 |
29 |
|
30 |
diff --git a/media-video/noad/noad-0.8.8.ebuild b/media-video/noad/noad-0.8.8.ebuild |
31 |
new file mode 100644 |
32 |
index 000000000000..72ad06e5416b |
33 |
--- /dev/null |
34 |
+++ b/media-video/noad/noad-0.8.8.ebuild |
35 |
@@ -0,0 +1,69 @@ |
36 |
+# Copyright 2021-2023 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=8 |
40 |
+ |
41 |
+inherit autotools |
42 |
+ |
43 |
+DESCRIPTION="Mark commercial breaks in VDR recordings" |
44 |
+HOMEPAGE="https://github.com/madmartin/noad" |
45 |
+SRC_URI="https://github.com/madmartin/noad/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="GPL-2+" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+IUSE="+ffmpeg imagemagick libmpeg2" |
51 |
+REQUIRED_USE="|| ( ffmpeg libmpeg2 )" |
52 |
+ |
53 |
+DEPEND=" |
54 |
+ libmpeg2? ( media-libs/libmpeg2 ) |
55 |
+ ffmpeg? ( media-video/ffmpeg:= ) |
56 |
+ imagemagick? ( media-gfx/imagemagick:= )" |
57 |
+RDEPEND="${DEPEND}" |
58 |
+BDEPEND="virtual/pkgconfig" |
59 |
+ |
60 |
+src_prepare() { |
61 |
+ default |
62 |
+ eautoreconf |
63 |
+} |
64 |
+ |
65 |
+src_configure() { |
66 |
+ econf \ |
67 |
+ $(usev imagemagick --with-magick) \ |
68 |
+ $(usev !ffmpeg --without-ffmpeg) \ |
69 |
+ $(usev !libmpeg2 --without-libmpeg2) \ |
70 |
+ --with-tools |
71 |
+} |
72 |
+ |
73 |
+src_install() { |
74 |
+ dobin noad showindex checkMarks |
75 |
+ use imagemagick && dobin markpics |
76 |
+ |
77 |
+ dodoc README* INSTALL |
78 |
+ # example scripts are installed as dokumentation |
79 |
+ dodoc allnewnoad allnoad allnoadnice allnoaduncut checkAllMarks clearlogos noadcall.sh noadifnew stat2html statupd |
80 |
+ |
81 |
+ newconfd "${FILESDIR}"/confd_vdraddon.noad vdraddon.noad |
82 |
+ |
83 |
+ insinto /usr/share/vdr/record |
84 |
+ doins "${FILESDIR}"/record-50-noad.sh |
85 |
+ |
86 |
+ insinto /usr/share/vdr/shutdown |
87 |
+ doins "${FILESDIR}"/pre-shutdown-15-noad.sh |
88 |
+ |
89 |
+ insinto /etc/vdr/reccmds |
90 |
+ doins "${FILESDIR}"/reccmds.noad.conf |
91 |
+ |
92 |
+ exeinto /usr/share/vdr/bin |
93 |
+ doexe "${FILESDIR}"/noad-reccmd |
94 |
+} |
95 |
+ |
96 |
+pkg_postinst() { |
97 |
+ elog |
98 |
+ elog "To integrate noad in VDR you should do this:" |
99 |
+ elog |
100 |
+ elog "start and set Parameter in /etc/conf.d/vdraddon.noad" |
101 |
+ elog |
102 |
+ elog "Note: You can use here all parameters for noad," |
103 |
+ elog "please look in the documentation of noad." |
104 |
+} |