Sprout from master 2006-12-21 17:46:03 UTC Szymon Siwek <sls@pld-linux.org> '- fixes compilation with libx264-0.1.2-1.20061024_2245.2'
Cherrypick from unlabeled-1.22.2 2007-02-21 11:21:14 UTC hawk <hawk@pld-linux.org> '- Ac deps':
libquicktime.spec -> 1.22.2.1
Summary(pl): Biblioteka do odczytu i zapisu plików quicktime
Name: libquicktime
Version: 0.9.10
Summary(pl): Biblioteka do odczytu i zapisu plików quicktime
Name: libquicktime
Version: 0.9.10
%if %{with gpl}
License: GPL
%else
%if %{with gpl}
License: GPL
%else
Source0: http://dl.sourceforge.net/libquicktime/%{name}-%{version}.tar.gz
# Source0-md5: 5ff99f1a7b22f9e1ed85240f736fd14c
Patch0: %{name}-link.patch
Source0: http://dl.sourceforge.net/libquicktime/%{name}-%{version}.tar.gz
# Source0-md5: 5ff99f1a7b22f9e1ed85240f736fd14c
Patch0: %{name}-link.patch
+Patch1: %{name}-x264.patch
URL: http://libquicktime.sourceforge.net/
URL: http://libquicktime.sourceforge.net/
-BuildRequires: OpenGL-GLU-devel
+BuildRequires: XFree86-devel
BuildRequires: alsa-lib-devel >= 0.9
BuildRequires: autoconf >= 2.50
BuildRequires: automake
BuildRequires: alsa-lib-devel >= 0.9
BuildRequires: autoconf >= 2.50
BuildRequires: automake
# pkgconfig: x264 >= 0.45
BuildRequires: libx264-devel >= 0.1.2-1.20060828_2245
BuildRequires: pkgconfig
# pkgconfig: x264 >= 0.45
BuildRequires: libx264-devel >= 0.1.2-1.20060828_2245
BuildRequires: pkgconfig
-BuildRequires: xorg-lib-libXaw-devel
-BuildRequires: xorg-lib-libXt-devel
-BuildRequires: xorg-lib-libXv-devel
BuildRequires: zlib-devel
Obsoletes: libquicktime-firewire
Obsoletes: libquicktime-firewire-devel
BuildRequires: zlib-devel
Obsoletes: libquicktime-firewire
Obsoletes: libquicktime-firewire-devel
%prep
%setup -q
%patch0 -p1
%prep
%setup -q
%patch0 -p1
# evil, sets CFLAGS basing on /proc/cpuinfo, overrides our optflags
# (--with-cpuflags=none disables using /proc/cpuinfo, but not overriding)
# evil, sets CFLAGS basing on /proc/cpuinfo, overrides our optflags
# (--with-cpuflags=none disables using /proc/cpuinfo, but not overriding)