From 1e854923fe3fc426bad8f0ecff620dfc61866b30 Mon Sep 17 00:00:00 2001 From: Daniel Goller Date: Tue, 28 Mar 2006 07:03:02 +0000 Subject: [PATCH] Added ~ppc keyword Package-Manager: portage-2.1_pre5-r2 --- media-video/kino/ChangeLog | 11 +++- media-video/kino/Manifest | 46 +++++++++----- media-video/kino/files/digest-kino-0.8.0 | 3 + .../kino/files/kino-0.8.0-configure-in.diff | 63 +++++++++++++++++++ .../kino/files/kino-0.8.0-configure.diff | 12 ++++ media-video/kino/kino-0.8.0.ebuild | 60 ++++++++++++++++++ 6 files changed, 179 insertions(+), 16 deletions(-) create mode 100644 media-video/kino/files/digest-kino-0.8.0 create mode 100644 media-video/kino/files/kino-0.8.0-configure-in.diff create mode 100644 media-video/kino/files/kino-0.8.0-configure.diff create mode 100644 media-video/kino/kino-0.8.0.ebuild diff --git a/media-video/kino/ChangeLog b/media-video/kino/ChangeLog index d2192b5d6a4e..59339d74f229 100644 --- a/media-video/kino/ChangeLog +++ b/media-video/kino/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-video/kino -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/kino/ChangeLog,v 1.33 2005/05/21 10:50:19 luckyduck Exp $ +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/kino/ChangeLog,v 1.34 2006/03/28 07:03:02 morfic Exp $ + +*kino-0.8.0 (28 Mar 2006) + + 28 Mar 2006; Daniel Goller + +files/kino-0.8.0-configure.diff, +files/kino-0.8.0-configure-in.diff, + +kino-0.8.0.ebuild: + Bump to 0.8.0, closing bug #113923, thanks to all contributors on this bug 21 May 2005; Jan Brinkmann +files/kino-0.7.6-configure.diff, kino-0.7.6.ebuild: diff --git a/media-video/kino/Manifest b/media-video/kino/Manifest index e917b7c31cff..4f88e30a82cd 100644 --- a/media-video/kino/Manifest +++ b/media-video/kino/Manifest @@ -1,18 +1,36 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 94d6f5306cfe3f5894b93240d6bd4767 kino-0.7.5-r1.ebuild 1310 MD5 03d293c5b909a49da4e7c7204341d714 ChangeLog 4351 -MD5 9ef4af14dad87b03fde8e43f19e08d26 metadata.xml 225 -MD5 c681bc04ca61db53b8249a7646fa327b kino-0.7.6.ebuild 1358 +RMD160 98946b5d5e2a683b628e44e208922f947508b7c1 ChangeLog 4351 +SHA256 82e4a641476ed9d6c81545717467d7324f7af52890d0cf79e6b8f9721cf4d4b0 ChangeLog 4351 MD5 30181ed68c1351c7b6eea135e5ee7ad3 files/digest-kino-0.7.5-r1 63 +RMD160 79ea5e61ae958ebf1e78eb0cfa74a317ad9571d4 files/digest-kino-0.7.5-r1 63 +SHA256 4ba44e51eed2e79a0fb2684765466d89f6d53676c863e01445f496d64013b660 files/digest-kino-0.7.5-r1 63 MD5 2c7645b5cf0d9f0f221fb87ca44b46fe files/digest-kino-0.7.6 63 -MD5 33d7b5aeacaf3400bbd60f827ca9515b files/kino-0.7.6-configure.diff 913 +RMD160 2d01e0ee274caabe708bf88d6f5d50ac8eb144b4 files/digest-kino-0.7.6 63 +SHA256 56fb1b26ad0c822e5a2f0845b5a9a18109f4d578b70d460b8b1fbea0a92dec97 files/digest-kino-0.7.6 63 +MD5 7fd69bf21ef43a535be675250b059cfc files/digest-kino-0.8.0 235 +RMD160 0a181ad0dbcaff16267967e7d118adb524c0f167 files/digest-kino-0.8.0 235 +SHA256 2d7499da34658b3ad045df27724d439b82c3a273e76386fc7eafb5c291891e54 files/digest-kino-0.8.0 235 MD5 3de7378299c687b8b3b8dec40d4f553c files/kino-0.7.5-ppc.diff 8058 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.0 (GNU/Linux) - -iD8DBQFCjxKG06ebR+OMO78RAlc5AJ9jnOIhQAykOpXZXs/JjJ3hHqZ5FwCfUYgb -Sa09MW9sihBg6htLNChAa9E= -=d+RN ------END PGP SIGNATURE----- +RMD160 78cd28a3c2c44e465b5d2dc98b0a6681d04e1729 files/kino-0.7.5-ppc.diff 8058 +SHA256 dcab7aab30d2719e0e76d438e41f2e65edda9b26353ea1a142d68be0fe9e6e22 files/kino-0.7.5-ppc.diff 8058 +MD5 33d7b5aeacaf3400bbd60f827ca9515b files/kino-0.7.6-configure.diff 913 +RMD160 469121faba0d7aa6939171b9aa1a319dd91365b6 files/kino-0.7.6-configure.diff 913 +SHA256 0bc5818f649d4fa33a9a35be727bb38ec72de723385033781214c2ff5d5d0383 files/kino-0.7.6-configure.diff 913 +MD5 de5e3f7c498faf6447901d9b864c8105 files/kino-0.8.0-configure-in.diff 2558 +RMD160 a505dae8dd279b86fc450657ea935a3a6642eded files/kino-0.8.0-configure-in.diff 2558 +SHA256 76400ef4b36f870ee1af39d8a06cda8d079cea48b5dfa62b76ab763e546d669d files/kino-0.8.0-configure-in.diff 2558 +MD5 587e070b9cac4ac19524cecdfc2ab60f files/kino-0.8.0-configure.diff 384 +RMD160 520799f6e646e5a6daf46429128b331b1349f717 files/kino-0.8.0-configure.diff 384 +SHA256 1e6028a2525515f9df2c9b1d7b6f3fe1a19016f45cf4f8f07f27d9cff86d9269 files/kino-0.8.0-configure.diff 384 +MD5 94d6f5306cfe3f5894b93240d6bd4767 kino-0.7.5-r1.ebuild 1310 +RMD160 5db1f5e083ae7b40ca9832fa6d6011ecdb066d67 kino-0.7.5-r1.ebuild 1310 +SHA256 2bb77a26b688e25ee2967501044176e332736ef4381f54593dfa0ee6b0b8ea05 kino-0.7.5-r1.ebuild 1310 +MD5 c681bc04ca61db53b8249a7646fa327b kino-0.7.6.ebuild 1358 +RMD160 ce38e18e6db6320b3ec99693d67f2106838926e1 kino-0.7.6.ebuild 1358 +SHA256 f7945b498f00d01640782e775d579727f3fcd7485787b2ccb380c57d6f3acc5b kino-0.7.6.ebuild 1358 +MD5 110dc3a614b2963ea03a28be780d7216 kino-0.8.0.ebuild 1541 +RMD160 0001de2d3fd6ca68767d7739fdee78c863ff91ce kino-0.8.0.ebuild 1541 +SHA256 af357b9a72388e573e2769a0ab01171f1bc88d2bd08d459263b62ab4dd6d2fdc kino-0.8.0.ebuild 1541 +MD5 9ef4af14dad87b03fde8e43f19e08d26 metadata.xml 225 +RMD160 6e3fccd1ae62f02a0cb28d319aa185af0020822d metadata.xml 225 +SHA256 1a7f3e805478b42bc379b2a36944579d34d7e66ba5bf418a651e1cd58ad0a7f5 metadata.xml 225 diff --git a/media-video/kino/files/digest-kino-0.8.0 b/media-video/kino/files/digest-kino-0.8.0 new file mode 100644 index 000000000000..e27bce8af339 --- /dev/null +++ b/media-video/kino/files/digest-kino-0.8.0 @@ -0,0 +1,3 @@ +MD5 ec945365580d5e21431c76c07d0576bf kino-0.8.0.tar.gz 1498967 +RMD160 afbbaa2862cd182c518f5f7c4d939ce37e78f425 kino-0.8.0.tar.gz 1498967 +SHA256 3f06abb3dc863689cd44a560d42c203ba882a17f8cdc845e861b854f852a3b0b kino-0.8.0.tar.gz 1498967 diff --git a/media-video/kino/files/kino-0.8.0-configure-in.diff b/media-video/kino/files/kino-0.8.0-configure-in.diff new file mode 100644 index 000000000000..1424e77d2d40 --- /dev/null +++ b/media-video/kino/files/kino-0.8.0-configure-in.diff @@ -0,0 +1,63 @@ +--- configure.in.orig 2006-01-05 21:28:07.000000000 +0000 ++++ configure.in 2006-01-06 12:09:32.000000000 +0000 +@@ -79,18 +79,22 @@ + ]) + + # LIBQUICKTIME +-AC_ARG_WITH(quicktime,[ --with-quicktime Support Quicktime DV files using Quicktime4Linux or libquicktime.], +-[ ++AC_ARG_WITH(quicktime,[ --with-quicktime Support Quicktime DV files using Quicktime4Linux or libquicktime.],with_quicktime=$withval) ++ ++if test "$with_quicktime" = "yes" ; then ++ + AC_CHECK_HEADERS(quicktime/quicktime.h, + [ +- AC_CHECK_LIB(quicktimehv, quicktime_open, , +- [AC_WARN(libquicktime missing; install libquicktime or quicktime4linux to support Quicktime files.)], +- [$LIBRAW1394_CFLAGS $LIBRAW1394_LIBS -lm] +- ) +- LIBQUICKTIME_CFLAGS="-I$prefix/include/quicktime" +- AC_SUBST(LIBQUICKTIME_CFLAGS) +- AC_DEFINE(HAVE_LIBQUICKTIME, 1, [quicktime4linux present]) +- ],[ ++ AC_CHECK_LIB(quicktimehv, quicktime_open, , failed_quicktime4linux=yes, [$LIBRAW1394_CFLAGS $LIBRAW1394_LIBS -lm]) ++ if test "$failed_quicktime4linux" != "yes" ; then ++ have_quicktime4linux=yes ++ LIBQUICKTIME_CFLAGS="-I$prefix/include/quicktime" ++ AC_SUBST(LIBQUICKTIME_CFLAGS) ++ AC_DEFINE(HAVE_LIBQUICKTIME, 1, [quicktime4linux present]) ++ fi ++ ]) ++ ++ if test "$have_quicktime4linux" != "yes" ; then + PKG_CHECK_MODULES(LIBQUICKTIME, [libquicktime >= 0.9.5], + [ + AC_DEFINE(HAVE_LIBQUICKTIME, 1, [libquicktime present]) +@@ -98,21 +102,17 @@ + AC_SUBST(LIBQUICKTIME_LIBS) + ],[ + AC_WARN($LIBQUICKTIME_PKG_ERRORS) ++ AC_WARN(Install quicktime4linux or libquicktime to support Quicktime files.) + ]) +- ]) +-]) ++ fi ++fi + + # LIBAVCODEC +-AC_ARG_WITH(avcodec,[ --with-avcodec Use FFMPEG libavcodec for DV video decoding instead of libdv.], +-[ ++AC_ARG_WITH(avcodec,[ --with-avcodec Use FFMPEG libavcodec for DV video decoding instead of libdv.],with_avcodec=$withval) + +-AC_ARG_WITH(avcodec-include,[ --with-avcodec-include=PFX prefix where local libavcodec includes are installed (optional)], +- avcodec_include="$withval",avcodec_include="") ++AC_ARG_WITH(avcodec-include,[ --with-avcodec-include=PFX prefix where local libavcodec includes are installed (optional)],avcodec_include="$withval") + +-AC_ARG_WITH(avcodec-lib,[ --with-avcodec-lib=PFX prefix where local libavcodec libs are installed (optional)], +- avcodec_lib="$withval", avcodec_lib="") +-with_avcodec=yes +-]) ++AC_ARG_WITH(avcodec-lib,[ --with-avcodec-lib=PFX prefix where local libavcodec libs are installed (optional)],avcodec_lib="$withval") + + EXTRA_LIBS="$LIBS" + diff --git a/media-video/kino/files/kino-0.8.0-configure.diff b/media-video/kino/files/kino-0.8.0-configure.diff new file mode 100644 index 000000000000..1dba660f504e --- /dev/null +++ b/media-video/kino/files/kino-0.8.0-configure.diff @@ -0,0 +1,12 @@ +--- configure.in.~1~ 2005-11-20 18:01:31.000000000 -0500 ++++ configure.in 2005-11-28 22:22:18.000000000 -0500 +@@ -44,6 +44,9 @@ + AC_SUBST(LIBRAW1394_CFLAGS) + AC_SUBST(LIBRAW1394_LIBS) + ++LIBS="$LIBS $LIBRAW1394_LIBS" ++CFLAGS="$CFLAGS $LIBRAW1394_CFLAGS" ++ + AC_CHECK_HEADER([libavc1394/avc1394.h], , + [AC_MSG_ERROR([avc1394.h not found, install libavc1394-devel]) + ]) diff --git a/media-video/kino/kino-0.8.0.ebuild b/media-video/kino/kino-0.8.0.ebuild new file mode 100644 index 000000000000..2abc8e6abc7c --- /dev/null +++ b/media-video/kino/kino-0.8.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/kino/kino-0.8.0.ebuild,v 1.1 2006/03/28 07:03:02 morfic Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="Kino is a non-linear DV editor for GNU/Linux" +HOMEPAGE="http://kino.schirmacher.de/" +SRC_URI="mirror://sourceforge/kino/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~sparc ~amd64 ~ppc" +IUSE="quicktime dvdr ffmpeg" + +# Will use ALSA if alsa-lib>=1.0.9, but I haven't added a USE flag +# to turn this off explicitly as if you don't want it, don't install it! + +DEPEND=">=x11-libs/gtk+-2.6.0 + >=gnome-base/libglade-2.5.0 + >=dev-libs/glib-2 + dev-libs/libxml2 + media-libs/audiofile + media-sound/esound + >=sys-libs/libraw1394-1.0.0 + >=sys-libs/libavc1394-0.4.1 + >=media-libs/libdv-0.103 + media-libs/libsamplerate + media-video/mjpegtools + media-sound/rawrec + ffmpeg? ( media-video/ffmpeg ) + quicktime? ( || ( >=media-libs/libquicktime-0.9.5 media-video/cinelerra-cvs ) ) + dvdr? ( media-video/dvdauthor )" + +RESTRICT="primaryuri" + +src_unpack() { + unpack ${A} + cd ${S} + + # Fix the quicktime and avcodec/ffmpeg logic in configure.in + epatch ${FILESDIR}/${P}-configure.diff + # Fix for the checking for dirname... no configure error + epatch ${FILESDIR}/${P}-configure-in.diff + einfo "Running autoconf..." + autoconf +} + +src_compile() { + econf \ + --disable-dependency-tracking \ + --disable-debug \ + $(use_with quicktime) \ + $(use_with ffmpeg avcodec) || die "configure failed" + emake || die "make failed" +} + +src_install() { + make DESTDIR=${D} install || die "make install failed" +} -- 2.26.2