SPECS: libquicktime.spec - added link patch to kill unnecessary gl...

qboosh qboosh at pld-linux.org
Tue Oct 11 11:12:49 CEST 2005


Author: qboosh                       Date: Tue Oct 11 09:12:49 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added link patch to kill unnecessary glib 1.x dependency
- kill evil CFLAGS set by configure (depending on cpuinfo)
- don't use MMX in rtjpeg by default on i[56]86 (no runtime detection)
- updated BRs

---- Files affected:
SPECS:
   libquicktime.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SPECS/libquicktime.spec
diff -u SPECS/libquicktime.spec:1.9 SPECS/libquicktime.spec:1.10
--- SPECS/libquicktime.spec:1.9	Mon Oct 10 10:18:40 2005
+++ SPECS/libquicktime.spec	Tue Oct 11 11:12:43 2005
@@ -1,4 +1,11 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with	mmx	# use MMX in rtjpeg plugin
+#
+%ifarch athlon pentium3 pentium4 %{x8664}
+%define	with_mmx	1
+%endif
 # TODO
 # - libavcodec: Missing (ffmpeg?)
 Summary:	Library for reading and writing quicktime files
@@ -10,20 +17,25 @@
 Group:		Libraries
 Source0:	http://dl.sourceforge.net/libquicktime/%{name}-%{version}.tar.gz
 # Source0-md5:	e5c977567df59c876c50ac191bb1caf6
+Patch0:		%{name}-link.patch
 URL:		http://libquicktime.sourceforge.net/
 BuildRequires:	XFree86-devel
+BuildRequires:	alsa-lib-devel >= 0.9
+BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
 # avcodec-acl = 0.4.8acl ???
 BuildRequires:	ffmpeg-devel
-BuildRequires:	gtk+-devel >= 1.2.8
-BuildRequires:	lame-libs-devel
+BuildRequires:	gtk+2-devel >= 2:2.4.0
+BuildRequires:	lame-libs-devel >= 3.93
 BuildRequires:	libavc1394-devel >= 0.3.1
-BuildRequires:	libdv-devel
-BuildRequires:	libjpeg-devel
+BuildRequires:	libdv-devel >= 0.102
+BuildRequires:	libjpeg-devel >= 6b
 # jpeg-mmx-devel
-BuildRequires:	libpng-devel
+BuildRequires:	libpng-devel >= 1.0.8
 BuildRequires:	libraw1394-devel >= 0.9
-BuildRequires:	libvorbis-devel
+BuildRequires:	libtool
+BuildRequires:	libvorbis-devel >= 1:1.0
+BuildRequires:	zlib-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -76,6 +88,7 @@
 Summary(pl):	Pliki nagłówkowe biblioteki libquicktime
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
+Requires:	zlib-devel
 
 %description devel
 Header files for libquicktime library.
@@ -109,10 +122,19 @@
 
 %prep
 %setup -q
+%patch0 -p1
+
+# evil, sets CFLAGS basing on /proc/cpuinfo
+echo 'AC_DEFUN([LQT_OPT_CFLAGS],[OPT_CFLAGS="$CFLAGS"])' > m4/lqt_opt_cflags.m4
 
 %build
-cp -f /usr/share/automake/config.sub .
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
+	%{!?with_mmx:--disable-mmx} \
 	--enable-static
 %{__make}
 
@@ -186,6 +208,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2005/10/11 09:12:43  qboosh
+- added link patch to kill unnecessary glib 1.x dependency
+- kill evil CFLAGS set by configure (depending on cpuinfo)
+- don't use MMX in rtjpeg by default on i[56]86 (no runtime detection)
+- updated BRs
+
 Revision 1.9  2005/10/10 08:18:40  qboosh
 - pl, use _pkgconfigdir macro
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libquicktime.spec?r1=1.9&r2=1.10&f=u




More information about the pld-cvs-commit mailing list