Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/noad/
Date: Tue, 22 Jun 2021 18:29:10
Message-Id: 1624386528.ad15bc6a97f618a8d40075625338bceed48a9a4a.sam@gentoo
1 commit: ad15bc6a97f618a8d40075625338bceed48a9a4a
2 Author: Martin Dummer <martin.dummer <AT> gmx <DOT> net>
3 AuthorDate: Tue Jun 22 05:10:59 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 22 18:28:48 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad15bc6a
7
8 media-video/noad: version bump to 0.8.7
9
10 new upstream version, insert available patches into main,
11 many compiler fixes
12
13 Closes: https://bugs.gentoo.org/717708
14 Closes: https://bugs.gentoo.org/731098
15 Closes: https://bugs.gentoo.org/787143
16 Package-Manager: Portage-3.0.20, Repoman-3.0.3
17 Signed-off-by: Martin Dummer <martin.dummer <AT> gmx.net>
18 Closes: https://github.com/gentoo/gentoo/pull/21368
19 Signed-off-by: Sam James <sam <AT> gentoo.org>
20
21 media-video/noad/Manifest | 1 +
22 media-video/noad/metadata.xml | 13 ++++++-
23 media-video/noad/noad-0.8.7.ebuild | 70 ++++++++++++++++++++++++++++++++++++++
24 3 files changed, 83 insertions(+), 1 deletion(-)
25
26 diff --git a/media-video/noad/Manifest b/media-video/noad/Manifest
27 index 3de2a08bc1b..b740f92e6bd 100644
28 --- a/media-video/noad/Manifest
29 +++ b/media-video/noad/Manifest
30 @@ -1,3 +1,4 @@
31 DIST noad-0.8.6-ffmpeg3.4.diff.bz2 6261 BLAKE2B 4c1de8b72c9b25a056cabb5a74b4d9bbc42f6586b4e2166bf2cf5ac76d7617df3318a4a4b21fa5dbfb601e2f9bacc7bd2d8b54705750a2d761c5a73c5c745578 SHA512 f7b4879902e2344099ef337094fc8be1c4322d2fa1ed5d7c275adfed9dfcc1644cc18743191ffd4daaa44a83cf3936a8dd8a978c66aaeae18a38c6164a608b02
32 DIST noad-0.8.6.tar.bz2 188085 BLAKE2B fa9ae43984509f6da17028cda11f69dae0a74afcabe8daaaf2661d9791229bf1d5374b26abbcc9cd8f887b42c188a0d4871ae059dabac3b9bb9175533f096100 SHA512 ffca9e8bc78719350ffdfe59a4f258033f843ddf761ca5d8893cde5a4968a644c0318fd86b60e7b9e78b0650f8f02c68e6f7a95f4dfb702ab30d84ad3750c9e9
33 DIST noad-0.8.6.tar.gz 226169 BLAKE2B c8aa44a868a7592b66a94a58065df5b3dc19562bf6bfb946fe60acebd2ea9f9090750836368bc6aeecf2fbd9938b0ec3f653d7908d3b34f27c3362fcea48e445 SHA512 abec49ea7d4dc4233d42bd42ba267bc7b235aace1597c5cd3dcbb7b4ede00c3778eaa2a0d8697fca4caf2b0ca94b540b87a862523a3028eb5cfe84db3c460ede
34 +DIST noad-0.8.7.tar.gz 144339 BLAKE2B e7492f63e7326cdced041332e05051a6bda2e92798f4b694ff626e65306d6ebe606f871eabc37df1613677c2f739b3caed033b443cbe7edce913b83a0365e3e5 SHA512 fa1d0226144175de586f938a594fe0a3c0b8a924a258f1406cf52078d5e6d84f46ae685ee3c9f3ce28e62f9eee719d6a938504e39a6b3b9c96043f4bd4aaf69d
35
36 diff --git a/media-video/noad/metadata.xml b/media-video/noad/metadata.xml
37 index 90724bd3783..ec802ef34b0 100644
38 --- a/media-video/noad/metadata.xml
39 +++ b/media-video/noad/metadata.xml
40 @@ -1,6 +1,14 @@
41 <?xml version="1.0" encoding="UTF-8"?>
42 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
43 <pkgmetadata>
44 + <maintainer type="person" proxied="yes">
45 + <email>martin.dummer@×××.net</email>
46 + <name>Martin Dummer</name>
47 + </maintainer>
48 + <maintainer type="project" proxied="proxy">
49 + <email>proxy-maint@g.o</email>
50 + <name>Proxy Maintainers</name>
51 + </maintainer>
52 <maintainer type="project">
53 <email>vdr@g.o</email>
54 <name>Gentoo VDR Project</name>
55 @@ -9,7 +17,10 @@
56 <email>media-video@g.o</email>
57 <name>Gentoo Video project</name>
58 </maintainer>
59 + <upstream>
60 + <remote-id type="github"> madmartin/noad</remote-id>
61 + </upstream>
62 <use>
63 - <flag name="libmpeg2">Build support for mpeg2 over media-libs/libmpeg2 rather than using ffmpeg</flag>
64 + <flag name="libmpeg2">Build support for mpeg2 through <pkg>media-libs/libmpeg2</pkg> rather than using <pkg>media-video/ffmpeg</pkg></flag>
65 </use>
66 </pkgmetadata>
67
68 diff --git a/media-video/noad/noad-0.8.7.ebuild b/media-video/noad/noad-0.8.7.ebuild
69 new file mode 100644
70 index 00000000000..1b5132feec4
71 --- /dev/null
72 +++ b/media-video/noad/noad-0.8.7.ebuild
73 @@ -0,0 +1,70 @@
74 +# Copyright 2021 Gentoo Authors
75 +# Distributed under the terms of the GNU General Public License v2
76 +
77 +EAPI=7
78 +
79 +inherit autotools toolchain-funcs
80 +
81 +DESCRIPTION="Mark commercial breaks in VDR recordings"
82 +HOMEPAGE="https://github.com/madmartin/noad"
83 +SRC_URI="https://github.com/madmartin/noad/archive/v${PV}.tar.gz -> ${P}.tar.gz"
84 +
85 +LICENSE="GPL-2+"
86 +SLOT="0"
87 +KEYWORDS="~amd64 ~x86"
88 +IUSE="+ffmpeg imagemagick libmpeg2"
89 +
90 +BDEPEND="virtual/pkgconfig"
91 +DEPEND="
92 + libmpeg2? ( media-libs/libmpeg2:= )
93 + ffmpeg? ( media-video/ffmpeg )
94 + imagemagick? ( media-gfx/imagemagick )"
95 +RDEPEND="${DEPEND}"
96 +
97 +REQUIRED_USE="|| ( ffmpeg libmpeg2 )"
98 +
99 +src_prepare() {
100 + default
101 + eautoreconf
102 +}
103 +
104 +src_configure() {
105 + econf \
106 + $(usex imagemagick '--with-magick') \
107 + $(usex ffmpeg '' '--without-ffmpeg') \
108 + $(usex libmpeg2 '' '--without-libmpeg2') \
109 + --with-tools
110 +}
111 +
112 +src_install() {
113 + dobin noad showindex checkMarks
114 + use imagemagick && dobin markpics
115 +
116 + dodoc README* INSTALL
117 + # example scripts are installed as dokumentation
118 + dodoc allnewnoad allnoad allnoadnice allnoaduncut checkAllMarks clearlogos noadcall.sh noadifnew stat2html statupd
119 +
120 + newconfd "${FILESDIR}"/confd_vdraddon.noad vdraddon.noad
121 +
122 + insinto /usr/share/vdr/record
123 + doins "${FILESDIR}"/record-50-noad.sh
124 +
125 + insinto /usr/share/vdr/shutdown
126 + doins "${FILESDIR}"/pre-shutdown-15-noad.sh
127 +
128 + insinto /etc/vdr/reccmds
129 + doins "${FILESDIR}"/reccmds.noad.conf
130 +
131 + exeinto /usr/share/vdr/bin
132 + doexe "${FILESDIR}"/noad-reccmd
133 +}
134 +
135 +pkg_postinst() {
136 + elog
137 + elog "To integrate noad in VDR you should do this:"
138 + elog
139 + elog "start and set Parameter in /etc/conf.d/vdraddon.noad"
140 + elog
141 + elog "Note: You can use here all parameters for noad,"
142 + elog "please look in the documentation of noad."
143 +}