Gentoo Archives: gentoo-commits

From: "Jörg Bornkessel" <hd_brummy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/noad/
Date: Thu, 23 Jan 2020 20:33:43
Message-Id: 1579811605.25d7e7d79368b7625221486d1d32f5c515901854.hd_brummy@gentoo
1 commit: 25d7e7d79368b7625221486d1d32f5c515901854
2 Author: Joerg Bornkessel <hd_brummy <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 23 20:31:52 2020 +0000
4 Commit: Jörg Bornkessel <hd_brummy <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 23 20:33:25 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25d7e7d7
7
8 media-video/noad: license, dead homepage, src_uri fixed
9
10 sources are not available by upstream anymore
11 Martin Dummer has pickupded the sources and added to git hub
12 this is a community managed project now
13
14 Closes: https://bugs.gentoo.org/682394
15 Package-Manager: Portage-2.3.84, Repoman-2.3.20
16 Signed-off-by: Joerg Bornkessel <hd_brummy <AT> gentoo.org>
17
18 media-video/noad/Manifest | 1 +
19 media-video/noad/noad-0.8.6-r4.ebuild | 79 +++++++++++++++++++++++++++++++++++
20 2 files changed, 80 insertions(+)
21
22 diff --git a/media-video/noad/Manifest b/media-video/noad/Manifest
23 index 8722aadf4f8..3de2a08bc1b 100644
24 --- a/media-video/noad/Manifest
25 +++ b/media-video/noad/Manifest
26 @@ -1,2 +1,3 @@
27 DIST noad-0.8.6-ffmpeg3.4.diff.bz2 6261 BLAKE2B 4c1de8b72c9b25a056cabb5a74b4d9bbc42f6586b4e2166bf2cf5ac76d7617df3318a4a4b21fa5dbfb601e2f9bacc7bd2d8b54705750a2d761c5a73c5c745578 SHA512 f7b4879902e2344099ef337094fc8be1c4322d2fa1ed5d7c275adfed9dfcc1644cc18743191ffd4daaa44a83cf3936a8dd8a978c66aaeae18a38c6164a608b02
28 DIST noad-0.8.6.tar.bz2 188085 BLAKE2B fa9ae43984509f6da17028cda11f69dae0a74afcabe8daaaf2661d9791229bf1d5374b26abbcc9cd8f887b42c188a0d4871ae059dabac3b9bb9175533f096100 SHA512 ffca9e8bc78719350ffdfe59a4f258033f843ddf761ca5d8893cde5a4968a644c0318fd86b60e7b9e78b0650f8f02c68e6f7a95f4dfb702ab30d84ad3750c9e9
29 +DIST noad-0.8.6.tar.gz 226169 BLAKE2B c8aa44a868a7592b66a94a58065df5b3dc19562bf6bfb946fe60acebd2ea9f9090750836368bc6aeecf2fbd9938b0ec3f653d7908d3b34f27c3362fcea48e445 SHA512 abec49ea7d4dc4233d42bd42ba267bc7b235aace1597c5cd3dcbb7b4ede00c3778eaa2a0d8697fca4caf2b0ca94b540b87a862523a3028eb5cfe84db3c460ede
30
31 diff --git a/media-video/noad/noad-0.8.6-r4.ebuild b/media-video/noad/noad-0.8.6-r4.ebuild
32 new file mode 100644
33 index 00000000000..170684dc966
34 --- /dev/null
35 +++ b/media-video/noad/noad-0.8.6-r4.ebuild
36 @@ -0,0 +1,79 @@
37 +# Copyright 1999-2020 Gentoo Authors
38 +# Distributed under the terms of the GNU General Public License v2
39 +
40 +EAPI=7
41 +
42 +inherit autotools toolchain-funcs
43 +
44 +DESCRIPTION="Mark commercial breaks in VDR recordings"
45 +HOMEPAGE="https://github.com/madmartin/noad"
46 +SRC_URI="https://github.com/madmartin/noad/archive/v0.8.6.tar.gz -> ${P}.tar.gz
47 + http://vdr.websitec.de/download/${PN}/${P}-ffmpeg3.4.diff.bz2"
48 +
49 +LICENSE="GPL-2+"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~x86"
52 +IUSE="+ffmpeg imagemagick libmpeg2"
53 +
54 +RDEPEND="
55 + libmpeg2? ( media-libs/libmpeg2:= )
56 + ffmpeg? ( virtual/ffmpeg )
57 + imagemagick? ( media-gfx/imagemagick )"
58 +DEPEND="${RDEPEND}
59 + virtual/pkgconfig"
60 +
61 +REQUIRED_USE="|| ( ffmpeg libmpeg2 )"
62 +
63 +src_prepare() {
64 + default
65 +
66 + #compile tested libav-13, ffmepg-3.4
67 + eapply "${WORKDIR}/${P}-ffmpeg3.4.diff"
68 +
69 + eautoreconf
70 +}
71 +
72 +src_configure() {
73 + econf \
74 + $(usex imagemagick '--with-magick') \
75 + $(usex ffmpeg '' '--without-ffmpeg') \
76 + $(usex libmpeg2 '' '--without-libmpeg2') \
77 + --with-tools
78 +}
79 +
80 +src_compile() {
81 + emake AR="$(tc-getAR)" # see bug #469810
82 +}
83 +
84 +src_install() {
85 + dobin noad showindex checkMarks
86 + use imagemagick && dobin markpics
87 +
88 + dodoc README INSTALL
89 + # example scripts are installed as dokumentation
90 + dodoc allnewnoad allnoad allnoadnice clearlogos noadcall.sh noadifnew stat2html statupd
91 +
92 + newconfd "${FILESDIR}"/confd_vdraddon.noad vdraddon.noad
93 +
94 + insinto /usr/share/vdr/record
95 + doins "${FILESDIR}"/record-50-noad.sh
96 +
97 + insinto /usr/share/vdr/shutdown
98 + doins "${FILESDIR}"/pre-shutdown-15-noad.sh
99 +
100 + insinto /etc/vdr/reccmds
101 + doins "${FILESDIR}"/reccmds.noad.conf
102 +
103 + exeinto /usr/share/vdr/bin
104 + doexe "${FILESDIR}"/noad-reccmd
105 +}
106 +
107 +pkg_postinst() {
108 + elog
109 + elog "To integrate noad in VDR you should do this:"
110 + elog
111 + elog "start and set Parameter in /etc/conf.d/vdraddon.noad"
112 + elog
113 + elog "Note: You can use here all parameters for noad,"
114 + elog "please look in the documentation of noad."
115 +}