1 |
hd_brummy 10/09/05 17:43:18 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: noad-0.7.2-r1.ebuild |
5 |
Log: |
6 |
fix for new svdrp port 6419, used in >=vdr-1.7.15 |
7 |
(Portage version: 2.1.8.3/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.45 media-video/noad/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/noad/ChangeLog?rev=1.45&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/noad/ChangeLog?rev=1.45&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/noad/ChangeLog?r1=1.44&r2=1.45 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-video/noad/ChangeLog,v |
19 |
retrieving revision 1.44 |
20 |
retrieving revision 1.45 |
21 |
diff -u -r1.44 -r1.45 |
22 |
--- ChangeLog 16 Jun 2010 14:19:32 -0000 1.44 |
23 |
+++ ChangeLog 5 Sep 2010 17:43:18 -0000 1.45 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for media-video/noad |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/noad/ChangeLog,v 1.44 2010/06/16 14:19:32 aballier Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/noad/ChangeLog,v 1.45 2010/09/05 17:43:18 hd_brummy Exp $ |
29 |
+ |
30 |
+*noad-0.7.2-r1 (05 Sep 2010) |
31 |
+ |
32 |
+ 05 Sep 2010; Joerg Bornkessel <hd_brummy@g.o> |
33 |
+ files/0.7.1/confd_vdraddon.noad, +noad-0.7.2-r1.ebuild: |
34 |
+ fix for new svdrp port 6419, used in >=vdr-1.7.15 |
35 |
|
36 |
16 Jun 2010; Alexis Ballier <aballier@g.o> |
37 |
+files/patches-0.7.x/noad-0.7.2-cflags.patch, noad-0.7.2.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 media-video/noad/noad-0.7.2-r1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/noad/noad-0.7.2-r1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/noad/noad-0.7.2-r1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: noad-0.7.2-r1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2010 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/media-video/noad/noad-0.7.2-r1.ebuild,v 1.1 2010/09/05 17:43:18 hd_brummy Exp $ |
51 |
|
52 |
EAPI="2" |
53 |
|
54 |
inherit eutils flag-o-matic autotools |
55 |
|
56 |
DESCRIPTION="Mark commercial Breaks in VDR records" |
57 |
HOMEPAGE="http://noad.heliohost.org/" |
58 |
SRC_URI="http://noad.heliohost.org/${P}.tar.bz2" |
59 |
|
60 |
LICENSE="GPL-2" |
61 |
SLOT="0" |
62 |
KEYWORDS="~amd64 ~x86" |
63 |
IUSE="ffmpeg imagemagick" |
64 |
|
65 |
DEPEND="media-libs/libmpeg2 |
66 |
ffmpeg? ( >=media-video/ffmpeg-0.4.8 ) |
67 |
imagemagick? ( >=media-gfx/imagemagick-6.2.4.2-r1 )" |
68 |
|
69 |
src_prepare() { |
70 |
|
71 |
epatch "${FILESDIR}"/patches-0.7.x/"${P}"-hangcheck.diff |
72 |
epatch "${FILESDIR}"/patches-0.7.x/"${P}"-cflags.patch |
73 |
eautoreconf |
74 |
# UINT64_C is needed by ffmpeg headers |
75 |
append-flags -D__STDC_CONSTANT_MACROS |
76 |
|
77 |
if has_version ">=media-video/vdr-1.5.17"; then |
78 |
sed -e "s:2001:6419:" -i svdrpc.cpp |
79 |
fi |
80 |
} |
81 |
|
82 |
src_configure() { |
83 |
|
84 |
local=myconf |
85 |
use ffmpeg && myconf="--with-ffmpeg --with-ffmpeginclude=/usr/include" |
86 |
|
87 |
econf \ |
88 |
${myconf} \ |
89 |
$(use_with imagemagick magick) \ |
90 |
--with-mpeginclude=/usr/include/mpeg2dec |
91 |
# --with-tools # fails on showindex, marcpics compile |
92 |
} |
93 |
|
94 |
src_install() { |
95 |
|
96 |
dobin noad |
97 |
# fix me later! |
98 |
# dobin noad showindex |
99 |
# use imagemagick && dobin markpics |
100 |
|
101 |
dodoc README INSTALL |
102 |
# example scripts are installed as dokumentation |
103 |
dodoc allnewnoad allnoad allnoadnice clearlogos noadifnew stat2html |
104 |
|
105 |
CONF_SOURCE="${FILESDIR}/0.7.1" |
106 |
newconfd "${CONF_SOURCE}"/confd_vdraddon.noad vdraddon.noad |
107 |
|
108 |
insinto /usr/share/vdr/record |
109 |
doins "${CONF_SOURCE}"/record-50-noad.sh |
110 |
|
111 |
insinto /usr/share/vdr/shutdown |
112 |
doins "${FILESDIR}"/pre-shutdown-15-noad.sh |
113 |
|
114 |
insinto /etc/vdr/reccmds |
115 |
doins "${CONF_SOURCE}"/reccmds.noad.conf |
116 |
|
117 |
exeinto /usr/share/vdr/bin |
118 |
doexe "${CONF_SOURCE}"/noad-reccmd |
119 |
} |
120 |
|
121 |
pkg_postinst() { |
122 |
|
123 |
elog |
124 |
elog "Congratulations, you have just installed noad!," |
125 |
elog "To integrate noad in VDR you should do this:" |
126 |
elog |
127 |
elog "start and set Parameter in /etc/conf.d/vdraddon.noad" |
128 |
elog |
129 |
elog "Note: You can use here all pararmeters for noad," |
130 |
elog "please look in the documentation of noad." |
131 |
} |