[arch-commits] Commit in libquicktime/repos (8 files)
Maxime Gauduin
alucryd at archlinux.org
Wed Dec 2 17:56:24 UTC 2015
Date: Wednesday, December 2, 2015 @ 18:56:23
Author: alucryd
Revision: 148115
archrelease: copy trunk to community-i686, community-x86_64
Added:
libquicktime/repos/community-i686/PKGBUILD
(from rev 148114, libquicktime/trunk/PKGBUILD)
libquicktime/repos/community-i686/ffmpeg2.0.patch
(from rev 148114, libquicktime/trunk/ffmpeg2.0.patch)
libquicktime/repos/community-x86_64/PKGBUILD
(from rev 148114, libquicktime/trunk/PKGBUILD)
libquicktime/repos/community-x86_64/ffmpeg2.0.patch
(from rev 148114, libquicktime/trunk/ffmpeg2.0.patch)
Deleted:
libquicktime/repos/community-i686/PKGBUILD
libquicktime/repos/community-i686/ffmpeg2.0.patch
libquicktime/repos/community-x86_64/PKGBUILD
libquicktime/repos/community-x86_64/ffmpeg2.0.patch
----------------------------------+
/PKGBUILD | 82 +++++++++++
/ffmpeg2.0.patch | 270 +++++++++++++++++++++++++++++++++++++
community-i686/PKGBUILD | 37 -----
community-i686/ffmpeg2.0.patch | 135 ------------------
community-x86_64/PKGBUILD | 37 -----
community-x86_64/ffmpeg2.0.patch | 135 ------------------
6 files changed, 352 insertions(+), 344 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2015-12-02 17:56:09 UTC (rev 148114)
+++ community-i686/PKGBUILD 2015-12-02 17:56:23 UTC (rev 148115)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Federico Cinelli <cinelli at aur.archlinux.org>
-# Maintainer: Mateusz Herych <heniekk at gmail.com>
-
-pkgname=libquicktime
-pkgver=1.2.4
-pkgrel=12
-pkgdesc="A library for reading and writing quicktime files"
-arch=('i686' 'x86_64')
-license=('GPL')
-url="http://libquicktime.sourceforge.net/"
-depends=('gtk2' 'ffmpeg' 'libxv' 'libxaw' 'faad2' 'faac')
-makedepends=('mesa-libgl' 'x264')
-source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
- ffmpeg2.0.patch)
-sha256sums=('1c53359c33b31347b4d7b00d3611463fe5e942cae3ec0fefe0d2fd413fd47368'
- 'a1c8415e8e7bc04c81b946b9e3746f7d5ef24819135962280c3a7ddb3f2baa2b')
-
-prepare() {
- cd $pkgname-$pkgver
- patch -Np1 -i ../ffmpeg2.0.patch
-}
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
- --enable-gpl \
- --with-ffmpeg \
- --with-x264 \
- --without-doxygen
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
-}
Copied: libquicktime/repos/community-i686/PKGBUILD (from rev 148114, libquicktime/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-12-02 17:56:23 UTC (rev 148115)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Federico Cinelli <cinelli at aur.archlinux.org>
+# Maintainer: Mateusz Herych <heniekk at gmail.com>
+
+pkgname=libquicktime
+pkgver=1.2.4
+pkgrel=13
+pkgdesc="A library for reading and writing quicktime files"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://libquicktime.sourceforge.net/"
+depends=('alsa-lib' 'faac' 'faad2' 'gtk2' 'lame' 'libjpeg-turbo' 'libxaw'
+ 'libxv' 'schroedinger'
+ 'libavcodec.so' 'libswscale.so' 'libvorbisenc.so' 'libvorbisfile.so'
+ 'libvorbis.so' 'libx264.so')
+makedepends=('mesa-libgl')
+source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
+ ffmpeg2.0.patch)
+sha256sums=('1c53359c33b31347b4d7b00d3611463fe5e942cae3ec0fefe0d2fd413fd47368'
+ 'a1c8415e8e7bc04c81b946b9e3746f7d5ef24819135962280c3a7ddb3f2baa2b')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -Np1 -i ../ffmpeg2.0.patch
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure \
+ --prefix=/usr \
+ --enable-gpl \
+ --with-ffmpeg \
+ --with-x264 \
+ --without-doxygen
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
Deleted: community-i686/ffmpeg2.0.patch
===================================================================
--- community-i686/ffmpeg2.0.patch 2015-12-02 17:56:09 UTC (rev 148114)
+++ community-i686/ffmpeg2.0.patch 2015-12-02 17:56:23 UTC (rev 148115)
@@ -1,135 +0,0 @@
-Binary files a/plugins/ffmpeg/.lqt_ffmpeg.c.swp and b/plugins/ffmpeg/.lqt_ffmpeg.c.swp differ
-diff -rupN a/plugins/ffmpeg/ffmpeg.h b/plugins/ffmpeg/ffmpeg.h
---- a/plugins/ffmpeg/ffmpeg.h 2012-02-15 20:48:30.000000000 +0100
-+++ b/plugins/ffmpeg/ffmpeg.h 2013-07-15 15:05:19.307534593 +0200
-@@ -45,3 +45,7 @@ void lqt_ffmpeg_set_parameter(AVCodecCon
-
-
- #endif
-+#define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000
-+#define CODEC_FLAG2_STRICT_GOP 0x00000002
-+#define CODEC_FLAG_QP_RD 0x08000000
-+#define CODEC_FLAG_CBP_RD 0x04000000
-diff -rupN a/plugins/ffmpeg/lqt_ffmpeg.c b/plugins/ffmpeg/lqt_ffmpeg.c
---- a/plugins/ffmpeg/lqt_ffmpeg.c 2012-02-15 20:48:30.000000000 +0100
-+++ b/plugins/ffmpeg/lqt_ffmpeg.c 2013-07-15 15:19:09.730831655 +0200
-@@ -89,19 +89,8 @@ int ffmpeg_num_video_codecs = -1;
- PARAM_QSCALE, \
- PARAM_QCOMPRESS, \
- PARAM_QBLUR, \
-- PARAM_QUANTIZER_NOISE_SHAPING, \
- PARAM_TRELLIS
-
--#define ENCODE_PARAM_VIDEO_QUANTIZER_IP \
-- ENCODE_PARAM_VIDEO_QUANTIZER_I, \
-- PARAM_I_QUANT_FACTOR, \
-- PARAM_I_QUANT_OFFSET
--
--#define ENCODE_PARAM_VIDEO_QUANTIZER_IPB \
-- ENCODE_PARAM_VIDEO_QUANTIZER_IP, \
-- PARAM_B_QUANT_FACTOR, \
-- PARAM_B_QUANT_OFFSET
--
- #define ENCODE_PARAM_VIDEO_FRAMETYPES_IP \
- { \
- .name = "frame_types", \
-@@ -207,7 +196,6 @@ static lqt_parameter_info_static_t encod
- ENCODE_PARAM_VIDEO_FRAMETYPES_IPB,
- PARAM_FLAG_AC_PRED_MPEG4,
- ENCODE_PARAM_VIDEO_RATECONTROL,
-- ENCODE_PARAM_VIDEO_QUANTIZER_IPB,
- PARAM_FLAG_CBP_RD,
- ENCODE_PARAM_VIDEO_ME,
- PARAM_FLAG_GMC,
-@@ -225,7 +213,6 @@ static lqt_parameter_info_static_t encod
- static lqt_parameter_info_static_t encode_parameters_dx50[] = {
- ENCODE_PARAM_VIDEO_FRAMETYPES_IP,
- ENCODE_PARAM_VIDEO_RATECONTROL,
-- ENCODE_PARAM_VIDEO_QUANTIZER_IP,
- ENCODE_PARAM_VIDEO_ME,
- ENCODE_PARAM_VIDEO_ME_PRE,
- ENCODE_PARAM_VIDEO_MASKING,
-@@ -237,7 +224,6 @@ static lqt_parameter_info_static_t encod
- static lqt_parameter_info_static_t encode_parameters_h263[] = {
- ENCODE_PARAM_VIDEO_FRAMETYPES_IP,
- ENCODE_PARAM_VIDEO_RATECONTROL,
-- ENCODE_PARAM_VIDEO_QUANTIZER_IP,
- ENCODE_PARAM_VIDEO_ME,
- PARAM_FLAG_4MV,
- ENCODE_PARAM_VIDEO_ME_PRE,
-@@ -250,7 +236,6 @@ static lqt_parameter_info_static_t encod
- static lqt_parameter_info_static_t encode_parameters_h263p[] = {
- ENCODE_PARAM_VIDEO_FRAMETYPES_IP,
- ENCODE_PARAM_VIDEO_RATECONTROL,
-- ENCODE_PARAM_VIDEO_QUANTIZER_IP,
- ENCODE_PARAM_VIDEO_ME,
- PARAM_FLAG_4MV,
- ENCODE_PARAM_VIDEO_ME_PRE,
-@@ -264,7 +249,6 @@ static lqt_parameter_info_static_t encod
- static lqt_parameter_info_static_t encode_parameters_msmpeg4v3[] = {
- ENCODE_PARAM_VIDEO_FRAMETYPES_IP,
- ENCODE_PARAM_VIDEO_RATECONTROL,
-- ENCODE_PARAM_VIDEO_QUANTIZER_IP,
- ENCODE_PARAM_VIDEO_ME,
- ENCODE_PARAM_VIDEO_ME_PRE,
- ENCODE_PARAM_VIDEO_MASKING,
-diff -rupN a/plugins/ffmpeg/params.c b/plugins/ffmpeg/params.c
---- a/plugins/ffmpeg/params.c 2012-03-07 15:10:41.000000000 +0100
-+++ b/plugins/ffmpeg/params.c 2013-07-15 15:09:38.214189953 +0200
-@@ -202,8 +202,10 @@ void lqt_ffmpeg_set_parameter(AVCodecCon
- PARAM_INT("ff_max_b_frames",max_b_frames);
- PARAM_FLOAT("ff_b_quant_factor",b_quant_factor);
- PARAM_INT("ff_b_frame_strategy",b_frame_strategy);
-+#if (LIBAVCODEC_VERSION_MAJOR < 55)
- PARAM_INT("ff_luma_elim_threshold",luma_elim_threshold);
- PARAM_INT("ff_chroma_elim_threshold",chroma_elim_threshold);
-+#endif
- PARAM_INT("ff_strict_std_compliance",strict_std_compliance);
- PARAM_QP2LAMBDA("ff_b_quant_offset",b_quant_offset);
- PARAM_INT("ff_rc_min_rate",rc_min_rate);
-@@ -241,8 +243,10 @@ void lqt_ffmpeg_set_parameter(AVCodecCon
- PARAM_QP2LAMBDA("ff_lmax", lmax);
- PARAM_INT("ff_noise_reduction",noise_reduction);
- PARAM_INT_SCALE("ff_rc_initial_buffer_occupancy",rc_initial_buffer_occupancy,1000);
-+#if #if (LIBAVCODEC_VERSION_MAJOR < 55)
- PARAM_INT("ff_inter_threshold",inter_threshold);
- PARAM_INT("ff_quantizer_noise_shaping",quantizer_noise_shaping);
-+#endif
- PARAM_INT("ff_thread_count",thread_count);
- PARAM_INT("ff_me_threshold",me_threshold);
- PARAM_INT("ff_mb_threshold",mb_threshold);
-diff -rupN a/plugins/ffmpeg/params.h b/plugins/ffmpeg/params.h
---- a/plugins/ffmpeg/params.h 2011-05-11 17:13:39.000000000 +0200
-+++ b/plugins/ffmpeg/params.h 2013-07-15 15:09:04.860858069 +0200
-@@ -177,6 +177,7 @@ the reference. Unused for constant quant
- .val_max = { .val_int = 1 }, \
- }
-
-+#if (LIBAVCODEC_VERSION_MAJOR < 55)
- #define PARAM_LUMA_ELIM_THRESHOLD \
- { \
- .name = "ff_luma_elim_threshold", \
-@@ -202,6 +203,7 @@ recommendation") \
- chrominamce. Negative values also consider dc \
- coefficient. 7 is JVT recommendation") \
- }
-+#endif
-
- #define PARAM_STRICT_STANDARD_COMPLIANCE \
- { \
-@@ -739,6 +741,7 @@ with max and/or min bitrate, this must b
-
- /* Does nothing */
- /** Frame types */
-+#if (LIBAVCODEC_VERSION_MAJOR < 55)
- #define PARAM_INTER_THRESHOLD \
- { \
- .name = "ff_inter_threshold", \
-@@ -759,6 +762,7 @@ with max and/or min bitrate, this must b
- .help_string = TRS("Choose quantization such that noise will be masked by " \
- "similar-frequency content in the image") \
- }
-+#endif
-
- /** Motion estimation */
- #define PARAM_ME_THRESHOLD \
Copied: libquicktime/repos/community-i686/ffmpeg2.0.patch (from rev 148114, libquicktime/trunk/ffmpeg2.0.patch)
===================================================================
--- community-i686/ffmpeg2.0.patch (rev 0)
+++ community-i686/ffmpeg2.0.patch 2015-12-02 17:56:23 UTC (rev 148115)
@@ -0,0 +1,135 @@
+Binary files a/plugins/ffmpeg/.lqt_ffmpeg.c.swp and b/plugins/ffmpeg/.lqt_ffmpeg.c.swp differ
+diff -rupN a/plugins/ffmpeg/ffmpeg.h b/plugins/ffmpeg/ffmpeg.h
+--- a/plugins/ffmpeg/ffmpeg.h 2012-02-15 20:48:30.000000000 +0100
++++ b/plugins/ffmpeg/ffmpeg.h 2013-07-15 15:05:19.307534593 +0200
+@@ -45,3 +45,7 @@ void lqt_ffmpeg_set_parameter(AVCodecCon
+
+
+ #endif
++#define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000
++#define CODEC_FLAG2_STRICT_GOP 0x00000002
++#define CODEC_FLAG_QP_RD 0x08000000
++#define CODEC_FLAG_CBP_RD 0x04000000
+diff -rupN a/plugins/ffmpeg/lqt_ffmpeg.c b/plugins/ffmpeg/lqt_ffmpeg.c
+--- a/plugins/ffmpeg/lqt_ffmpeg.c 2012-02-15 20:48:30.000000000 +0100
++++ b/plugins/ffmpeg/lqt_ffmpeg.c 2013-07-15 15:19:09.730831655 +0200
+@@ -89,19 +89,8 @@ int ffmpeg_num_video_codecs = -1;
+ PARAM_QSCALE, \
+ PARAM_QCOMPRESS, \
+ PARAM_QBLUR, \
+- PARAM_QUANTIZER_NOISE_SHAPING, \
+ PARAM_TRELLIS
+
+-#define ENCODE_PARAM_VIDEO_QUANTIZER_IP \
+- ENCODE_PARAM_VIDEO_QUANTIZER_I, \
+- PARAM_I_QUANT_FACTOR, \
+- PARAM_I_QUANT_OFFSET
+-
+-#define ENCODE_PARAM_VIDEO_QUANTIZER_IPB \
+- ENCODE_PARAM_VIDEO_QUANTIZER_IP, \
+- PARAM_B_QUANT_FACTOR, \
+- PARAM_B_QUANT_OFFSET
+-
+ #define ENCODE_PARAM_VIDEO_FRAMETYPES_IP \
+ { \
+ .name = "frame_types", \
+@@ -207,7 +196,6 @@ static lqt_parameter_info_static_t encod
+ ENCODE_PARAM_VIDEO_FRAMETYPES_IPB,
+ PARAM_FLAG_AC_PRED_MPEG4,
+ ENCODE_PARAM_VIDEO_RATECONTROL,
+- ENCODE_PARAM_VIDEO_QUANTIZER_IPB,
+ PARAM_FLAG_CBP_RD,
+ ENCODE_PARAM_VIDEO_ME,
+ PARAM_FLAG_GMC,
+@@ -225,7 +213,6 @@ static lqt_parameter_info_static_t encod
+ static lqt_parameter_info_static_t encode_parameters_dx50[] = {
+ ENCODE_PARAM_VIDEO_FRAMETYPES_IP,
+ ENCODE_PARAM_VIDEO_RATECONTROL,
+- ENCODE_PARAM_VIDEO_QUANTIZER_IP,
+ ENCODE_PARAM_VIDEO_ME,
+ ENCODE_PARAM_VIDEO_ME_PRE,
+ ENCODE_PARAM_VIDEO_MASKING,
+@@ -237,7 +224,6 @@ static lqt_parameter_info_static_t encod
+ static lqt_parameter_info_static_t encode_parameters_h263[] = {
+ ENCODE_PARAM_VIDEO_FRAMETYPES_IP,
+ ENCODE_PARAM_VIDEO_RATECONTROL,
+- ENCODE_PARAM_VIDEO_QUANTIZER_IP,
+ ENCODE_PARAM_VIDEO_ME,
+ PARAM_FLAG_4MV,
+ ENCODE_PARAM_VIDEO_ME_PRE,
+@@ -250,7 +236,6 @@ static lqt_parameter_info_static_t encod
+ static lqt_parameter_info_static_t encode_parameters_h263p[] = {
+ ENCODE_PARAM_VIDEO_FRAMETYPES_IP,
+ ENCODE_PARAM_VIDEO_RATECONTROL,
+- ENCODE_PARAM_VIDEO_QUANTIZER_IP,
+ ENCODE_PARAM_VIDEO_ME,
+ PARAM_FLAG_4MV,
+ ENCODE_PARAM_VIDEO_ME_PRE,
+@@ -264,7 +249,6 @@ static lqt_parameter_info_static_t encod
+ static lqt_parameter_info_static_t encode_parameters_msmpeg4v3[] = {
+ ENCODE_PARAM_VIDEO_FRAMETYPES_IP,
+ ENCODE_PARAM_VIDEO_RATECONTROL,
+- ENCODE_PARAM_VIDEO_QUANTIZER_IP,
+ ENCODE_PARAM_VIDEO_ME,
+ ENCODE_PARAM_VIDEO_ME_PRE,
+ ENCODE_PARAM_VIDEO_MASKING,
+diff -rupN a/plugins/ffmpeg/params.c b/plugins/ffmpeg/params.c
+--- a/plugins/ffmpeg/params.c 2012-03-07 15:10:41.000000000 +0100
++++ b/plugins/ffmpeg/params.c 2013-07-15 15:09:38.214189953 +0200
+@@ -202,8 +202,10 @@ void lqt_ffmpeg_set_parameter(AVCodecCon
+ PARAM_INT("ff_max_b_frames",max_b_frames);
+ PARAM_FLOAT("ff_b_quant_factor",b_quant_factor);
+ PARAM_INT("ff_b_frame_strategy",b_frame_strategy);
++#if (LIBAVCODEC_VERSION_MAJOR < 55)
+ PARAM_INT("ff_luma_elim_threshold",luma_elim_threshold);
+ PARAM_INT("ff_chroma_elim_threshold",chroma_elim_threshold);
++#endif
+ PARAM_INT("ff_strict_std_compliance",strict_std_compliance);
+ PARAM_QP2LAMBDA("ff_b_quant_offset",b_quant_offset);
+ PARAM_INT("ff_rc_min_rate",rc_min_rate);
+@@ -241,8 +243,10 @@ void lqt_ffmpeg_set_parameter(AVCodecCon
+ PARAM_QP2LAMBDA("ff_lmax", lmax);
+ PARAM_INT("ff_noise_reduction",noise_reduction);
+ PARAM_INT_SCALE("ff_rc_initial_buffer_occupancy",rc_initial_buffer_occupancy,1000);
++#if #if (LIBAVCODEC_VERSION_MAJOR < 55)
+ PARAM_INT("ff_inter_threshold",inter_threshold);
+ PARAM_INT("ff_quantizer_noise_shaping",quantizer_noise_shaping);
++#endif
+ PARAM_INT("ff_thread_count",thread_count);
+ PARAM_INT("ff_me_threshold",me_threshold);
+ PARAM_INT("ff_mb_threshold",mb_threshold);
+diff -rupN a/plugins/ffmpeg/params.h b/plugins/ffmpeg/params.h
+--- a/plugins/ffmpeg/params.h 2011-05-11 17:13:39.000000000 +0200
++++ b/plugins/ffmpeg/params.h 2013-07-15 15:09:04.860858069 +0200
+@@ -177,6 +177,7 @@ the reference. Unused for constant quant
+ .val_max = { .val_int = 1 }, \
+ }
+
++#if (LIBAVCODEC_VERSION_MAJOR < 55)
+ #define PARAM_LUMA_ELIM_THRESHOLD \
+ { \
+ .name = "ff_luma_elim_threshold", \
+@@ -202,6 +203,7 @@ recommendation") \
+ chrominamce. Negative values also consider dc \
+ coefficient. 7 is JVT recommendation") \
+ }
++#endif
+
+ #define PARAM_STRICT_STANDARD_COMPLIANCE \
+ { \
+@@ -739,6 +741,7 @@ with max and/or min bitrate, this must b
+
+ /* Does nothing */
+ /** Frame types */
++#if (LIBAVCODEC_VERSION_MAJOR < 55)
+ #define PARAM_INTER_THRESHOLD \
+ { \
+ .name = "ff_inter_threshold", \
+@@ -759,6 +762,7 @@ with max and/or min bitrate, this must b
+ .help_string = TRS("Choose quantization such that noise will be masked by " \
+ "similar-frequency content in the image") \
+ }
++#endif
+
+ /** Motion estimation */
+ #define PARAM_ME_THRESHOLD \
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2015-12-02 17:56:09 UTC (rev 148114)
+++ community-x86_64/PKGBUILD 2015-12-02 17:56:23 UTC (rev 148115)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Federico Cinelli <cinelli at aur.archlinux.org>
-# Maintainer: Mateusz Herych <heniekk at gmail.com>
-
-pkgname=libquicktime
-pkgver=1.2.4
-pkgrel=12
-pkgdesc="A library for reading and writing quicktime files"
-arch=('i686' 'x86_64')
-license=('GPL')
-url="http://libquicktime.sourceforge.net/"
-depends=('gtk2' 'ffmpeg' 'libxv' 'libxaw' 'faad2' 'faac')
-makedepends=('mesa-libgl' 'x264')
-source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
- ffmpeg2.0.patch)
-sha256sums=('1c53359c33b31347b4d7b00d3611463fe5e942cae3ec0fefe0d2fd413fd47368'
- 'a1c8415e8e7bc04c81b946b9e3746f7d5ef24819135962280c3a7ddb3f2baa2b')
-
-prepare() {
- cd $pkgname-$pkgver
- patch -Np1 -i ../ffmpeg2.0.patch
-}
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
- --enable-gpl \
- --with-ffmpeg \
- --with-x264 \
- --without-doxygen
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
-}
Copied: libquicktime/repos/community-x86_64/PKGBUILD (from rev 148114, libquicktime/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2015-12-02 17:56:23 UTC (rev 148115)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Federico Cinelli <cinelli at aur.archlinux.org>
+# Maintainer: Mateusz Herych <heniekk at gmail.com>
+
+pkgname=libquicktime
+pkgver=1.2.4
+pkgrel=13
+pkgdesc="A library for reading and writing quicktime files"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://libquicktime.sourceforge.net/"
+depends=('alsa-lib' 'faac' 'faad2' 'gtk2' 'lame' 'libjpeg-turbo' 'libxaw'
+ 'libxv' 'schroedinger'
+ 'libavcodec.so' 'libswscale.so' 'libvorbisenc.so' 'libvorbisfile.so'
+ 'libvorbis.so' 'libx264.so')
+makedepends=('mesa-libgl')
+source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
+ ffmpeg2.0.patch)
+sha256sums=('1c53359c33b31347b4d7b00d3611463fe5e942cae3ec0fefe0d2fd413fd47368'
+ 'a1c8415e8e7bc04c81b946b9e3746f7d5ef24819135962280c3a7ddb3f2baa2b')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -Np1 -i ../ffmpeg2.0.patch
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure \
+ --prefix=/usr \
+ --enable-gpl \
+ --with-ffmpeg \
+ --with-x264 \
+ --without-doxygen
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
Deleted: community-x86_64/ffmpeg2.0.patch
===================================================================
--- community-x86_64/ffmpeg2.0.patch 2015-12-02 17:56:09 UTC (rev 148114)
+++ community-x86_64/ffmpeg2.0.patch 2015-12-02 17:56:23 UTC (rev 148115)
@@ -1,135 +0,0 @@
-Binary files a/plugins/ffmpeg/.lqt_ffmpeg.c.swp and b/plugins/ffmpeg/.lqt_ffmpeg.c.swp differ
-diff -rupN a/plugins/ffmpeg/ffmpeg.h b/plugins/ffmpeg/ffmpeg.h
---- a/plugins/ffmpeg/ffmpeg.h 2012-02-15 20:48:30.000000000 +0100
-+++ b/plugins/ffmpeg/ffmpeg.h 2013-07-15 15:05:19.307534593 +0200
-@@ -45,3 +45,7 @@ void lqt_ffmpeg_set_parameter(AVCodecCon
-
-
- #endif
-+#define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000
-+#define CODEC_FLAG2_STRICT_GOP 0x00000002
-+#define CODEC_FLAG_QP_RD 0x08000000
-+#define CODEC_FLAG_CBP_RD 0x04000000
-diff -rupN a/plugins/ffmpeg/lqt_ffmpeg.c b/plugins/ffmpeg/lqt_ffmpeg.c
---- a/plugins/ffmpeg/lqt_ffmpeg.c 2012-02-15 20:48:30.000000000 +0100
-+++ b/plugins/ffmpeg/lqt_ffmpeg.c 2013-07-15 15:19:09.730831655 +0200
-@@ -89,19 +89,8 @@ int ffmpeg_num_video_codecs = -1;
- PARAM_QSCALE, \
- PARAM_QCOMPRESS, \
- PARAM_QBLUR, \
-- PARAM_QUANTIZER_NOISE_SHAPING, \
- PARAM_TRELLIS
-
--#define ENCODE_PARAM_VIDEO_QUANTIZER_IP \
-- ENCODE_PARAM_VIDEO_QUANTIZER_I, \
-- PARAM_I_QUANT_FACTOR, \
-- PARAM_I_QUANT_OFFSET
--
--#define ENCODE_PARAM_VIDEO_QUANTIZER_IPB \
-- ENCODE_PARAM_VIDEO_QUANTIZER_IP, \
-- PARAM_B_QUANT_FACTOR, \
-- PARAM_B_QUANT_OFFSET
--
- #define ENCODE_PARAM_VIDEO_FRAMETYPES_IP \
- { \
- .name = "frame_types", \
-@@ -207,7 +196,6 @@ static lqt_parameter_info_static_t encod
- ENCODE_PARAM_VIDEO_FRAMETYPES_IPB,
- PARAM_FLAG_AC_PRED_MPEG4,
- ENCODE_PARAM_VIDEO_RATECONTROL,
-- ENCODE_PARAM_VIDEO_QUANTIZER_IPB,
- PARAM_FLAG_CBP_RD,
- ENCODE_PARAM_VIDEO_ME,
- PARAM_FLAG_GMC,
-@@ -225,7 +213,6 @@ static lqt_parameter_info_static_t encod
- static lqt_parameter_info_static_t encode_parameters_dx50[] = {
- ENCODE_PARAM_VIDEO_FRAMETYPES_IP,
- ENCODE_PARAM_VIDEO_RATECONTROL,
-- ENCODE_PARAM_VIDEO_QUANTIZER_IP,
- ENCODE_PARAM_VIDEO_ME,
- ENCODE_PARAM_VIDEO_ME_PRE,
- ENCODE_PARAM_VIDEO_MASKING,
-@@ -237,7 +224,6 @@ static lqt_parameter_info_static_t encod
- static lqt_parameter_info_static_t encode_parameters_h263[] = {
- ENCODE_PARAM_VIDEO_FRAMETYPES_IP,
- ENCODE_PARAM_VIDEO_RATECONTROL,
-- ENCODE_PARAM_VIDEO_QUANTIZER_IP,
- ENCODE_PARAM_VIDEO_ME,
- PARAM_FLAG_4MV,
- ENCODE_PARAM_VIDEO_ME_PRE,
-@@ -250,7 +236,6 @@ static lqt_parameter_info_static_t encod
- static lqt_parameter_info_static_t encode_parameters_h263p[] = {
- ENCODE_PARAM_VIDEO_FRAMETYPES_IP,
- ENCODE_PARAM_VIDEO_RATECONTROL,
-- ENCODE_PARAM_VIDEO_QUANTIZER_IP,
- ENCODE_PARAM_VIDEO_ME,
- PARAM_FLAG_4MV,
- ENCODE_PARAM_VIDEO_ME_PRE,
-@@ -264,7 +249,6 @@ static lqt_parameter_info_static_t encod
- static lqt_parameter_info_static_t encode_parameters_msmpeg4v3[] = {
- ENCODE_PARAM_VIDEO_FRAMETYPES_IP,
- ENCODE_PARAM_VIDEO_RATECONTROL,
-- ENCODE_PARAM_VIDEO_QUANTIZER_IP,
- ENCODE_PARAM_VIDEO_ME,
- ENCODE_PARAM_VIDEO_ME_PRE,
- ENCODE_PARAM_VIDEO_MASKING,
-diff -rupN a/plugins/ffmpeg/params.c b/plugins/ffmpeg/params.c
---- a/plugins/ffmpeg/params.c 2012-03-07 15:10:41.000000000 +0100
-+++ b/plugins/ffmpeg/params.c 2013-07-15 15:09:38.214189953 +0200
-@@ -202,8 +202,10 @@ void lqt_ffmpeg_set_parameter(AVCodecCon
- PARAM_INT("ff_max_b_frames",max_b_frames);
- PARAM_FLOAT("ff_b_quant_factor",b_quant_factor);
- PARAM_INT("ff_b_frame_strategy",b_frame_strategy);
-+#if (LIBAVCODEC_VERSION_MAJOR < 55)
- PARAM_INT("ff_luma_elim_threshold",luma_elim_threshold);
- PARAM_INT("ff_chroma_elim_threshold",chroma_elim_threshold);
-+#endif
- PARAM_INT("ff_strict_std_compliance",strict_std_compliance);
- PARAM_QP2LAMBDA("ff_b_quant_offset",b_quant_offset);
- PARAM_INT("ff_rc_min_rate",rc_min_rate);
-@@ -241,8 +243,10 @@ void lqt_ffmpeg_set_parameter(AVCodecCon
- PARAM_QP2LAMBDA("ff_lmax", lmax);
- PARAM_INT("ff_noise_reduction",noise_reduction);
- PARAM_INT_SCALE("ff_rc_initial_buffer_occupancy",rc_initial_buffer_occupancy,1000);
-+#if #if (LIBAVCODEC_VERSION_MAJOR < 55)
- PARAM_INT("ff_inter_threshold",inter_threshold);
- PARAM_INT("ff_quantizer_noise_shaping",quantizer_noise_shaping);
-+#endif
- PARAM_INT("ff_thread_count",thread_count);
- PARAM_INT("ff_me_threshold",me_threshold);
- PARAM_INT("ff_mb_threshold",mb_threshold);
-diff -rupN a/plugins/ffmpeg/params.h b/plugins/ffmpeg/params.h
---- a/plugins/ffmpeg/params.h 2011-05-11 17:13:39.000000000 +0200
-+++ b/plugins/ffmpeg/params.h 2013-07-15 15:09:04.860858069 +0200
-@@ -177,6 +177,7 @@ the reference. Unused for constant quant
- .val_max = { .val_int = 1 }, \
- }
-
-+#if (LIBAVCODEC_VERSION_MAJOR < 55)
- #define PARAM_LUMA_ELIM_THRESHOLD \
- { \
- .name = "ff_luma_elim_threshold", \
-@@ -202,6 +203,7 @@ recommendation") \
- chrominamce. Negative values also consider dc \
- coefficient. 7 is JVT recommendation") \
- }
-+#endif
-
- #define PARAM_STRICT_STANDARD_COMPLIANCE \
- { \
-@@ -739,6 +741,7 @@ with max and/or min bitrate, this must b
-
- /* Does nothing */
- /** Frame types */
-+#if (LIBAVCODEC_VERSION_MAJOR < 55)
- #define PARAM_INTER_THRESHOLD \
- { \
- .name = "ff_inter_threshold", \
-@@ -759,6 +762,7 @@ with max and/or min bitrate, this must b
- .help_string = TRS("Choose quantization such that noise will be masked by " \
- "similar-frequency content in the image") \
- }
-+#endif
-
- /** Motion estimation */
- #define PARAM_ME_THRESHOLD \
Copied: libquicktime/repos/community-x86_64/ffmpeg2.0.patch (from rev 148114, libquicktime/trunk/ffmpeg2.0.patch)
===================================================================
--- community-x86_64/ffmpeg2.0.patch (rev 0)
+++ community-x86_64/ffmpeg2.0.patch 2015-12-02 17:56:23 UTC (rev 148115)
@@ -0,0 +1,135 @@
+Binary files a/plugins/ffmpeg/.lqt_ffmpeg.c.swp and b/plugins/ffmpeg/.lqt_ffmpeg.c.swp differ
+diff -rupN a/plugins/ffmpeg/ffmpeg.h b/plugins/ffmpeg/ffmpeg.h
+--- a/plugins/ffmpeg/ffmpeg.h 2012-02-15 20:48:30.000000000 +0100
++++ b/plugins/ffmpeg/ffmpeg.h 2013-07-15 15:05:19.307534593 +0200
+@@ -45,3 +45,7 @@ void lqt_ffmpeg_set_parameter(AVCodecCon
+
+
+ #endif
++#define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000
++#define CODEC_FLAG2_STRICT_GOP 0x00000002
++#define CODEC_FLAG_QP_RD 0x08000000
++#define CODEC_FLAG_CBP_RD 0x04000000
+diff -rupN a/plugins/ffmpeg/lqt_ffmpeg.c b/plugins/ffmpeg/lqt_ffmpeg.c
+--- a/plugins/ffmpeg/lqt_ffmpeg.c 2012-02-15 20:48:30.000000000 +0100
++++ b/plugins/ffmpeg/lqt_ffmpeg.c 2013-07-15 15:19:09.730831655 +0200
+@@ -89,19 +89,8 @@ int ffmpeg_num_video_codecs = -1;
+ PARAM_QSCALE, \
+ PARAM_QCOMPRESS, \
+ PARAM_QBLUR, \
+- PARAM_QUANTIZER_NOISE_SHAPING, \
+ PARAM_TRELLIS
+
+-#define ENCODE_PARAM_VIDEO_QUANTIZER_IP \
+- ENCODE_PARAM_VIDEO_QUANTIZER_I, \
+- PARAM_I_QUANT_FACTOR, \
+- PARAM_I_QUANT_OFFSET
+-
+-#define ENCODE_PARAM_VIDEO_QUANTIZER_IPB \
+- ENCODE_PARAM_VIDEO_QUANTIZER_IP, \
+- PARAM_B_QUANT_FACTOR, \
+- PARAM_B_QUANT_OFFSET
+-
+ #define ENCODE_PARAM_VIDEO_FRAMETYPES_IP \
+ { \
+ .name = "frame_types", \
+@@ -207,7 +196,6 @@ static lqt_parameter_info_static_t encod
+ ENCODE_PARAM_VIDEO_FRAMETYPES_IPB,
+ PARAM_FLAG_AC_PRED_MPEG4,
+ ENCODE_PARAM_VIDEO_RATECONTROL,
+- ENCODE_PARAM_VIDEO_QUANTIZER_IPB,
+ PARAM_FLAG_CBP_RD,
+ ENCODE_PARAM_VIDEO_ME,
+ PARAM_FLAG_GMC,
+@@ -225,7 +213,6 @@ static lqt_parameter_info_static_t encod
+ static lqt_parameter_info_static_t encode_parameters_dx50[] = {
+ ENCODE_PARAM_VIDEO_FRAMETYPES_IP,
+ ENCODE_PARAM_VIDEO_RATECONTROL,
+- ENCODE_PARAM_VIDEO_QUANTIZER_IP,
+ ENCODE_PARAM_VIDEO_ME,
+ ENCODE_PARAM_VIDEO_ME_PRE,
+ ENCODE_PARAM_VIDEO_MASKING,
+@@ -237,7 +224,6 @@ static lqt_parameter_info_static_t encod
+ static lqt_parameter_info_static_t encode_parameters_h263[] = {
+ ENCODE_PARAM_VIDEO_FRAMETYPES_IP,
+ ENCODE_PARAM_VIDEO_RATECONTROL,
+- ENCODE_PARAM_VIDEO_QUANTIZER_IP,
+ ENCODE_PARAM_VIDEO_ME,
+ PARAM_FLAG_4MV,
+ ENCODE_PARAM_VIDEO_ME_PRE,
+@@ -250,7 +236,6 @@ static lqt_parameter_info_static_t encod
+ static lqt_parameter_info_static_t encode_parameters_h263p[] = {
+ ENCODE_PARAM_VIDEO_FRAMETYPES_IP,
+ ENCODE_PARAM_VIDEO_RATECONTROL,
+- ENCODE_PARAM_VIDEO_QUANTIZER_IP,
+ ENCODE_PARAM_VIDEO_ME,
+ PARAM_FLAG_4MV,
+ ENCODE_PARAM_VIDEO_ME_PRE,
+@@ -264,7 +249,6 @@ static lqt_parameter_info_static_t encod
+ static lqt_parameter_info_static_t encode_parameters_msmpeg4v3[] = {
+ ENCODE_PARAM_VIDEO_FRAMETYPES_IP,
+ ENCODE_PARAM_VIDEO_RATECONTROL,
+- ENCODE_PARAM_VIDEO_QUANTIZER_IP,
+ ENCODE_PARAM_VIDEO_ME,
+ ENCODE_PARAM_VIDEO_ME_PRE,
+ ENCODE_PARAM_VIDEO_MASKING,
+diff -rupN a/plugins/ffmpeg/params.c b/plugins/ffmpeg/params.c
+--- a/plugins/ffmpeg/params.c 2012-03-07 15:10:41.000000000 +0100
++++ b/plugins/ffmpeg/params.c 2013-07-15 15:09:38.214189953 +0200
+@@ -202,8 +202,10 @@ void lqt_ffmpeg_set_parameter(AVCodecCon
+ PARAM_INT("ff_max_b_frames",max_b_frames);
+ PARAM_FLOAT("ff_b_quant_factor",b_quant_factor);
+ PARAM_INT("ff_b_frame_strategy",b_frame_strategy);
++#if (LIBAVCODEC_VERSION_MAJOR < 55)
+ PARAM_INT("ff_luma_elim_threshold",luma_elim_threshold);
+ PARAM_INT("ff_chroma_elim_threshold",chroma_elim_threshold);
++#endif
+ PARAM_INT("ff_strict_std_compliance",strict_std_compliance);
+ PARAM_QP2LAMBDA("ff_b_quant_offset",b_quant_offset);
+ PARAM_INT("ff_rc_min_rate",rc_min_rate);
+@@ -241,8 +243,10 @@ void lqt_ffmpeg_set_parameter(AVCodecCon
+ PARAM_QP2LAMBDA("ff_lmax", lmax);
+ PARAM_INT("ff_noise_reduction",noise_reduction);
+ PARAM_INT_SCALE("ff_rc_initial_buffer_occupancy",rc_initial_buffer_occupancy,1000);
++#if #if (LIBAVCODEC_VERSION_MAJOR < 55)
+ PARAM_INT("ff_inter_threshold",inter_threshold);
+ PARAM_INT("ff_quantizer_noise_shaping",quantizer_noise_shaping);
++#endif
+ PARAM_INT("ff_thread_count",thread_count);
+ PARAM_INT("ff_me_threshold",me_threshold);
+ PARAM_INT("ff_mb_threshold",mb_threshold);
+diff -rupN a/plugins/ffmpeg/params.h b/plugins/ffmpeg/params.h
+--- a/plugins/ffmpeg/params.h 2011-05-11 17:13:39.000000000 +0200
++++ b/plugins/ffmpeg/params.h 2013-07-15 15:09:04.860858069 +0200
+@@ -177,6 +177,7 @@ the reference. Unused for constant quant
+ .val_max = { .val_int = 1 }, \
+ }
+
++#if (LIBAVCODEC_VERSION_MAJOR < 55)
+ #define PARAM_LUMA_ELIM_THRESHOLD \
+ { \
+ .name = "ff_luma_elim_threshold", \
+@@ -202,6 +203,7 @@ recommendation") \
+ chrominamce. Negative values also consider dc \
+ coefficient. 7 is JVT recommendation") \
+ }
++#endif
+
+ #define PARAM_STRICT_STANDARD_COMPLIANCE \
+ { \
+@@ -739,6 +741,7 @@ with max and/or min bitrate, this must b
+
+ /* Does nothing */
+ /** Frame types */
++#if (LIBAVCODEC_VERSION_MAJOR < 55)
+ #define PARAM_INTER_THRESHOLD \
+ { \
+ .name = "ff_inter_threshold", \
+@@ -759,6 +762,7 @@ with max and/or min bitrate, this must b
+ .help_string = TRS("Choose quantization such that noise will be masked by " \
+ "similar-frequency content in the image") \
+ }
++#endif
+
+ /** Motion estimation */
+ #define PARAM_ME_THRESHOLD \
More information about the arch-commits
mailing list