diff options
author | Denis Dupeyron <calchan@gentoo.org> | 2008-08-16 17:42:41 +0000 |
---|---|---|
committer | Denis Dupeyron <calchan@gentoo.org> | 2008-08-16 17:42:41 +0000 |
commit | a78b51c8d917218d8899b1ec938c75d4c4245d6b (patch) | |
tree | 2e9e49993869c4ee8499924b630b942eaf8f79ef /media-video | |
parent | Remove strerror from metadata.xml (#89719) (diff) | |
download | gentoo-2-a78b51c8d917218d8899b1ec938c75d4c4245d6b.tar.gz gentoo-2-a78b51c8d917218d8899b1ec938c75d4c4245d6b.tar.bz2 gentoo-2-a78b51c8d917218d8899b1ec938c75d4c4245d6b.zip |
Version bump.
(Portage version: 2.2_rc8/cvs/Linux 2.6.25-gentoo-r6 i686)
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/kino/ChangeLog | 7 | ||||
-rw-r--r-- | media-video/kino/kino-1.3.1.ebuild | 110 |
2 files changed, 116 insertions, 1 deletions
diff --git a/media-video/kino/ChangeLog b/media-video/kino/ChangeLog index eea05d88ff61..39778d960b4c 100644 --- a/media-video/kino/ChangeLog +++ b/media-video/kino/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-video/kino # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/kino/ChangeLog,v 1.107 2008/06/20 17:08:20 calchan Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/kino/ChangeLog,v 1.108 2008/08/16 17:42:41 calchan Exp $ + +*kino-1.3.1 (16 Aug 2008) + + 16 Aug 2008; Denis Dupeyron <calchan@gentoo.org> +kino-1.3.1.ebuild: + Version bump. 20 Jun 2008; Denis Dupeyron <calchan@gentoo.org> kino-1.2.0.ebuild: Bug #215160, again. diff --git a/media-video/kino/kino-1.3.1.ebuild b/media-video/kino/kino-1.3.1.ebuild new file mode 100644 index 000000000000..75112d409e64 --- /dev/null +++ b/media-video/kino/kino-1.3.1.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/kino/kino-1.3.1.ebuild,v 1.1 2008/08/16 17:42:41 calchan Exp $ + +DESCRIPTION="Kino is a non-linear DV editor for GNU/Linux" +HOMEPAGE="http://www.kinodv.org/" +SRC_URI="mirror://sourceforge/kino/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="alsa dvdr gpac lame gstreamer quicktime sox vorbis" + +# This ebuild would benefit a lot of USE dependencies but that has to wait for +# EAPI 2. The usual fix is to issue built_with_use checks but in that particu- +# lar case it would make the ebuild rather complicated to write and maintain +# (certain features can be enabled in various different ways). Also it would +# also force the emerge process to stop a bit too often for users not to comp- +# lain. Thus, if you need features like theora, x264, xvid and maybe others, +# make sure you activate the required support where it should be (ffmpeg, mostly). + +# Optional dependency on cinelerra-cvs (as a replacement for libquicktime) +# dropped because kino may run with it but won't build anymore. + +DEPEND=">=x11-libs/gtk+-2.6.0 + >=gnome-base/libglade-2.5.0 + >=dev-libs/glib-2 + x11-libs/libXv + dev-libs/libxml2 + media-libs/audiofile + >=sys-libs/libraw1394-1.0.0 + >=sys-libs/libavc1394-0.4.1 + >=media-libs/libdv-0.103 + media-libs/libsamplerate + media-libs/libiec61883 + alsa? ( >=media-libs/alsa-lib-1.0.9 ) + >=media-video/ffmpeg-0.4.9_p20061016 + quicktime? ( >=media-libs/libquicktime-0.9.5 )" +RDEPEND="${DEPEND} + media-video/mjpegtools + media-sound/rawrec + dvdr? ( media-video/dvdauthor + app-cdr/dvd+rw-tools ) + gpac? ( media-video/gpac ) + lame? ( media-sound/lame ) + gstreamer? ( media-libs/gst-plugins-base ) + sox? ( media-sound/sox ) + vorbis? ( media-sound/vorbis-tools )" + +src_unpack() { + unpack ${A} + cd "${S}" + + # Fix to link with --as-needed + sed -i -e 's:LIBS="-lXext:LIBS="-lXext -lX11:' configure || die "sed failed" + + # Deactivating automagic alsa configuration, bug #134725 + if ! use alsa ; then + sed -i -e "s:HAVE_ALSA 1:HAVE_ALSA 0:" configure || die "sed failed" + fi + + # Fix bug #169590 + sed -i \ + -e '/\$(LIBQUICKTIME_LIBS) \\/d' \ + -e '/^[[:space:]]*\$(SRC_LIBS)/ a\ + \$(LIBQUICKTIME_LIBS) \\' \ + src/Makefile.in || die "sed failed" + + # Fix bug #172687 + sed -i \ + -e 's/^install-exec-local:/install-exec-local: install-binPROGRAMS/' \ + src/Makefile.in || die "sed failed" + + # Fix test failure discovered in bug #193947 + sed -i -e '$a\ +\ +ffmpeg/libavcodec/ps2/idct_mmi.c\ +ffmpeg/libavcodec/sparc/dsputil_vis.c\ +ffmpeg/libavcodec/sparc/vis.h\ +ffmpeg/libavutil/bswap.h\ +ffmpeg/libswscale/yuv2rgb_template.c\ +src/export.h\ +src/message.cc\ +src/page_bttv.cc' po/POTFILES.in || die "sed failed" + + sed -i -e 's:^#include <quicktime.h>:#include <lqt/quicktime.h>:' \ + src/filehandler.h || die "sed failed" + + # Fix compilation with gcc-4.3, see bug #215160 + sed -i -e '/C++ includes/ a\ +#include <algorithm>' src/playlist.cc || die "sed failed" +} + +src_compile() { + econf \ + --disable-dependency-tracking \ + --disable-local-ffmpeg \ + $(use_enable quicktime) \ + $(use_with sparc dv1394) \ + CPPFLAGS="-I${ROOT}usr/include/libavcodec -I${ROOT}usr/include/libavformat -I${ROOT}usr/include/libswscale" \ + || die "Configuration failed" + emake || die "Compilation failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "Installation failed" + dodoc AUTHORS BUGS ChangeLog NEWS README* TODO + # Fix bug #177378 + fowners root:root -R /usr/share/kino/help +} |