forked from pool/libquicktime
This commit is contained in:
commit
0b1ca879ad
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
26
fix-libtool
Normal file
26
fix-libtool
Normal file
@ -0,0 +1,26 @@
|
||||
#!/bin/bash
|
||||
|
||||
# fix broken libtool
|
||||
#
|
||||
# Can someone please LART the one who over-designed it?
|
||||
# Thank you.
|
||||
|
||||
workdir="$1"
|
||||
|
||||
tmpfile="/tmp/tmpfile-$$"
|
||||
trap "rm -f $tmpfile" EXIT
|
||||
|
||||
# disable -rpath
|
||||
file=`find $workdir -name libtool`
|
||||
sed -e 's|\(hardcode_into_libs\)=.*|\1=no|' \
|
||||
< $file > $tmpfile
|
||||
mv $tmpfile $file
|
||||
chmod 755 $file
|
||||
|
||||
# disable relinking
|
||||
find $workdir -name \*.la -type f -print |\
|
||||
while read file; do
|
||||
grep -v relink $file > $tmpfile
|
||||
mv $tmpfile $file
|
||||
done
|
||||
|
3
libquicktime-0.9.10.tar.bz2
Normal file
3
libquicktime-0.9.10.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4e13b80da728655bb16b5689f7abbbe3d7002ab2ea8c80b703f907534df132fe
|
||||
size 631385
|
22
libquicktime-gcc4.diff
Normal file
22
libquicktime-gcc4.diff
Normal file
@ -0,0 +1,22 @@
|
||||
--- plugins/rtjpeg/RTjpeg.c
|
||||
+++ plugins/rtjpeg/RTjpeg.c
|
||||
@@ -98,7 +98,7 @@
|
||||
register int ci, co=1, tmp;
|
||||
register int16_t ZZvalue;
|
||||
|
||||
- (uint8_t)strm[0]=(uint8_t)(data[RTjpeg_ZZ[0]]>254) ? 254:((data[RTjpeg_ZZ[0]]<0)?0:data[RTjpeg_ZZ[0]]);
|
||||
+ strm[0]=(uint8_t)(data[RTjpeg_ZZ[0]]>254) ? 254:((data[RTjpeg_ZZ[0]]<0)?0:data[RTjpeg_ZZ[0]]);
|
||||
|
||||
for(ci=1; ci<=bt8; ci++)
|
||||
{
|
||||
--- quicktime1394/libdv.h
|
||||
+++ quicktime1394/libdv.h
|
||||
@@ -16,7 +16,7 @@
|
||||
#define DV_PAL 1
|
||||
|
||||
#ifndef u_int64_t
|
||||
-#define u_int64_t unsigned long long
|
||||
+/*define u_int64_t unsigned long long*/
|
||||
#endif
|
||||
|
||||
#include <libdv/dv.h>
|
30
libquicktime-legal.diff
Normal file
30
libquicktime-legal.diff
Normal file
@ -0,0 +1,30 @@
|
||||
Index: plugins/Makefile.am
|
||||
===================================================================
|
||||
--- plugins/Makefile.am.orig
|
||||
+++ plugins/Makefile.am
|
||||
@@ -10,12 +10,6 @@ else
|
||||
jpeg_subdirs=
|
||||
endif
|
||||
|
||||
-if HAVE_LAME
|
||||
-lame_subdirs = lame
|
||||
-else
|
||||
-lame_subdirs=
|
||||
-endif
|
||||
-
|
||||
if HAVE_LIBDV
|
||||
dv_subdirs = dv
|
||||
else
|
||||
@@ -34,12 +28,6 @@ else
|
||||
vorbis_subdirs=
|
||||
endif
|
||||
|
||||
-if HAVE_LIBAVCODEC
|
||||
-libavcodec_subdirs=ffmpeg
|
||||
-else
|
||||
-libavcodec=
|
||||
-endif
|
||||
-
|
||||
if HAVE_FAAD2
|
||||
faad2_subdirs=faad2
|
||||
else
|
11
libquicktime-lib64.diff
Normal file
11
libquicktime-lib64.diff
Normal file
@ -0,0 +1,11 @@
|
||||
--- libquicktime-0.9.1/configure.ac
|
||||
+++ libquicktime-0.9.1/configure.ac
|
||||
@@ -589,7 +589,7 @@
|
||||
if test "x$exec_prefix" = xNONE; then
|
||||
exec_prefix="${prefix}"
|
||||
fi
|
||||
-plugin_dir="$exec_prefix/lib/$PACKAGE"
|
||||
+plugin_dir="$libdir/$PACKAGE"
|
||||
|
||||
|
||||
AH_TEMPLATE([PLUGIN_DIR], [Directory for plugins])
|
128
libquicktime-mjpeg_def_huffman.diff
Normal file
128
libquicktime-mjpeg_def_huffman.diff
Normal file
@ -0,0 +1,128 @@
|
||||
Index: plugins/mjpeg/libmjpeg.c
|
||||
===================================================================
|
||||
--- plugins/mjpeg/libmjpeg.c.orig
|
||||
+++ plugins/mjpeg/libmjpeg.c
|
||||
@@ -24,6 +24,7 @@
|
||||
#include "colormodels.h"
|
||||
#include "lqt.h"
|
||||
#include "libmjpeg.h"
|
||||
+#include <jerror.h> /* JERR_BAD_HUFF_TABLE */
|
||||
|
||||
/* JPEG MARKERS */
|
||||
#define M_SOF0 0xc0
|
||||
@@ -616,6 +617,115 @@ static void guarantee_huff_tables(j_deco
|
||||
}
|
||||
}
|
||||
|
||||
+static void
|
||||
+add_huff_table_d(j_decompress_ptr cinfo,
|
||||
+ JHUFF_TBL **htblptr, const unsigned char *bits, const unsigned char *val)
|
||||
+/* Define a Huffman table */
|
||||
+{
|
||||
+ int nsymbols, len;
|
||||
+
|
||||
+ if (*htblptr == NULL)
|
||||
+ *htblptr = jpeg_alloc_huff_table((j_common_ptr) cinfo);
|
||||
+
|
||||
+ /* Copy the number-of-symbols-of-each-code-length counts */
|
||||
+ memcpy((*htblptr)->bits, bits, sizeof((*htblptr)->bits));
|
||||
+
|
||||
+ /* Validate the counts. We do this here mainly so we can copy the right
|
||||
+ * number of symbols from the val[] array, without risking marching off
|
||||
+ * the end of memory. jchuff.c will do a more thorough test later.
|
||||
+ */
|
||||
+ nsymbols = 0;
|
||||
+ for (len = 1; len <= 16; len++)
|
||||
+ nsymbols += bits[len];
|
||||
+ if (nsymbols < 1 || nsymbols > 256)
|
||||
+ ERREXIT(cinfo, JERR_BAD_HUFF_TABLE);
|
||||
+
|
||||
+ memcpy((*htblptr)->huffval, val, nsymbols * sizeof(unsigned char));
|
||||
+}
|
||||
+
|
||||
+
|
||||
+static void std_huff_tables_d(j_decompress_ptr cinfo)
|
||||
+{
|
||||
+ /* tables taken from jpeg-6b:jcparam.c, 2005-09-15, jw@suse.de */
|
||||
+ /* Set up the standard Huffman tables (cf. JPEG standard section K.3) */
|
||||
+ /* IMPORTANT: these are only valid for 8-bit data precision! */
|
||||
+
|
||||
+ static const unsigned char bits_dc_luminance[17] =
|
||||
+ { /* 0-base */ 0, 0, 1, 5, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0 };
|
||||
+ static const unsigned char val_dc_luminance[] =
|
||||
+ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 };
|
||||
+
|
||||
+ static const unsigned char bits_dc_chrominance[17] =
|
||||
+ { /* 0-base */ 0, 0, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0 };
|
||||
+ static const unsigned char val_dc_chrominance[] =
|
||||
+ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 };
|
||||
+
|
||||
+ static const unsigned char bits_ac_luminance[17] =
|
||||
+ { /* 0-base */ 0, 0, 2, 1, 3, 3, 2, 4, 3, 5, 5, 4, 4, 0, 0, 1, 0x7d };
|
||||
+ static const unsigned char val_ac_luminance[] =
|
||||
+ { 0x01, 0x02, 0x03, 0x00, 0x04, 0x11, 0x05, 0x12,
|
||||
+ 0x21, 0x31, 0x41, 0x06, 0x13, 0x51, 0x61, 0x07,
|
||||
+ 0x22, 0x71, 0x14, 0x32, 0x81, 0x91, 0xa1, 0x08,
|
||||
+ 0x23, 0x42, 0xb1, 0xc1, 0x15, 0x52, 0xd1, 0xf0,
|
||||
+ 0x24, 0x33, 0x62, 0x72, 0x82, 0x09, 0x0a, 0x16,
|
||||
+ 0x17, 0x18, 0x19, 0x1a, 0x25, 0x26, 0x27, 0x28,
|
||||
+ 0x29, 0x2a, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39,
|
||||
+ 0x3a, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49,
|
||||
+ 0x4a, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, 0x59,
|
||||
+ 0x5a, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69,
|
||||
+ 0x6a, 0x73, 0x74, 0x75, 0x76, 0x77, 0x78, 0x79,
|
||||
+ 0x7a, 0x83, 0x84, 0x85, 0x86, 0x87, 0x88, 0x89,
|
||||
+ 0x8a, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97, 0x98,
|
||||
+ 0x99, 0x9a, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7,
|
||||
+ 0xa8, 0xa9, 0xaa, 0xb2, 0xb3, 0xb4, 0xb5, 0xb6,
|
||||
+ 0xb7, 0xb8, 0xb9, 0xba, 0xc2, 0xc3, 0xc4, 0xc5,
|
||||
+ 0xc6, 0xc7, 0xc8, 0xc9, 0xca, 0xd2, 0xd3, 0xd4,
|
||||
+ 0xd5, 0xd6, 0xd7, 0xd8, 0xd9, 0xda, 0xe1, 0xe2,
|
||||
+ 0xe3, 0xe4, 0xe5, 0xe6, 0xe7, 0xe8, 0xe9, 0xea,
|
||||
+ 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7, 0xf8,
|
||||
+ 0xf9, 0xfa };
|
||||
+
|
||||
+ static const unsigned char bits_ac_chrominance[17] =
|
||||
+ { /* 0-base */ 0, 0, 2, 1, 2, 4, 4, 3, 4, 7, 5, 4, 4, 0, 1, 2, 0x77 };
|
||||
+ static const unsigned char val_ac_chrominance[] =
|
||||
+ { 0x00, 0x01, 0x02, 0x03, 0x11, 0x04, 0x05, 0x21,
|
||||
+ 0x31, 0x06, 0x12, 0x41, 0x51, 0x07, 0x61, 0x71,
|
||||
+ 0x13, 0x22, 0x32, 0x81, 0x08, 0x14, 0x42, 0x91,
|
||||
+ 0xa1, 0xb1, 0xc1, 0x09, 0x23, 0x33, 0x52, 0xf0,
|
||||
+ 0x15, 0x62, 0x72, 0xd1, 0x0a, 0x16, 0x24, 0x34,
|
||||
+ 0xe1, 0x25, 0xf1, 0x17, 0x18, 0x19, 0x1a, 0x26,
|
||||
+ 0x27, 0x28, 0x29, 0x2a, 0x35, 0x36, 0x37, 0x38,
|
||||
+ 0x39, 0x3a, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48,
|
||||
+ 0x49, 0x4a, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58,
|
||||
+ 0x59, 0x5a, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68,
|
||||
+ 0x69, 0x6a, 0x73, 0x74, 0x75, 0x76, 0x77, 0x78,
|
||||
+ 0x79, 0x7a, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87,
|
||||
+ 0x88, 0x89, 0x8a, 0x92, 0x93, 0x94, 0x95, 0x96,
|
||||
+ 0x97, 0x98, 0x99, 0x9a, 0xa2, 0xa3, 0xa4, 0xa5,
|
||||
+ 0xa6, 0xa7, 0xa8, 0xa9, 0xaa, 0xb2, 0xb3, 0xb4,
|
||||
+ 0xb5, 0xb6, 0xb7, 0xb8, 0xb9, 0xba, 0xc2, 0xc3,
|
||||
+ 0xc4, 0xc5, 0xc6, 0xc7, 0xc8, 0xc9, 0xca, 0xd2,
|
||||
+ 0xd3, 0xd4, 0xd5, 0xd6, 0xd7, 0xd8, 0xd9, 0xda,
|
||||
+ 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7, 0xe8, 0xe9,
|
||||
+ 0xea, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7, 0xf8,
|
||||
+ 0xf9, 0xfa };
|
||||
+
|
||||
+ if (cinfo->data_precision != 8)
|
||||
+ {
|
||||
+ printf("decompress_field has no default ac/dc-tables for data_precision=%d\n",
|
||||
+ cinfo->data_precision);
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
+ add_huff_table_d(cinfo, &cinfo->dc_huff_tbl_ptrs[0],
|
||||
+ bits_dc_luminance, val_dc_luminance);
|
||||
+ add_huff_table_d(cinfo, &cinfo->ac_huff_tbl_ptrs[0],
|
||||
+ bits_ac_luminance, val_ac_luminance);
|
||||
+ add_huff_table_d(cinfo, &cinfo->dc_huff_tbl_ptrs[1],
|
||||
+ bits_dc_chrominance, val_dc_chrominance);
|
||||
+ add_huff_table_d(cinfo, &cinfo->ac_huff_tbl_ptrs[1],
|
||||
+ bits_ac_chrominance, val_ac_chrominance);
|
||||
+}
|
||||
|
||||
static void decompress_field(mjpeg_compressor *engine, int field)
|
||||
{
|
177
libquicktime.changes
Normal file
177
libquicktime.changes
Normal file
@ -0,0 +1,177 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 10 12:48:04 CEST 2006 - pnemec@suse.cz
|
||||
|
||||
- updated to 0.9.10
|
||||
Read/Write support for: DVCPRO50 video, OpenDML AVIs, mp4/m4a files
|
||||
and Quicktime 7 lpcm audio
|
||||
H.264 encoding using x264.
|
||||
Improved compatibility with players: Quicktime 7, WMP, Divx player
|
||||
see http://libquicktime.sourceforge.net/ for detailed changelog
|
||||
- minor changes in patch -mjpeg_def_huffman.diff and legal.diff
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 10 18:09:49 CET 2006 - bk@suse.de
|
||||
|
||||
- fix optimisation (used P4 insns!) and force using RPM_OPT_FLAGS
|
||||
- fix firewire support (libdv-devel was splitted from libdv)
|
||||
- remove the forced backout of MMX instructions (obsolete)
|
||||
- don't include unused libquicktime-cflags.diff
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 4 18:17:26 CET 2006 - aj@suse.de
|
||||
|
||||
- Reduce BuildRequires.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 29 17:43:52 CET 2006 - aj@suse.de
|
||||
|
||||
- Fix BuildRequires.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:37:41 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 15 20:25:24 CEST 2005 - jw@suse.de
|
||||
|
||||
- added support for mjpeg files without
|
||||
huffman tables.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 29 17:10:46 CEST 2005 - kraxel@suse.de
|
||||
|
||||
- fix -devel package dependencies.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 29 14:17:38 CEST 2005 - kraxel@suse.de
|
||||
|
||||
- add backward compatibility symlink to the new include file location.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 28 13:30:51 CEST 2005 - kraxel@suse.de
|
||||
|
||||
- update to 0.9.7.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 18 18:57:01 CEST 2005 - ro@suse.de
|
||||
|
||||
- make it build with gcc-4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 13 17:35:57 CET 2005 - kraxel@suse.de
|
||||
|
||||
- update to 0.9.4.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 17 17:58:26 CEST 2004 - kraxel@suse.de
|
||||
|
||||
- update to 0.9.3.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 22 20:57:40 CEST 2004 - kraxel@suse.de
|
||||
|
||||
- fix compiler warnings.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 11 14:22:06 CET 2004 - kraxel@suse.de
|
||||
|
||||
- update to version 0.9.2.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 10 12:14:13 CET 2004 - adrian@suse.de
|
||||
|
||||
- add %run_dconfig
|
||||
- -devel package requires glibc-devel now
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 25 16:02:37 CEST 2003 - kraxel@suse.de
|
||||
|
||||
- more cflags fixes, also builds on ppc now ...
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 23 16:14:28 CEST 2003 - kraxel@suse.de
|
||||
|
||||
- play with cflags to make thing build on all archs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 16 14:28:41 CEST 2003 - kukuk@suse.de
|
||||
|
||||
- More filelist fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 12 10:25:15 CEST 2003 - kukuk@suse.de
|
||||
|
||||
- Add missing directory to filelist
|
||||
- *.la file should be mode 644
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 16 01:27:37 CEST 2003 - ro@suse.de
|
||||
|
||||
- fix build with current libtool
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 12 10:20:59 CEST 2002 - kraxel@suse.de
|
||||
|
||||
- fixed Requires: for the -devel package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 31 12:22:01 CEST 2002 - kraxel@suse.de
|
||||
|
||||
- fixed plugin path lookup for lib64.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 26 22:13:10 CEST 2002 - adrian@suse.de
|
||||
|
||||
- fix neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 15 15:40:57 CEST 2002 - kraxel@suse.de
|
||||
|
||||
- fixed permission issues with fix-libtool script.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 10 17:21:42 CEST 2002 - uli@suse.de
|
||||
|
||||
- forgot to re-enable %clean section
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 10 15:19:10 CEST 2002 - uli@suse.de
|
||||
|
||||
- replace "SDL SDL-devel" with "SDL-devel-packages" in neededforbuild
|
||||
(fixes libdv detection)
|
||||
- fixed MMX detection, then disabled it :) (no runtime detection)
|
||||
- added DISTRIBUTABLE flag to facilitate full-featured rebuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 27 15:20:32 CEST 2002 - kraxel@suse.de
|
||||
|
||||
- fixed neededforbuild.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 24 17:21:55 CEST 2002 - kraxel@suse.de
|
||||
|
||||
- updated to version 0.9.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 24 16:00:58 CEST 2002 - ro@suse.de
|
||||
|
||||
- run full autoreconf to also get shared lib on x86_64
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 21 14:54:08 CEST 2002 - ro@suse.de
|
||||
|
||||
- run libtoolize to build also on archs that are
|
||||
younger than a decade
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 20 12:02:46 CEST 2002 - kraxel@suse.de
|
||||
|
||||
- fixed build problems by using $RPM_OPT_FLAGS
|
||||
- disabled divx codec (divx/mpeg4 is patent minefield, sorry folks ...).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 17 15:49:17 CEST 2002 - kraxel@suse.de
|
||||
|
||||
- initial release.
|
||||
|
196
libquicktime.spec
Normal file
196
libquicktime.spec
Normal file
@ -0,0 +1,196 @@
|
||||
#
|
||||
# spec file for package libquicktime (Version 0.9.10)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: libquicktime
|
||||
BuildRequires: alsa-devel gtk2-devel libavc1394-devel libdv-devel libjpeg-devel libvorbis-devel
|
||||
%define DISTRIBUTABLE 1
|
||||
License: GPL
|
||||
Group: Development/Libraries/Other
|
||||
Autoreqprov: on
|
||||
Version: 0.9.10
|
||||
Release: 1
|
||||
URL: http://libquicktime.sf.net
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
Source1: fix-libtool
|
||||
Patch1: %{name}-legal.diff
|
||||
Patch3: %{name}-lib64.diff
|
||||
Patch4: %{name}-gcc4.diff
|
||||
Patch5: %{name}-mjpeg_def_huffman.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Summary: A Library for Reading and Writing Quicktime Movie Files
|
||||
Provides: quicktime4linux
|
||||
Obsoletes: quicktime4linux
|
||||
|
||||
%description
|
||||
A library for reading and writing Quicktime movie files, based on and
|
||||
forked from quicktime4linux.
|
||||
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: library for reading/writing quicktime movie files
|
||||
Group: Development/Libraries/Other
|
||||
Provides: quicktime4linux-devel
|
||||
Obsoletes: quicktime4linux-devel
|
||||
Requires: %{name} = %{version}
|
||||
Requires: glibc-devel, zlib-devel, libavc1394-devel, libraw1394-devel, libdv-devel
|
||||
|
||||
%description devel
|
||||
library for reading/writing quicktime movie files, based on and forked
|
||||
from quicktime4linux
|
||||
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%if %DISTRIBUTABLE
|
||||
%patch1
|
||||
%endif
|
||||
%patch3 -p1 -b .lib64
|
||||
#%patch4 -p0 -b .gcc4
|
||||
%patch5
|
||||
# the default cpuinfo.sh sets e.g. -march=pentium4 if cpuinfo says P4:
|
||||
echo \
|
||||
echo $RPM_OPT_FLAGS -fexpensive-optimizations >cpuinfo.sh
|
||||
|
||||
%build
|
||||
autoreconf --force --install # autoreconf does libtoolize and update_config
|
||||
./configure --prefix=/usr \
|
||||
--x-includes=/usr/X11R6/include \
|
||||
--x-libraries=/usr/X11R6/%{_lib} \
|
||||
--libdir=%{_libdir} \
|
||||
--mandir=%{_mandir} \
|
||||
--enable-static
|
||||
sh $RPM_SOURCE_DIR/fix-libtool .
|
||||
make
|
||||
|
||||
%install
|
||||
test "%{buildroot}" != "" -a "%{buildroot}" != "/" \
|
||||
&& rm -rf "%{buildroot}"
|
||||
sh $RPM_SOURCE_DIR/fix-libtool .
|
||||
make DESTDIR="%{buildroot}" install
|
||||
rm %{buildroot}/usr/lib*/libquicktime/lqt_*.a
|
||||
rm %{buildroot}/usr/lib*/libquicktime/lqt_*.la
|
||||
ln -s lqt %{buildroot}/usr/include/quicktime
|
||||
#find %{buildroot} -print # debug
|
||||
|
||||
%clean
|
||||
rm -rf "%{buildroot}"
|
||||
|
||||
%post
|
||||
%run_ldconfig
|
||||
|
||||
%postun
|
||||
%run_ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
/usr/bin/*
|
||||
%{_libdir}/lib*.so.*
|
||||
%dir %{_libdir}/libquicktime
|
||||
%{_libdir}/libquicktime/lqt_*.so
|
||||
%{_mandir}/man1/*
|
||||
%doc [A-LN-Z]*
|
||||
|
||||
%files devel
|
||||
%defattr(-, root, root)
|
||||
%attr(644,root,root) %{_libdir}/lib*.la
|
||||
%attr(644,root,root) %{_libdir}/lib*.a
|
||||
%{_libdir}/lib*.so
|
||||
%dir /usr/include/lqt
|
||||
/usr/include/lqt/*.h
|
||||
/usr/include/quicktime
|
||||
/usr/share/aclocal/lqt.m4
|
||||
%{_libdir}/pkgconfig/libquicktime.pc
|
||||
|
||||
%changelog -n libquicktime
|
||||
* Tue Oct 10 2006 - pnemec@suse.cz
|
||||
- updated to 0.9.10
|
||||
Read/Write support for: DVCPRO50 video, OpenDML AVIs, mp4/m4a files
|
||||
and Quicktime 7 lpcm audio
|
||||
H.264 encoding using x264.
|
||||
Improved compatibility with players: Quicktime 7, WMP, Divx player
|
||||
see http://libquicktime.sourceforge.net/ for detailed changelog
|
||||
- minor changes in patch -mjpeg_def_huffman.diff and legal.diff
|
||||
* Fri Feb 10 2006 - bk@suse.de
|
||||
- fix optimisation (used P4 insns!) and force using RPM_OPT_FLAGS
|
||||
- fix firewire support (libdv-devel was splitted from libdv)
|
||||
- remove the forced backout of MMX instructions (obsolete)
|
||||
- don't include unused libquicktime-cflags.diff
|
||||
* Sat Feb 04 2006 - aj@suse.de
|
||||
- Reduce BuildRequires.
|
||||
* Sun Jan 29 2006 - aj@suse.de
|
||||
- Fix BuildRequires.
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Thu Sep 15 2005 - jw@suse.de
|
||||
- added support for mjpeg files without
|
||||
huffman tables.
|
||||
* Fri Jul 29 2005 - kraxel@suse.de
|
||||
- fix -devel package dependencies.
|
||||
* Fri Jul 29 2005 - kraxel@suse.de
|
||||
- add backward compatibility symlink to the new include file location.
|
||||
* Thu Jul 28 2005 - kraxel@suse.de
|
||||
- update to 0.9.7.
|
||||
* Mon Apr 18 2005 - ro@suse.de
|
||||
- make it build with gcc-4
|
||||
* Thu Jan 13 2005 - kraxel@suse.de
|
||||
- update to 0.9.4.
|
||||
* Tue Aug 17 2004 - kraxel@suse.de
|
||||
- update to 0.9.3.
|
||||
* Thu Apr 22 2004 - kraxel@suse.de
|
||||
- fix compiler warnings.
|
||||
* Wed Feb 11 2004 - kraxel@suse.de
|
||||
- update to version 0.9.2.
|
||||
* Sat Jan 10 2004 - adrian@suse.de
|
||||
- add %%run_dconfig
|
||||
- -devel package requires glibc-devel now
|
||||
* Fri Jul 25 2003 - kraxel@suse.de
|
||||
- more cflags fixes, also builds on ppc now ...
|
||||
* Wed Jul 23 2003 - kraxel@suse.de
|
||||
- play with cflags to make thing build on all archs.
|
||||
* Mon Jun 16 2003 - kukuk@suse.de
|
||||
- More filelist fixes
|
||||
* Thu Jun 12 2003 - kukuk@suse.de
|
||||
- Add missing directory to filelist
|
||||
- *.la file should be mode 644
|
||||
* Fri May 16 2003 - ro@suse.de
|
||||
- fix build with current libtool
|
||||
* Mon Aug 12 2002 - kraxel@suse.de
|
||||
- fixed Requires: for the -devel package.
|
||||
* Wed Jul 31 2002 - kraxel@suse.de
|
||||
- fixed plugin path lookup for lib64.
|
||||
* Fri Jul 26 2002 - adrian@suse.de
|
||||
- fix neededforbuild
|
||||
* Mon Jul 15 2002 - kraxel@suse.de
|
||||
- fixed permission issues with fix-libtool script.
|
||||
* Wed Jul 10 2002 - uli@suse.de
|
||||
- forgot to re-enable %%clean section
|
||||
* Wed Jul 10 2002 - uli@suse.de
|
||||
- replace "SDL SDL-devel" with "SDL-devel-packages" in neededforbuild
|
||||
(fixes libdv detection)
|
||||
- fixed MMX detection, then disabled it :) (no runtime detection)
|
||||
- added DISTRIBUTABLE flag to facilitate full-featured rebuild
|
||||
* Thu Jun 27 2002 - kraxel@suse.de
|
||||
- fixed neededforbuild.
|
||||
* Mon Jun 24 2002 - kraxel@suse.de
|
||||
- updated to version 0.9.1
|
||||
* Mon Jun 24 2002 - ro@suse.de
|
||||
- run full autoreconf to also get shared lib on x86_64
|
||||
* Fri Jun 21 2002 - ro@suse.de
|
||||
- run libtoolize to build also on archs that are
|
||||
younger than a decade
|
||||
* Thu Jun 20 2002 - kraxel@suse.de
|
||||
- fixed build problems by using $RPM_OPT_FLAGS
|
||||
- disabled divx codec (divx/mpeg4 is patent minefield, sorry folks ...).
|
||||
* Mon Jun 17 2002 - kraxel@suse.de
|
||||
- initial release.
|
Loading…
Reference in New Issue
Block a user