Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-video/kino: kino-1.3.3.ebuild ChangeLog
Date: Sun, 29 Mar 2009 13:39:44
Message-Id: E1LnvEk-0001ON-DB@stork.gentoo.org
1 patrick 09/03/29 13:39:42
2
3 Modified: ChangeLog
4 Added: kino-1.3.3.ebuild
5 Log:
6 Bump to 1.3.3. Fixed #257098. Added intltool dep.
7 (Portage version: 2.2_rc28/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.115 media-video/kino/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/kino/ChangeLog?rev=1.115&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/kino/ChangeLog?rev=1.115&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/kino/ChangeLog?r1=1.114&r2=1.115
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-video/kino/ChangeLog,v
19 retrieving revision 1.114
20 retrieving revision 1.115
21 diff -u -r1.114 -r1.115
22 --- ChangeLog 21 Dec 2008 14:44:31 -0000 1.114
23 +++ ChangeLog 29 Mar 2009 13:39:42 -0000 1.115
24 @@ -1,6 +1,11 @@
25 # ChangeLog for media-video/kino
26 -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-video/kino/ChangeLog,v 1.114 2008/12/21 14:44:31 nixnut Exp $
28 +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/media-video/kino/ChangeLog,v 1.115 2009/03/29 13:39:42 patrick Exp $
30 +
31 +*kino-1.3.3 (29 Mar 2009)
32 +
33 + 29 Mar 2009; Patrick Lauer <patrick@g.o> +kino-1.3.3.ebuild:
34 + Bump to 1.3.3. Fixed #257098. Added intltool dep.
35
36 21 Dec 2008; nixnut <nixnut@g.o> kino-1.3.1.ebuild:
37 Stable on ppc wrt bug 245524
38
39
40
41 1.1 media-video/kino/kino-1.3.3.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/kino/kino-1.3.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/kino/kino-1.3.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: kino-1.3.3.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-video/kino/kino-1.3.3.ebuild,v 1.1 2009/03/29 13:39:42 patrick Exp $
51
52 DESCRIPTION="Kino is a non-linear DV editor for GNU/Linux"
53 HOMEPAGE="http://www.kinodv.org/"
54 SRC_URI="mirror://sourceforge/kino/${P}.tar.gz"
55
56 LICENSE="GPL-2"
57 SLOT="0"
58 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
59 IUSE="alsa dvdr gpac lame gstreamer quicktime sox vorbis"
60
61 # This ebuild would benefit a lot of USE dependencies but that has to wait for
62 # EAPI 2. The usual fix is to issue built_with_use checks but in that particu-
63 # lar case it would make the ebuild rather complicated to write and maintain
64 # (certain features can be enabled in various different ways). Also it would
65 # also force the emerge process to stop a bit too often for users not to comp-
66 # lain. Thus, if you need features like theora, x264, xvid and maybe others,
67 # make sure you activate the required support where it should be (ffmpeg, mostly).
68
69 # Optional dependency on cinelerra-cvs (as a replacement for libquicktime)
70 # dropped because kino may run with it but won't build anymore.
71
72 DEPEND=">=x11-libs/gtk+-2.6.0
73 >=gnome-base/libglade-2.5.0
74 >=dev-libs/glib-2
75 x11-libs/libXv
76 dev-libs/libxml2
77 dev-util/intltool
78 media-libs/audiofile
79 >=sys-libs/libraw1394-1.0.0
80 >=sys-libs/libavc1394-0.4.1
81 >=media-libs/libdv-0.103
82 media-libs/libsamplerate
83 media-libs/libiec61883
84 alsa? ( >=media-libs/alsa-lib-1.0.9 )
85 >=media-video/ffmpeg-0.4.9_p20080326
86 quicktime? ( >=media-libs/libquicktime-0.9.5 )"
87 RDEPEND="${DEPEND}
88 media-video/mjpegtools
89 media-sound/rawrec
90 dvdr? ( media-video/dvdauthor
91 app-cdr/dvd+rw-tools )
92 gpac? ( media-video/gpac )
93 lame? ( media-sound/lame )
94 gstreamer? ( media-libs/gst-plugins-base )
95 sox? ( media-sound/sox )
96 vorbis? ( media-sound/vorbis-tools )"
97
98 src_unpack() {
99 unpack ${A}
100 cd "${S}"
101
102 # Fix to link with --as-needed
103 sed -i -e 's:LIBS="-lXext:LIBS="-lXext -lX11:' configure || die "sed failed"
104
105 # Deactivating automagic alsa configuration, bug #134725
106 if ! use alsa ; then
107 sed -i -e "s:HAVE_ALSA 1:HAVE_ALSA 0:" configure || die "sed failed"
108 fi
109
110 # Fix bug #169590
111 sed -i \
112 -e '/\$(LIBQUICKTIME_LIBS) \\/d' \
113 -e '/^[[:space:]]*\$(SRC_LIBS)/ a\
114 \$(LIBQUICKTIME_LIBS) \\' \
115 src/Makefile.in || die "sed failed"
116
117 # Fix bug #172687
118 sed -i \
119 -e 's/^install-exec-local:/install-exec-local: install-binPROGRAMS/' \
120 src/Makefile.in || die "sed failed"
121
122 # Fix test failure discovered in bug #193947
123 sed -i -e '$a\
124 \
125 ffmpeg/libavcodec/ps2/idct_mmi.c\
126 ffmpeg/libavcodec/sparc/dsputil_vis.c\
127 ffmpeg/libavcodec/sparc/vis.h\
128 ffmpeg/libavutil/bswap.h\
129 ffmpeg/libswscale/yuv2rgb_template.c\
130 src/export.h\
131 src/message.cc\
132 src/page_bttv.cc' po/POTFILES.in || die "sed failed"
133
134 sed -i -e 's:^#include <quicktime.h>:#include <lqt/quicktime.h>:' \
135 src/filehandler.h || die "sed failed"
136
137 # Fix compilation with gcc-4.3, see bug #215160
138 sed -i -e '/C++ includes/ a\
139 #include <algorithm>' src/playlist.cc || die "sed failed"
140 }
141
142 src_compile() {
143 econf \
144 --disable-dependency-tracking \
145 --disable-local-ffmpeg \
146 $(use_enable quicktime) \
147 $(use_with sparc dv1394) \
148 CPPFLAGS="-I${ROOT}usr/include/libavcodec -I${ROOT}usr/include/libavformat -I${ROOT}usr/include/libswscale" \
149 || die "Configuration failed"
150 emake || die "Compilation failed"
151 }
152
153 src_install() {
154 emake DESTDIR="${D}" install || die "Installation failed"
155 dodoc AUTHORS BUGS ChangeLog NEWS README* TODO
156 # Fix bug #177378
157 fowners root:root -R /usr/share/kino/help
158 }