summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2009-06-17 23:40:54 +0000
committerAlexis Ballier <aballier@gentoo.org>2009-06-17 23:40:54 +0000
commitfd74a121636a5da6c3fcc26621aa37206dcc1fd6 (patch)
treeab01d69cfea23f0e8dc7301692e30c84bffc0fcd /media-libs/libquicktime
parentversion bump (diff)
downloadgentoo-2-fd74a121636a5da6c3fcc26621aa37206dcc1fd6.tar.gz
gentoo-2-fd74a121636a5da6c3fcc26621aa37206dcc1fd6.tar.bz2
gentoo-2-fd74a121636a5da6c3fcc26621aa37206dcc1fd6.zip
remove old
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libquicktime')
-rw-r--r--media-libs/libquicktime/ChangeLog7
-rw-r--r--media-libs/libquicktime/files/libquicktime-1.0.3-x264-65.patch76
-rw-r--r--media-libs/libquicktime/files/libquicktime-1.0.3-x264lavc.patch191
-rw-r--r--media-libs/libquicktime/libquicktime-1.0.3.ebuild107
-rw-r--r--media-libs/libquicktime/libquicktime-1.1.0.ebuild105
5 files changed, 6 insertions, 480 deletions
diff --git a/media-libs/libquicktime/ChangeLog b/media-libs/libquicktime/ChangeLog
index 23c0f8c02734..12b37803e401 100644
--- a/media-libs/libquicktime/ChangeLog
+++ b/media-libs/libquicktime/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/libquicktime
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libquicktime/ChangeLog,v 1.136 2009/06/17 23:38:22 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libquicktime/ChangeLog,v 1.137 2009/06/17 23:40:53 aballier Exp $
+
+ 17 Jun 2009; Alexis Ballier <aballier@gentoo.org>
+ -libquicktime-1.0.3.ebuild, -files/libquicktime-1.0.3-x264-65.patch,
+ -files/libquicktime-1.0.3-x264lavc.patch, -libquicktime-1.1.0.ebuild:
+ remove old
*libquicktime-1.1.2 (17 Jun 2009)
diff --git a/media-libs/libquicktime/files/libquicktime-1.0.3-x264-65.patch b/media-libs/libquicktime/files/libquicktime-1.0.3-x264-65.patch
deleted file mode 100644
index e7fd04c9fe53..000000000000
--- a/media-libs/libquicktime/files/libquicktime-1.0.3-x264-65.patch
+++ /dev/null
@@ -1,76 +0,0 @@
-Index: plugins/x264/lqt_x264.c
-===================================================================
-RCS file: /cvsroot/libquicktime/libquicktime/plugins/x264/lqt_x264.c,v
-retrieving revision 1.11
-diff -u -B -r1.11 lqt_x264.c
---- plugins/x264/lqt_x264.c 22 Sep 2008 18:24:49 -0000 1.11
-+++ plugins/x264/lqt_x264.c 5 Oct 2008 18:32:41 -0000
-@@ -323,11 +323,20 @@
- .real_name = TRS("Partition decision"),
- .type = LQT_PARAMETER_INT,
- .val_min = { .val_int = 1 },
-+#if X264_BUILD < 65
- .val_max = { .val_int = 7 },
-+#else
-+ .val_max = { .val_int = 9 },
-+#endif
- .val_default = { .val_int = 5 },
- .help_string = TRS("Subpixel motion estimation and partition decision "
-+#if X264_BUILD < 65
- "quality: 1=fast, 7=best.")
-+#else
-+ "quality: 1=fast, 9=best.")
-+#endif
- },
-+#if X264_BUILD < 65
- {
- .name = "x264_b_bframe_rdo",
- .real_name = TRS("RD based mode decision for B-frames"),
-@@ -338,6 +347,7 @@
- .help_string = TRS("RD based mode decision for B-frames. Requires partition "
- "decision 6.")
- },
-+#endif
- {
- .name = "x264_i_me_range",
- .real_name = TRS("Search range"),
-@@ -377,6 +387,7 @@
- .help_string = TRS("Allow each MB partition in P-frames to have it's own "
- "reference number")
- },
-+#if X264_BUILD < 65
- {
- .name = "x264_b_bidir_me",
- .real_name = TRS("Bidirectional ME"),
-@@ -386,6 +397,7 @@
- .val_default = { .val_int = 0 },
- .help_string = TRS("Jointly optimize both MVs in B-frames")
- },
-+#endif
- {
- .name = "x264_b_weighted_bipred",
- .real_name = TRS("Weighted biprediction"),
-Index: plugins/x264/x264.c
-===================================================================
-RCS file: /cvsroot/libquicktime/libquicktime/plugins/x264/x264.c,v
-retrieving revision 1.25
-diff -u -B -r1.25 x264.c
---- plugins/x264/x264.c 22 Sep 2008 22:01:40 -0000 1.25
-+++ plugins/x264/x264.c 5 Oct 2008 18:32:42 -0000
-@@ -880,12 +880,16 @@
- ENUMPARAM("x264_i_me_method", codec->params.analyse.i_me_method, me_methods);
-
- INTPARAM("x264_i_subpel_refine", codec->params.analyse.i_subpel_refine);
-+#if X264_BUILD < 65
- INTPARAM("x264_b_bframe_rdo", codec->params.analyse.b_bframe_rdo);
-+#endif
- INTPARAM("x264_i_me_range", codec->params.analyse.i_me_range);
- INTPARAM("x264_i_frame_reference", codec->params.i_frame_reference);
- INTPARAM("x264_b_chroma_me", codec->params.analyse.b_chroma_me);
- INTPARAM("x264_b_mixed_references", codec->params.analyse.b_mixed_references);
-+#if X264_BUILD < 65
- INTPARAM("x264_b_bidir_me", codec->params.analyse.b_bidir_me);
-+#endif
- INTPARAM("x264_b_weighted_bipred", codec->params.analyse.b_weighted_bipred);
-
- ENUMPARAM("x264_i_direct_mv_pred", codec->params.analyse.i_direct_mv_pred, direct_modes);
diff --git a/media-libs/libquicktime/files/libquicktime-1.0.3-x264lavc.patch b/media-libs/libquicktime/files/libquicktime-1.0.3-x264lavc.patch
deleted file mode 100644
index de44444f3bae..000000000000
--- a/media-libs/libquicktime/files/libquicktime-1.0.3-x264lavc.patch
+++ /dev/null
@@ -1,191 +0,0 @@
-Index: plugins/ffmpeg/audio.c
-===================================================================
-RCS file: /cvsroot/libquicktime/libquicktime/plugins/ffmpeg/audio.c,v
-retrieving revision 1.38
-retrieving revision 1.39
-diff -u -B -r1.38 -r1.39
---- plugins/ffmpeg/audio.c 11 Nov 2007 00:38:12 -0000 1.38
-+++ plugins/ffmpeg/audio.c 22 Sep 2008 18:24:49 -0000 1.39
-@@ -670,9 +670,11 @@
-
- // priv->ctx->block_align = s->data.audio.block_align;
- // priv->ctx->bit_rate = s->codec_bitrate;
--
-+#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
- codec->avctx->bits_per_sample = quicktime_audio_bits(file, track);
--
-+#else
-+ codec->avctx->bits_per_coded_sample = quicktime_audio_bits(file, track);
-+#endif
- /* Some codecs need extra stuff */
-
- if(codec->decoder->id == CODEC_ID_ALAC)
-Index: plugins/ffmpeg/lqt_ffmpeg.c
-===================================================================
-RCS file: /cvsroot/libquicktime/libquicktime/plugins/ffmpeg/lqt_ffmpeg.c,v
-retrieving revision 1.78
-retrieving revision 1.79
-diff -u -B -r1.78 -r1.79
---- plugins/ffmpeg/lqt_ffmpeg.c 5 Sep 2008 22:53:48 -0000 1.78
-+++ plugins/ffmpeg/lqt_ffmpeg.c 22 Sep 2008 18:24:49 -0000 1.79
-@@ -77,7 +77,7 @@
- PARAM_QCOMPRESS, \
- PARAM_QBLUR, \
- PARAM_QUANTIZER_NOISE_SHAPING, \
-- PARAM_FLAG_TRELLIS_QUANT
-+ PARAM_TRELLIS
-
- #define ENCODE_PARAM_VIDEO_QUANTIZER_IP \
- ENCODE_PARAM_VIDEO_QUANTIZER_I, \
-Index: plugins/ffmpeg/params.c
-===================================================================
-RCS file: /cvsroot/libquicktime/libquicktime/plugins/ffmpeg/params.c,v
-retrieving revision 1.10
-retrieving revision 1.11
-diff -u -B -r1.10 -r1.11
---- plugins/ffmpeg/params.c 5 Sep 2008 22:53:48 -0000 1.10
-+++ plugins/ffmpeg/params.c 22 Sep 2008 18:24:49 -0000 1.11
-@@ -242,7 +242,11 @@
- PARAM_FLAG("ff_flag_emu_edge",CODEC_FLAG_EMU_EDGE);
- PARAM_FLAG("ff_flag_normalize_aqp",CODEC_FLAG_NORMALIZE_AQP);
- PARAM_FLAG("ff_flag_alt_scan",CODEC_FLAG_ALT_SCAN);
-+#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
- PARAM_FLAG("ff_flag_trellis_quant",CODEC_FLAG_TRELLIS_QUANT);
-+#else
-+ PARAM_INT("ff_trellis",trellis);
-+#endif
- PARAM_FLAG("ff_flag_bitexact",CODEC_FLAG_BITEXACT);
- PARAM_FLAG("ff_flag_ac_pred",CODEC_FLAG_AC_PRED);
- PARAM_FLAG("ff_flag_h263p_umv",CODEC_FLAG_H263P_UMV);
-Index: plugins/ffmpeg/params.h
-===================================================================
-RCS file: /cvsroot/libquicktime/libquicktime/plugins/ffmpeg/params.h,v
-retrieving revision 1.10
-retrieving revision 1.11
-diff -u -B -r1.10 -r1.11
---- plugins/ffmpeg/params.h 3 Sep 2007 23:26:48 -0000 1.10
-+++ plugins/ffmpeg/params.h 22 Sep 2008 18:24:49 -0000 1.11
-@@ -1032,7 +1032,9 @@
- }
-
- /** Quantizer */
--#define PARAM_FLAG_TRELLIS_QUANT \
-+#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
-+
-+#define PARAM_TRELLIS \
- { \
- .name = "ff_flag_trellis_quant", \
- .real_name = TRS("Use trellis quantization"), \
-@@ -1042,6 +1044,18 @@
- .val_max = { .val_int = 1 }, \
- .help_string = TRS("Use trellis quantization (improves quality)") \
- }
-+#else
-+#define PARAM_TRELLIS \
-+ { \
-+ .name = "ff_trellis", \
-+ .real_name = TRS("Use trellis quantization"), \
-+ .type = LQT_PARAMETER_INT, \
-+ .val_default = { .val_int = 0 }, \
-+ .val_min = { .val_int = 0 }, \
-+ .val_max = { .val_int = 1 }, \
-+ .help_string = TRS("Use trellis quantization (improves quality)") \
-+ }
-+#endif
-
- #define PARAM_FLAG_BITEXACT \
- { \
-Index: plugins/ffmpeg/video.c
-===================================================================
-RCS file: /cvsroot/libquicktime/libquicktime/plugins/ffmpeg/video.c,v
-retrieving revision 1.63
-retrieving revision 1.64
-diff -u -B -r1.63 -r1.64
---- plugins/ffmpeg/video.c 28 May 2008 16:48:20 -0000 1.63
-+++ plugins/ffmpeg/video.c 22 Sep 2008 18:24:49 -0000 1.64
-@@ -377,7 +377,12 @@
- {
- codec->avctx->width = width;
- codec->avctx->height = height;
-+
-+#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
- codec->avctx->bits_per_sample = quicktime_video_depth(file, track);
-+#else
-+ codec->avctx->bits_per_coded_sample = quicktime_video_depth(file, track);
-+#endif
-
- /* Set extradata: It's done differently for each codec */
-
-Index: plugins/x264/lqt_x264.c
-===================================================================
-RCS file: /cvsroot/libquicktime/libquicktime/plugins/x264/lqt_x264.c,v
-retrieving revision 1.10
-retrieving revision 1.11
-diff -u -B -r1.10 -r1.11
---- plugins/x264/lqt_x264.c 5 Sep 2008 22:53:50 -0000 1.10
-+++ plugins/x264/lqt_x264.c 22 Sep 2008 18:24:49 -0000 1.11
-@@ -64,6 +64,7 @@
- .val_max = { .val_int = 16 },
- .help_string = TRS("Number of B-frames between I and P"),
- },
-+#if X264_BUILD < 63
- {
- .name = "x264_b_bframe_adaptive",
- .real_name = TRS("Adaptive B-frame decision"),
-@@ -72,6 +73,18 @@
- .val_min = { .val_int = 0 },
- .val_max = { .val_int = 1 },
- },
-+#else
-+ {
-+ .name = "x264_i_bframe_adaptive",
-+ .real_name = TRS("Adaptive B-frame decision"),
-+ .type = LQT_PARAMETER_STRINGLIST,
-+ .val_default = { .val_string = "Fast" },
-+ .stringlist_options = (char*[]){ TRS("None"),
-+ TRS("Fast"),
-+ TRS("Trellis"),
-+ (char*)0 },
-+ },
-+#endif
- {
- .name = "x264_i_bframe_bias",
- .real_name = TRS("B-frame bias"),
-Index: plugins/x264/x264.c
-===================================================================
-RCS file: /cvsroot/libquicktime/libquicktime/plugins/x264/x264.c,v
-retrieving revision 1.23
-retrieving revision 1.24
-diff -u -B -r1.23 -r1.24
---- plugins/x264/x264.c 5 Sep 2008 22:53:50 -0000 1.23
-+++ plugins/x264/x264.c 22 Sep 2008 18:24:49 -0000 1.24
-@@ -763,7 +763,15 @@
- { "Average bitrate", X264_RC_ABR },
- { "CRF based VBR", X264_RC_CRF }
- };
--
-+
-+#if X264_BUILD >= 63
-+enum_t bframe_adaptives[] =
-+ {
-+ { "None", X264_B_ADAPT_NONE },
-+ { "Fast", X264_B_ADAPT_FAST },
-+ { "Trellis", X264_B_ADAPT_TRELLIS }
-+ };
-+#endif
-
- static int set_parameter(quicktime_t *file,
- int track,
-@@ -777,7 +785,11 @@
- INTPARAM("x264_i_keyint_min", codec->params.i_keyint_min);
- INTPARAM("x264_i_scenecut_threshold", codec->params.i_scenecut_threshold);
- INTPARAM("x264_i_bframe", codec->params.i_bframe);
-- INTPARAM("x264_b_bframe_adaptive", codec->params.b_bframe_adaptive);
-+#if X264_BUILD < 63
-+ INTPARAM("x264_b_bframe_adaptive", codec->params.b_bframe_adaptive);
-+#else
-+ ENUMPARAM("x264_i_bframe_adaptive", codec->params.i_bframe_adaptive, bframe_adaptives);
-+#endif
- INTPARAM("x264_i_bframe_bias", codec->params.i_bframe_bias);
- INTPARAM("x264_b_bframe_pyramid", codec->params.b_bframe_pyramid);
-
diff --git a/media-libs/libquicktime/libquicktime-1.0.3.ebuild b/media-libs/libquicktime/libquicktime-1.0.3.ebuild
deleted file mode 100644
index f4f45585135a..000000000000
--- a/media-libs/libquicktime/libquicktime-1.0.3.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libquicktime/libquicktime-1.0.3.ebuild,v 1.10 2008/12/20 08:42:07 ssuominen Exp $
-
-inherit libtool eutils
-
-DESCRIPTION="A library based on quicktime4linux with extensions"
-HOMEPAGE="http://libquicktime.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd"
-
-IUSE="mmx X opengl dv gtk alsa aac encode png jpeg vorbis lame x264 ffmpeg doc"
-
-RDEPEND="dv? ( media-libs/libdv )
- gtk? ( >=x11-libs/gtk+-2.4.0 )
- aac? (
- media-libs/faad2
- encode? ( media-libs/faac )
- )
- alsa? ( >=media-libs/alsa-lib-1.0.16 )
- png? ( media-libs/libpng )
- jpeg? ( media-libs/jpeg )
- vorbis? ( media-libs/libvorbis media-libs/libogg )
- lame? ( media-sound/lame )
- ffmpeg? ( >=media-video/ffmpeg-0.4.9_p20070616 )
- x264? ( media-libs/x264 )
- X? ( x11-libs/libXaw
- x11-libs/libXv
- x11-libs/libXext
- x11-libs/libX11
- opengl? ( media-libs/mesa )
- )
- virtual/libintl
- !virtual/quicktime"
-DEPEND="${RDEPEND}
- X? (
- x11-proto/videoproto
- x11-proto/xextproto
- )
- doc? ( app-doc/doxygen )
- dev-util/pkgconfig
- sys-devel/gettext"
-
-PROVIDE="virtual/quicktime"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/${P}-x264lavc.patch"
- epatch "${FILESDIR}/${P}-x264-65.patch"
- # Needed for sane .so versionning on g/fbsd
- elibtoolize
-}
-src_compile() {
- local MY_OPTS=""
- if use !encode || use !aac; then
- MY_OPTS="--without-faac"
- fi
-
- econf --enable-shared \
- --enable-static \
- --enable-gpl \
- $(use_with doc doxygen) \
- $(use_enable mmx asm) \
- $(use_with X x) \
- $(use_with gtk) \
- $(use_with dv libdv) \
- $(use_with alsa) \
- $(use_with aac faad2) \
- $(use_with png libpng) \
- $(use_with jpeg libjpeg) \
- $(use vorbis || echo "--without-vorbis") \
- $(use_with lame) \
- $(use_with x264) \
- $(use_with ffmpeg) \
- $(use_with opengl) \
- ${MY_OPTS} \
- --without-cpuflags || die "econf failed"
-
- emake || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- dodoc README TODO ChangeLog
- # Compatibility with software that uses quicktime prefix, but
- # don't do that when building for Darwin/MacOS
- [[ ${CHOST} != *-darwin* ]] && \
- dosym /usr/include/lqt /usr/include/quicktime
-}
-
-pkg_preinst() {
- if [[ -d /usr/include/quicktime && ! -L /usr/include/quicktime ]]; then
- elog "For compatibility with other quicktime libraries, ${PN} was"
- elog "going to create a /usr/include/quicktime symlink, but for some"
- elog "reason that is a directory on your system."
-
- elog "Please check that is empty, and remove it, or submit a bug"
- elog "telling us which package owns the directory."
- die "/usr/include/quicktime is a directory."
- fi
-}
diff --git a/media-libs/libquicktime/libquicktime-1.1.0.ebuild b/media-libs/libquicktime/libquicktime-1.1.0.ebuild
deleted file mode 100644
index 002b351f4cef..000000000000
--- a/media-libs/libquicktime/libquicktime-1.1.0.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libquicktime/libquicktime-1.1.0.ebuild,v 1.2 2008/12/20 08:42:07 ssuominen Exp $
-
-inherit libtool eutils
-
-DESCRIPTION="A library based on quicktime4linux with extensions"
-HOMEPAGE="http://libquicktime.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-
-IUSE="mmx X opengl dv gtk alsa aac encode png jpeg vorbis lame x264 ffmpeg doc"
-
-RDEPEND="dv? ( media-libs/libdv )
- gtk? ( >=x11-libs/gtk+-2.4.0 )
- aac? (
- media-libs/faad2
- encode? ( media-libs/faac )
- )
- alsa? ( >=media-libs/alsa-lib-1.0.16 )
- png? ( media-libs/libpng )
- jpeg? ( media-libs/jpeg )
- vorbis? ( media-libs/libvorbis media-libs/libogg )
- lame? ( media-sound/lame )
- ffmpeg? ( >=media-video/ffmpeg-0.4.9_p20070616 )
- x264? ( media-libs/x264 )
- X? ( x11-libs/libXaw
- x11-libs/libXv
- x11-libs/libXext
- x11-libs/libX11
- opengl? ( media-libs/mesa )
- )
- virtual/libintl
- !virtual/quicktime"
-DEPEND="${RDEPEND}
- X? (
- x11-proto/videoproto
- x11-proto/xextproto
- )
- doc? ( app-doc/doxygen )
- dev-util/pkgconfig
- sys-devel/gettext"
-
-PROVIDE="virtual/quicktime"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # Needed for sane .so versionning on g/fbsd
- elibtoolize
-}
-src_compile() {
- local MY_OPTS=""
- if use !encode || use !aac; then
- MY_OPTS="--without-faac"
- fi
-
- econf --enable-shared \
- --enable-static \
- --enable-gpl \
- $(use_with doc doxygen) \
- $(use_enable mmx asm) \
- $(use_with X x) \
- $(use_with gtk) \
- $(use_with dv libdv) \
- $(use_with alsa) \
- $(use_with aac faad2) \
- $(use_with png libpng) \
- $(use_with jpeg libjpeg) \
- $(use vorbis || echo "--without-vorbis") \
- $(use_with lame) \
- $(use_with x264) \
- $(use_with ffmpeg) \
- $(use_with opengl) \
- ${MY_OPTS} \
- --without-cpuflags || die "econf failed"
-
- emake || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- dodoc README TODO ChangeLog
- # Compatibility with software that uses quicktime prefix, but
- # don't do that when building for Darwin/MacOS
- [[ ${CHOST} != *-darwin* ]] && \
- dosym /usr/include/lqt /usr/include/quicktime
-}
-
-pkg_preinst() {
- if [[ -d /usr/include/quicktime && ! -L /usr/include/quicktime ]]; then
- elog "For compatibility with other quicktime libraries, ${PN} was"
- elog "going to create a /usr/include/quicktime symlink, but for some"
- elog "reason that is a directory on your system."
-
- elog "Please check that is empty, and remove it, or submit a bug"
- elog "telling us which package owns the directory."
- die "/usr/include/quicktime is a directory."
- fi
-}