diff options
author | Alexis Ballier <aballier@gentoo.org> | 2007-06-15 17:39:23 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2007-06-15 17:39:23 +0000 |
commit | 1a2041c4a0f0a21a043f076c9b5c62395fdef473 (patch) | |
tree | 7536572b74efd4f11d4ddf5fb84da9959a431a8a /media-libs/libquicktime | |
parent | alpha/ia64/x86 stable wrt security #180436 (diff) | |
download | gentoo-2-1a2041c4a0f0a21a043f076c9b5c62395fdef473.tar.gz gentoo-2-1a2041c4a0f0a21a043f076c9b5c62395fdef473.tar.bz2 gentoo-2-1a2041c4a0f0a21a043f076c9b5c62395fdef473.zip |
Cleanup old and unused versions
(Portage version: 2.1.3_rc2)
Diffstat (limited to 'media-libs/libquicktime')
12 files changed, 8 insertions, 568 deletions
diff --git a/media-libs/libquicktime/ChangeLog b/media-libs/libquicktime/ChangeLog index b2417caf9e6c..51ed472d5cbf 100644 --- a/media-libs/libquicktime/ChangeLog +++ b/media-libs/libquicktime/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-libs/libquicktime # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libquicktime/ChangeLog,v 1.87 2007/05/16 15:23:56 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libquicktime/ChangeLog,v 1.88 2007/06/15 17:39:23 aballier Exp $ + + 15 Jun 2007; Alexis Ballier <aballier@gentoo.org> + -files/libquicktime-0.9.2-amd64.patch, -files/libquicktime-new-x264.patch, + -files/libquicktime-0.9.4-cflags.patch, -libquicktime-0.9.2.ebuild, + -libquicktime-0.9.4.ebuild, -libquicktime-0.9.9.ebuild, + -libquicktime-0.9.9-r1.ebuild: + Cleanup old and unused versions 16 May 2007; Raúl Porcel <armin76@gentoo.org> libquicktime-0.9.10.ebuild: alpha stable wrt #157892 diff --git a/media-libs/libquicktime/files/digest-libquicktime-0.9.2 b/media-libs/libquicktime/files/digest-libquicktime-0.9.2 deleted file mode 100644 index 69faaa16c2e5..000000000000 --- a/media-libs/libquicktime/files/digest-libquicktime-0.9.2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 1b42ca12966526647fa9a1b14fb947a1 libquicktime-0.9.2.tar.gz 666586 -RMD160 d0a4e3856f3617ec5473d2e03d39836df738561b libquicktime-0.9.2.tar.gz 666586 -SHA256 4010890586da8d84ba5bdfb387d9faf7f2ae6ddc4227c60802537a7b3bfd10d3 libquicktime-0.9.2.tar.gz 666586 diff --git a/media-libs/libquicktime/files/digest-libquicktime-0.9.4 b/media-libs/libquicktime/files/digest-libquicktime-0.9.4 deleted file mode 100644 index c1292ef0f20c..000000000000 --- a/media-libs/libquicktime/files/digest-libquicktime-0.9.4 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 8d93e4e3393942edc35511dd2e51a32d libquicktime-0.9.4.tar.gz 782651 -RMD160 93a8098770a860cba31d71f876b782c2a7b00fdf libquicktime-0.9.4.tar.gz 782651 -SHA256 344e9308cb6655cb6d3a8eba0abd824a8c157943739b18762aee64c0d50cb8aa libquicktime-0.9.4.tar.gz 782651 diff --git a/media-libs/libquicktime/files/digest-libquicktime-0.9.9 b/media-libs/libquicktime/files/digest-libquicktime-0.9.9 deleted file mode 100644 index f515872f62a6..000000000000 --- a/media-libs/libquicktime/files/digest-libquicktime-0.9.9 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 4ac23264f22a22ff013722aa9d188190 libquicktime-0.9.9.tar.gz 926280 -RMD160 c345f54d949f29a9f5be42ca5fbdc80be781a3d4 libquicktime-0.9.9.tar.gz 926280 -SHA256 b92f08e8e9a9e4be36dd5cdd4b1c5d31f0cc821569623b2f5f79b3e7ba8ed3da libquicktime-0.9.9.tar.gz 926280 diff --git a/media-libs/libquicktime/files/digest-libquicktime-0.9.9-r1 b/media-libs/libquicktime/files/digest-libquicktime-0.9.9-r1 deleted file mode 100644 index f515872f62a6..000000000000 --- a/media-libs/libquicktime/files/digest-libquicktime-0.9.9-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 4ac23264f22a22ff013722aa9d188190 libquicktime-0.9.9.tar.gz 926280 -RMD160 c345f54d949f29a9f5be42ca5fbdc80be781a3d4 libquicktime-0.9.9.tar.gz 926280 -SHA256 b92f08e8e9a9e4be36dd5cdd4b1c5d31f0cc821569623b2f5f79b3e7ba8ed3da libquicktime-0.9.9.tar.gz 926280 diff --git a/media-libs/libquicktime/files/libquicktime-0.9.2-amd64.patch b/media-libs/libquicktime/files/libquicktime-0.9.2-amd64.patch deleted file mode 100644 index a3c469ae7a1b..000000000000 --- a/media-libs/libquicktime/files/libquicktime-0.9.2-amd64.patch +++ /dev/null @@ -1,63 +0,0 @@ -diff -ruN libquicktime-0.9.2/plugins/rtjpeg/Makefile.am libquicktime-0.9.2-amd64-v2/plugins/rtjpeg/Makefile.am ---- libquicktime-0.9.2/plugins/rtjpeg/Makefile.am 2002-06-03 22:04:22.000000000 +0200 -+++ libquicktime-0.9.2-amd64-v2/plugins/rtjpeg/Makefile.am 2003-11-15 17:51:58.286346488 +0100 -@@ -1,5 +1,5 @@ - CFLAGS = @CFLAGS@ --CFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -+CFLAGS += -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 - - pkglib_LTLIBRARIES = lqt_rtjpeg.la - -@@ -12,4 +12,4 @@ - INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include/ - - RTjpeg.lo: RTjpeg.c RTjpeg.h -- gcc @RTJPEG_CFLAGS@ -c RTjpeg.c -o RTjpeg.lo -+ gcc -fPIC @RTJPEG_CFLAGS@ -c RTjpeg.c -o RTjpeg.lo -diff -ruN libquicktime-0.9.2/plugins/rtjpeg/Makefile.in libquicktime-0.9.2-amd64-v2/plugins/rtjpeg/Makefile.in ---- libquicktime-0.9.2/plugins/rtjpeg/Makefile.in 2003-09-06 19:15:42.000000000 +0200 -+++ libquicktime-0.9.2-amd64-v2/plugins/rtjpeg/Makefile.in 2003-11-15 17:51:58.299344512 +0100 -@@ -127,7 +127,7 @@ - am__include = @am__include@ - am__quote = @am__quote@ - install_sh = @install_sh@ --CFLAGS = @CFLAGS@ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -+CFLAGS = @CFLAGS@ -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 - - pkglib_LTLIBRARIES = lqt_rtjpeg.la - -@@ -397,7 +397,7 @@ - - - RTjpeg.lo: RTjpeg.c RTjpeg.h -- gcc @RTJPEG_CFLAGS@ -c RTjpeg.c -o RTjpeg.lo -+ gcc -fPIC @RTJPEG_CFLAGS@ -c RTjpeg.c -o RTjpeg.lo - # Tell versions [3.59,3.63) of GNU make to not export all variables. - # Otherwise a system limit (for SysV at least) may be exceeded. - .NOEXPORT: -diff -ruN libquicktime-0.9.2/plugins/rtjpeg/mmx.h libquicktime-0.9.2-amd64-v2/plugins/rtjpeg/mmx.h ---- libquicktime-0.9.2/plugins/rtjpeg/mmx.h 2002-06-03 22:04:22.000000000 +0200 -+++ libquicktime-0.9.2-amd64-v2/plugins/rtjpeg/mmx.h 2003-11-15 17:54:13.566780736 +0100 -@@ -44,14 +44,14 @@ - they be truncated by the compiler) - */ - typedef union { -- long long q; /* Quadword (64-bit) value */ -- unsigned long long uq; /* Unsigned Quadword */ -- int d[2]; /* 2 Doubleword (32-bit) values */ -- unsigned int ud[2]; /* 2 Unsigned Doubleword */ -- short w[4]; /* 4 Word (16-bit) values */ -- unsigned short uw[4]; /* 4 Unsigned Word */ -- char b[8]; /* 8 Byte (8-bit) values */ -- unsigned char ub[8]; /* 8 Unsigned Byte */ -+ int64_t q; /* Quadword (64-bit) value */ -+ uint64_t uq; /* Unsigned Quadword */ -+ int32_t d[2]; /* 2 Doubleword (32-bit) values */ -+ uint32_t ud[2]; /* 2 Unsigned Doubleword */ -+ int16_t w[4]; /* 4 Word (16-bit) values */ -+ uint16_t uw[4]; /* 4 Unsigned Word */ -+ int8_t b[8]; /* 8 Byte (8-bit) values */ -+ uint8_t ub[8]; /* 8 Unsigned Byte */ - float s[2]; /* Single-precision (32-bit) value */ - } __attribute__ ((aligned (8))) mmx_t; /* On an 8-byte (64-bit) boundary */ - diff --git a/media-libs/libquicktime/files/libquicktime-0.9.4-cflags.patch b/media-libs/libquicktime/files/libquicktime-0.9.4-cflags.patch deleted file mode 100644 index ab6ab5674ec1..000000000000 --- a/media-libs/libquicktime/files/libquicktime-0.9.4-cflags.patch +++ /dev/null @@ -1,51 +0,0 @@ ---- ../libquicktime-0.9.4.orig/configure.ac 2005-03-12 18:32:46.604712360 +0100 -+++ configure.ac 2005-03-12 19:39:42.743166512 +0100 -@@ -32,7 +32,6 @@ - AC_LIBTOOL_DLOPEN - AM_PROG_LIBTOOL - --AC_PROG_CC - AC_LANG_C - - AC_C_BIGENDIAN -@@ -50,25 +49,6 @@ - AC_SUBST(AS) - AC_SUBST(ASFLAGS) - --dnl Build CFLAGS -- --COMMON_CFLAGS=" -finline-functions -Wall -Winline" --PROFILE_CFLAGS=" -pg -fprofile-arcs -ftest-coverage" --DEBUG_CFLAGS=" -g3" -- --dnl Optimizing flags -- --OPTIMIZE_CFLAGS="-O3" -- --AC_TRY_CFLAGS([-funroll-all-loops], [OPTIMIZE_CFLAGS="$OPTIMIZE_CFLAGS -funroll-all-loops"]) --AC_TRY_CFLAGS([-fomit-frame-pointer], [OPTIMIZE_CFLAGS="$OPTIMIZE_CFLAGS -fomit-frame-pointer"]) --AC_TRY_CFLAGS([-falign-loops=2], [OPTIMIZE_CFLAGS="$OPTIMIZE_CFLAGS -falign-loops=2"]) --AC_TRY_CFLAGS([-falign-jumps=2], [OPTIMIZE_CFLAGS="$OPTIMIZE_CFLAGS -falign-jumps=2"]) --AC_TRY_CFLAGS([-falign-functions=2], [OPTIMIZE_CFLAGS="$OPTIMIZE_CFLAGS -falign-functions=2"]) -- --# -Wno-unused-variable -Wno-unused-parameter --# -std=gnu99 -- - have_debug=false - have_profile=false - compile_mode="optimize" -@@ -101,11 +81,13 @@ - fi - - case $compile_mode in --"optimize") CFLAGS="$OPTIMIZE_CFLAGS $COMMON_CFLAGS"; AC_DEFINE(NDEBUG);; -+"optimize") CFLAGS="$CFLAGS"; AC_DEFINE(NDEBUG);; - "debug") CFLAGS="$DEBUG_CFLAGS $COMMON_CFLAGS" ;; - "profile") CFLAGS="$PROFILE_CFLAGS $COMMON_CFLAGS"; AC_DEFINE(NDEBUG);; - esac - -+AC_PROG_CC -+ - AC_SUBST(LIBS) - - AH_TEMPLATE([_GNU_SOURCE], diff --git a/media-libs/libquicktime/files/libquicktime-new-x264.patch b/media-libs/libquicktime/files/libquicktime-new-x264.patch deleted file mode 100644 index 9d3bd43fdcb4..000000000000 --- a/media-libs/libquicktime/files/libquicktime-new-x264.patch +++ /dev/null @@ -1,157 +0,0 @@ -diff -u -B -r libquicktime-0.9.9/plugins/x264/lqt_x264.c libquicktime-0.9.9_new/plugins/x264/lqt_x264.c ---- libquicktime-0.9.9/plugins/x264/lqt_x264.c 2006-04-10 23:46:15.000000000 +0200 -+++ libquicktime-0.9.9_new/plugins/x264/lqt_x264.c 2006-10-15 01:02:19.000000000 +0200 -@@ -74,6 +74,21 @@ - type: LQT_PARAMETER_SECTION - }, - { -+ name: "x264_i_rc_method", -+ real_name: "Ratecontrol method", -+ type: LQT_PARAMETER_STRINGLIST, -+ val_default: { val_string: "Constant quality" }, -+ stringlist_options: (char*[]){ "Constant quality", -+ "Average bitrate", -+ "CRF based VBR", -+ (char*)0 }, -+ help_string: "Ratecontrol method:\n\ -+Constant quality: Specify a quantizer parameter below\n\ -+Average bitrate: Specify a bitrate below\n\ -+CRF based VBR: Specify a rate factor below\n\ -+Selecting 2-pass encoding will force Average bitrate.", -+ }, -+ { - name: "x264_i_bitrate", - real_name: "Bitrate", - type: LQT_PARAMETER_INT, -@@ -81,6 +96,16 @@ - help_string: "Bitrate in kbit/s. 0 means VBR (recommended)" - }, - { -+ name: "x264_f_rf_constant", -+ real_name: "Nominal Quantizer parameter", -+ type: LQT_PARAMETER_FLOAT, -+ val_default: { val_float: 26.0 }, -+ val_min: { val_float: 0.0 }, -+ val_max: { val_float: 51.0 }, -+ help_string: "This selects the nominal quantizer to use (1 to 51). Lower values result in " \ -+ "better fidelity, but higher bitrates. 26 is a good default value. 0 means lossless." -+ }, -+ { - name: "x264_i_qp_constant", - real_name: "Quantizer parameter", - type: LQT_PARAMETER_INT, -@@ -90,7 +115,9 @@ - help_string: "This selects the quantizer to use (1 to 51). Lower values result in " \ - "better fidelity, but higher bitrates. 26 is a good default value. 0 means lossless." - }, -- { -+ -+ -+{ - name: "x264_i_qp_min", - real_name: "Minimum quantizer parameter", - type: LQT_PARAMETER_INT, -diff -u -B -r libquicktime-0.9.9/plugins/x264/x264.c libquicktime-0.9.9_new/plugins/x264/x264.c ---- libquicktime-0.9.9/plugins/x264/x264.c 2006-06-25 15:10:30.000000000 +0200 -+++ libquicktime-0.9.9_new/plugins/x264/x264.c 2006-10-15 01:01:02.000000000 +0200 -@@ -91,7 +91,7 @@ - fprintf(stderr, " i_qp_step: %d\n", params->rc.i_qp_step); - fprintf(stderr, " b_cbr: %d\n", params->rc.b_cbr); - fprintf(stderr, " i_bitrate: %d\n", params->rc.i_bitrate); -- fprintf(stderr, " i_rf_constant: %d\n", params->rc.i_rf_constant); -+ fprintf(stderr, " f_rf_constant: %f\n", params->rc.f_rf_constant); - fprintf(stderr, " f_rate_tolerance: %f\n", params->rc.f_rate_tolerance); - fprintf(stderr, " i_vbv_max_bitrate: %d\n", params->rc.i_vbv_max_bitrate); - fprintf(stderr, " i_vbv_buffer_size: %d\n", params->rc.i_vbv_buffer_size); -@@ -437,7 +437,7 @@ - codec->stats_filename = malloc(strlen(stats_file)+1); - strcpy(codec->stats_filename, stats_file); - -- fprintf(stderr, "set_pass_x264 %d %d %s\n", pass, total_passes, stats_file); -+ // fprintf(stderr, "set_pass_x264 %d %d %s\n", pass, total_passes, stats_file); - return 1; - } - -@@ -488,22 +488,28 @@ - codec->params.i_fps_den = lqt_frame_duration(file, track, NULL); - - /* Set multipass control */ -- -- /* Open encoder */ - -- if(codec->pass == 1) -- { -- /* Strings will be made private by x264 */ -- codec->params.rc.psz_stat_out = codec->stats_filename; -- codec->params.rc.b_stat_write = 1; -- } -- else if(codec->total_passes && (codec->pass == codec->total_passes)) -+ if(codec->total_passes) - { -- /* Strings will be made private by x264 */ -- codec->params.rc.psz_stat_in = codec->stats_filename; -- codec->params.rc.b_stat_read = 1; -+ /* Force ABR */ -+ codec->params.rc.i_rc_method = X264_RC_ABR; -+ codec->params.rc.f_rf_constant = 0.; -+ if(codec->pass == 1) -+ { -+ /* Strings will be made private by x264 */ -+ codec->params.rc.psz_stat_out = codec->stats_filename; -+ codec->params.rc.b_stat_write = 1; -+ } -+ else if(codec->pass == codec->total_passes) -+ { -+ /* Strings will be made private by x264 */ -+ codec->params.rc.psz_stat_in = codec->stats_filename; -+ codec->params.rc.b_stat_read = 1; -+ } - } - -+ /* Open encoder */ -+ - codec->enc = x264_encoder_open(&codec->params); - if(!codec->enc) - { -@@ -621,6 +627,14 @@ - { "Auto", X264_DIRECT_PRED_AUTO } - }; - -+enum_t rc_methods[] = -+ { -+ { "Constant quality", X264_RC_CQP }, -+ { "Average bitrate", X264_RC_ABR }, -+ { "CRF based VBR", X264_RC_CRF } -+ }; -+ -+ - static int set_parameter(quicktime_t *file, - int track, - char *key, -@@ -637,22 +651,11 @@ - INTPARAM("x264_i_bframe_bias", codec->params.i_bframe_bias); - INTPARAM("x264_b_bframe_pyramid", codec->params.b_bframe_pyramid); - -- if(!strcasecmp(key, "x264_i_bitrate")) -- { -- if(*(int*)(value)) -- { -- codec->params.rc.b_cbr = 1; -- codec->params.rc.i_bitrate = *(int*)(value); -- } -- else -- { -- codec->params.rc.b_cbr = 0; -- codec->params.rc.i_bitrate = 0; -- } -- found = 1; -- } -- -+ ENUMPARAM("x264_i_rc_method", codec->params.rc.i_rc_method, rc_methods); -+ INTPARAM("x264_i_bitrate", codec->params.rc.i_bitrate); -+ - INTPARAM("x264_i_qp_constant", codec->params.rc.i_qp_constant); -+ FLOATPARAM("x264_f_rf_constant", codec->params.rc.f_rf_constant); - INTPARAM("x264_i_qp_min", codec->params.rc.i_qp_min); - INTPARAM("x264_i_qp_max", codec->params.rc.i_qp_max); - INTPARAM("x264_i_qp_step", codec->params.rc.i_qp_step); diff --git a/media-libs/libquicktime/libquicktime-0.9.2.ebuild b/media-libs/libquicktime/libquicktime-0.9.2.ebuild deleted file mode 100644 index 620dbe69405c..000000000000 --- a/media-libs/libquicktime/libquicktime-0.9.2.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libquicktime/libquicktime-0.9.2.ebuild,v 1.18 2005/12/26 12:34:58 lu_zero 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="x86 alpha ppc amd64 sparc ia64" - -IUSE="gtk jpeg mmx vorbis png" - -DEPEND=">=sys-apps/sed-4.0.5 - media-libs/libdv - gtk? ( =x11-libs/gtk+-1.2* ) - png? ( media-libs/libpng ) - jpeg? ( media-libs/jpeg ) - vorbis? ( media-libs/libvorbis ) - !virtual/quicktime" -PROVIDE="virtual/quicktime" - -src_unpack() { - unpack ${A} - cd ${S} - sed -i "s:\(have_libavcodec=\)true:\1false:g" configure.ac - - # Fix bug 10966 by replacing the x86-centric OPTIMIZE_CFLAGS with - # our $CFLAGS - if ! use x86; then - mv configure.ac configure.ac.old - awk -F= '$1=="OPTIMIZE_CFLAGS" { print $1"="cflags; next } - { print }' cflags="$CFLAGS" \ - <configure.ac.old >configure.ac || die - fi - - use amd64 && epatch ${FILESDIR}/${P}-amd64.patch -} - -src_compile() { - ebegin "Regenerating configure script..." - autoconf - eend - elibtoolize - - local myconf - - use mmx \ - && myconf="${myconf} --enable-mmx" \ - || myconf="${myconf} --disable-mmx" - use gtk \ - && myconf="${myconf} --enable-gtktest" \ - || myconf="${myconf} --disable-gtktest" - - econf ${myconf} || die - emake -j1 || die -} - -src_install() { - make DESTDIR=${D} install || die -} diff --git a/media-libs/libquicktime/libquicktime-0.9.4.ebuild b/media-libs/libquicktime/libquicktime-0.9.4.ebuild deleted file mode 100644 index 498446987048..000000000000 --- a/media-libs/libquicktime/libquicktime-0.9.4.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libquicktime/libquicktime-0.9.4.ebuild,v 1.11 2006/06/29 18:09:29 flameeyes 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 ppc ppc64 sparc x86" - -IUSE="gtk jpeg mmx vorbis png dv ieee1394" - -DEPEND=">=sys-apps/sed-4.0.5 - dv? ( media-libs/libdv ) - gtk? ( =x11-libs/gtk+-1.2* ) - png? ( media-libs/libpng ) - jpeg? ( media-libs/jpeg ) - vorbis? ( media-libs/libvorbis ) - ieee1394? ( - sys-libs/libavc1394 - sys-libs/libraw1394 - ) - !virtual/quicktime" -PROVIDE="virtual/quicktime" - -pkg_setup() { - if has_version '=x11-base/xorg-x11-6*' && ! built_with_use x11-base/xorg-x11 xv; then - die "You need xv support to compile ${PN}." - fi -} - -src_unpack() { - unpack ${A} - - cd "${S}" - epatch "${FILESDIR}/${P}-cflags.patch" - - sed -i -e "s:\(have_libavcodec=\)true:\1false:g" configure.ac - - ebegin "Regenerating configure script..." - autoconf || die - eend - - elibtoolize -} - -src_compile() { - econf --enable-shared \ - --enable-static \ - $(use_enable mmx) \ - $(use_enable gtk) \ - $(use_enable ieee1394 firewire) - - emake -j1 || die "make failed" -} - -src_install() { - make DESTDIR=${D} install || die "make install failed" -} diff --git a/media-libs/libquicktime/libquicktime-0.9.9-r1.ebuild b/media-libs/libquicktime/libquicktime-0.9.9-r1.ebuild deleted file mode 100644 index d440584e4bef..000000000000 --- a/media-libs/libquicktime/libquicktime-0.9.9-r1.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libquicktime/libquicktime-0.9.9-r1.ebuild,v 1.3 2007/04/30 23:18:43 genone Exp $ - -inherit libtool eutils autotools - -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="~amd64 ~ppc ~ppc64 ~sparc ~x86" - -IUSE="mmx X" - -DEPEND="media-libs/libdv - >=x11-libs/gtk+-2.4.0 - media-libs/libpng - media-libs/jpeg - media-libs/libvorbis - media-libs/libogg - >=media-libs/x264-svn-20061014 - X? ( || ( ( x11-libs/libXaw - x11-libs/libXv - x11-proto/xextproto - ) - virtual/x11 - ) - ) - !virtual/quicktime" -PROVIDE="virtual/quicktime" - -pkg_setup() { - if has_version '=x11-base/xorg-x11-6*' && ! built_with_use x11-base/xorg-x11 xv; then - die "You need xv support to compile ${PN}." - fi -} - -src_unpack() { - unpack ${A} - epatch ${FILESDIR}/libquicktime-new-x264.patch -} - -src_compile() { - econf --enable-shared \ - --enable-static \ - --enable-gpl \ - $(use_enable mmx) \ - $(use_with X x) \ - --without-cpuflags || die "econf failed" - emake || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - - # 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." - - if $(has_version =media-libs/libquicktime-0.9.4); then - elog "It seems this directory belongs to libquicktime-0.9.4." - elog "We'll delete that directory now." - rm -rvf /usr/include/quicktime - else - 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 - fi -} - diff --git a/media-libs/libquicktime/libquicktime-0.9.9.ebuild b/media-libs/libquicktime/libquicktime-0.9.9.ebuild deleted file mode 100644 index 0cdf89499df0..000000000000 --- a/media-libs/libquicktime/libquicktime-0.9.9.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libquicktime/libquicktime-0.9.9.ebuild,v 1.3 2007/04/30 23:18:43 genone Exp $ - -inherit libtool eutils autotools - -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="~amd64 ~ppc ~ppc64 ~sparc ~x86" - -IUSE="mmx X" - -DEPEND="media-libs/libdv - >=x11-libs/gtk+-2.4.0 - media-libs/libpng - media-libs/jpeg - media-libs/libvorbis - media-libs/libogg - media-libs/x264-svn - X? ( || ( ( x11-libs/libXaw - x11-libs/libXv - x11-proto/xextproto - ) - virtual/x11 - ) - ) - !virtual/quicktime" -PROVIDE="virtual/quicktime" - -pkg_setup() { - if has_version '=x11-base/xorg-x11-6*' && ! built_with_use x11-base/xorg-x11 xv; then - die "You need xv support to compile ${PN}." - fi -} - -src_compile() { - econf --enable-shared \ - --enable-static \ - --enable-gpl \ - $(use_enable mmx) \ - $(use_with X x) \ - --without-cpuflags || die "econf failed" - emake || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - - # 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." - - if $(has_version =media-libs/libquicktime-0.9.4); then - elog "It seems this directory belongs to libquicktime-0.9.4." - elog "We'll delete that directory now." - rm -rvf /usr/include/quicktime - else - 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 - fi -} - |