1 |
ssuominen 13/03/29 09:41:14 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: noad-0.7.3-r1.ebuild |
5 |
Log: |
6 |
Enable building marcpics utility because there was no need to disable both, marcpics and showindex when only showindex fails to compile. Remove redudant append-flags -D__STDC_CONSTANT_MACROS because -D__STDC_CONSTANT_MACROS is part of upstream configure.ac. Fix building with recent libc wrt #425288 by Markus Rathgeb and Diego Elio Pettenò. Respect environment CXXFLAGS wrt #426746 by Diego Elio Pettenò. |
7 |
|
8 |
(Portage version: 2.2.0_alpha169/cvs/Linux x86_64, signed Manifest commit with key 4868F14D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.55 media-video/noad/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/noad/ChangeLog?rev=1.55&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/noad/ChangeLog?rev=1.55&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/noad/ChangeLog?r1=1.54&r2=1.55 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-video/noad/ChangeLog,v |
20 |
retrieving revision 1.54 |
21 |
retrieving revision 1.55 |
22 |
diff -u -r1.54 -r1.55 |
23 |
--- ChangeLog 5 Jul 2012 15:41:01 -0000 1.54 |
24 |
+++ ChangeLog 29 Mar 2013 09:41:14 -0000 1.55 |
25 |
@@ -1,6 +1,17 @@ |
26 |
# ChangeLog for media-video/noad |
27 |
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/noad/ChangeLog,v 1.54 2012/07/05 15:41:01 hd_brummy Exp $ |
29 |
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/noad/ChangeLog,v 1.55 2013/03/29 09:41:14 ssuominen Exp $ |
31 |
+ |
32 |
+*noad-0.7.3-r1 (29 Mar 2013) |
33 |
+ |
34 |
+ 29 Mar 2013; Samuli Suominen <ssuominen@g.o> |
35 |
+ +files/patches-0.7.x/noad-0.7.3_missing_include.diff, +noad-0.7.3-r1.ebuild: |
36 |
+ Enable building marcpics utility because there was no need to disable both, |
37 |
+ marcpics and showindex when only showindex fails to compile. Remove redudant |
38 |
+ append-flags -D__STDC_CONSTANT_MACROS because -D__STDC_CONSTANT_MACROS is |
39 |
+ part of upstream configure.ac. Fix building with recent libc wrt #425288 by |
40 |
+ Markus Rathgeb and Diego Elio Pettenò. Respect environment CXXFLAGS wrt |
41 |
+ #426746 by Diego Elio Pettenò. |
42 |
|
43 |
05 Jul 2012; Joerg Bornkessel <hd_brummy@g.o> noad-0.7.3.ebuild: |
44 |
typo |
45 |
|
46 |
|
47 |
|
48 |
1.1 media-video/noad/noad-0.7.3-r1.ebuild |
49 |
|
50 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/noad/noad-0.7.3-r1.ebuild?rev=1.1&view=markup |
51 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/noad/noad-0.7.3-r1.ebuild?rev=1.1&content-type=text/plain |
52 |
|
53 |
Index: noad-0.7.3-r1.ebuild |
54 |
=================================================================== |
55 |
# Copyright 1999-2013 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
# $Header: /var/cvsroot/gentoo-x86/media-video/noad/noad-0.7.3-r1.ebuild,v 1.1 2013/03/29 09:41:14 ssuominen Exp $ |
58 |
|
59 |
EAPI=5 |
60 |
inherit autotools eutils |
61 |
|
62 |
DESCRIPTION="Mark commercial Breaks in VDR records" |
63 |
HOMEPAGE="http://noad.heliohost.org/" |
64 |
SRC_URI="http://noad.heliohost.org/${P}.tar.bz2" |
65 |
|
66 |
LICENSE="GPL-2" |
67 |
SLOT="0" |
68 |
KEYWORDS="~amd64 ~x86" |
69 |
IUSE="ffmpeg imagemagick" |
70 |
|
71 |
DEPEND="media-libs/libmpeg2:= |
72 |
ffmpeg? ( virtual/ffmpeg ) |
73 |
imagemagick? ( media-gfx/imagemagick:= ) |
74 |
!media-plugins/vdr-markad" |
75 |
RDEPEND="${DEPEND}" |
76 |
|
77 |
src_prepare() { |
78 |
EPATCH_FORCE=yes EPATCH_SUFFIX=diff EPATCH_SOURCE="${FILESDIR}"/patches-${PV%.*}.x epatch |
79 |
|
80 |
if has_version '>=media-video/vdr-1.7.15'; then |
81 |
sed -i -e 's:2001:6419:' -i svdrpc.cpp || die |
82 |
fi |
83 |
|
84 |
sed -i -e '/CXXFLAGS.*O3/d' configure.ac || die #426746 |
85 |
|
86 |
# FIXME: --with-tools, markpics will compile but showindex won't! |
87 |
sed -i \ |
88 |
-e '/^noinst_PROGRAMS/s:@TOOLSRC@::' \ |
89 |
-e '/^EXTRA_PROGRAMS/s:showindex::' \ |
90 |
Makefile.am || die |
91 |
|
92 |
eautoreconf |
93 |
} |
94 |
|
95 |
src_configure() { |
96 |
econf \ |
97 |
$(use_with imagemagick magick) \ |
98 |
--with-mpeginclude=/usr/include/mpeg2dec \ |
99 |
--with-tools \ |
100 |
$(usex ffmpeg '--with-ffmpeg --with-ffmpeginclude=/usr/include' '') |
101 |
} |
102 |
|
103 |
src_install() { |
104 |
dobin noad # showindex |
105 |
use imagemagick && dobin markpics |
106 |
|
107 |
dodoc README INSTALL |
108 |
# example scripts are installed as dokumentation |
109 |
dodoc allnewnoad allnoad allnoadnice clearlogos noadifnew stat2html |
110 |
|
111 |
newconfd "${FILESDIR}"/confd_vdraddon.noad vdraddon.noad |
112 |
|
113 |
insinto /usr/share/vdr/record |
114 |
doins "${FILESDIR}"/record-50-noad.sh |
115 |
|
116 |
insinto /usr/share/vdr/shutdown |
117 |
doins "${FILESDIR}"/pre-shutdown-15-noad.sh |
118 |
|
119 |
insinto /etc/vdr/reccmds |
120 |
doins "${FILESDIR}"/reccmds.noad.conf |
121 |
|
122 |
exeinto /usr/share/vdr/bin |
123 |
doexe "${FILESDIR}"/noad-reccmd |
124 |
} |
125 |
|
126 |
pkg_postinst() { |
127 |
elog |
128 |
elog "To integrate noad in VDR you should do this:" |
129 |
elog |
130 |
elog "start and set Parameter in /etc/conf.d/vdraddon.noad" |
131 |
elog |
132 |
elog "Note: You can use here all pararmeters for noad," |
133 |
elog "please look in the documentation of noad." |
134 |
} |