diff options
Diffstat (limited to 'media/libs/libquicktime')
-rw-r--r-- | media/libs/libquicktime/libquicktime-0.9.10.diff | 30 | ||||
-rw-r--r-- | media/libs/libquicktime/libquicktime.mkbuild | 98 |
2 files changed, 128 insertions, 0 deletions
diff --git a/media/libs/libquicktime/libquicktime-0.9.10.diff b/media/libs/libquicktime/libquicktime-0.9.10.diff new file mode 100644 index 0000000..0cde430 --- /dev/null +++ b/media/libs/libquicktime/libquicktime-0.9.10.diff @@ -0,0 +1,30 @@ +diff -Naupr libquicktime-0.9.10.orig/plugins/x264/x264.c libquicktime-0.9.10/plugins/x264/x264.c +--- libquicktime-0.9.10.orig/plugins/x264/x264.c 2006-07-25 13:35:15.000000000 +0200 ++++ libquicktime-0.9.10/plugins/x264/x264.c 2006-10-24 13:40:41.000000000 +0200 +@@ -91,7 +91,7 @@ static void dump_params(x264_param_t * p + 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: %d\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); +@@ -493,7 +493,7 @@ static int encode(quicktime_t *file, uns + { + /* Force ABR */ + codec->params.rc.i_rc_method = X264_RC_ABR; +- codec->params.rc.i_rf_constant = 0; ++ codec->params.rc.f_rf_constant = 0; + if(codec->pass == 1) + { + /* Strings will be made private by x264 */ +@@ -655,7 +655,7 @@ static int set_parameter(quicktime_t *fi + INTPARAM("x264_i_bitrate", codec->params.rc.i_bitrate); + + INTPARAM("x264_i_qp_constant", codec->params.rc.i_qp_constant); +- INTPARAM("x264_i_rf_constant", codec->params.rc.i_rf_constant); ++ INTPARAM("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.mkbuild b/media/libs/libquicktime/libquicktime.mkbuild new file mode 100644 index 0000000..19569f2 --- /dev/null +++ b/media/libs/libquicktime/libquicktime.mkbuild @@ -0,0 +1,98 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://downloads.sourceforge.net/libquicktime/libquicktime-1.0.3.tar.gz" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +[[DOCUMENTATION FILES]]="AUTHORS COPYING ChangeLog INSTALL NEWS README TODO" + +[[OTHER CONFIGURE ARGS]]="--with-docdir=/usr/doc/$PKG_NAME-$PKG_VERSION" + +# +# Dependency list input +[[SLACK REQUIRED]]="libx264" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="media/libs/libquicktime" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +libquicktime: libquicktime (libquicktime is a library for quicktime/avi/mp4 files) +libquicktime: +libquicktime: libquicktime is a library for reading and writing quicktime files. +libquicktime: It is based on the quicktime4linux library, with the following some +libquicktime: extensions: +libquicktime: +libquicktime: +libquicktime: +libquicktime: +libquicktime: http://libquicktime.sourceforge.net/ +libquicktime: +#<slackdesc |