forked from pool/libquicktime
This commit is contained in:
parent
67ea291509
commit
1ee3e7e258
14
dont-disable-deprecated.patch
Normal file
14
dont-disable-deprecated.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
Index: libquicktime-1.0.0/configure.ac
|
||||||
|
===================================================================
|
||||||
|
--- libquicktime-1.0.0.orig/configure.ac
|
||||||
|
+++ libquicktime-1.0.0/configure.ac
|
||||||
|
@@ -365,7 +365,8 @@ AM_CONDITIONAL(HAVE_GTK, test x$have_gtk
|
||||||
|
AC_SUBST(GTK_REQUIRED)
|
||||||
|
|
||||||
|
dnl Always be in sync with the newest gtk
|
||||||
|
-GTK_CFLAGS="$GTK_CFLAGS -DGTK_DISABLE_DEPRECATED"
|
||||||
|
+dnl Ha ha! I thwart thee!
|
||||||
|
+GTK_CFLAGS="$GTK_CFLAGS"
|
||||||
|
|
||||||
|
dnl
|
||||||
|
dnl Check for libdv
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 27 21:33:05 CEST 2007 - maw@suse.de
|
||||||
|
|
||||||
|
- Add dont-disable-deprecated.patch
|
||||||
|
- Use %fdupes.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat May 12 15:27:41 CEST 2007 - olh@suse.de
|
Sat May 12 15:27:41 CEST 2007 - olh@suse.de
|
||||||
|
|
||||||
|
@ -11,16 +11,17 @@
|
|||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
Name: libquicktime
|
Name: libquicktime
|
||||||
BuildRequires: alsa-devel gtk2-devel libavc1394-devel libdv-devel libjpeg-devel libvorbis-devel sed
|
BuildRequires: alsa-devel fdupes gtk2-devel libavc1394-devel libdv-devel libjpeg-devel libvorbis-devel sed
|
||||||
%define DISTRIBUTABLE 1
|
%define DISTRIBUTABLE 1
|
||||||
License: GNU General Public License (GPL)
|
License: GPL v2 or later
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
Autoreqprov: on
|
Autoreqprov: on
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Release: 7
|
Release: 30
|
||||||
URL: http://libquicktime.sf.net
|
URL: http://libquicktime.sf.net
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
Patch0: %{name}-%{version}-arrayoverflow.patch
|
Patch0: %{name}-%{version}-arrayoverflow.patch
|
||||||
|
Patch1: dont-disable-deprecated.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Summary: A Library for Reading and Writing Quicktime Movie Files
|
Summary: A Library for Reading and Writing Quicktime Movie Files
|
||||||
Provides: quicktime4linux
|
Provides: quicktime4linux
|
||||||
@ -51,8 +52,10 @@ from quicktime4linux
|
|||||||
# fix brokem links in API docs
|
# fix brokem links in API docs
|
||||||
sed -r "s/(building|codecs|index|license|opening|positioning|reading|util|writing).html/qt4l_&/" -i doc/*
|
sed -r "s/(building|codecs|index|license|opening|positioning|reading|util|writing).html/qt4l_&/" -i doc/*
|
||||||
%patch0 -p0
|
%patch0 -p0
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
autoreconf -f -i
|
||||||
%{?suse_update_config:%{suse_update_config -f}}
|
%{?suse_update_config:%{suse_update_config -f}}
|
||||||
./configure --prefix=%{_prefix} \
|
./configure --prefix=%{_prefix} \
|
||||||
--bindir=%{_bindir} \
|
--bindir=%{_bindir} \
|
||||||
@ -69,6 +72,10 @@ make
|
|||||||
%install
|
%install
|
||||||
make DESTDIR="%{buildroot}" install
|
make DESTDIR="%{buildroot}" install
|
||||||
ln -s lqt %{buildroot}/usr/include/quicktime
|
ln -s lqt %{buildroot}/usr/include/quicktime
|
||||||
|
%if %suse_version > 1020
|
||||||
|
|
||||||
|
%fdupes $RPM_BUILD_ROOT
|
||||||
|
%endif
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf "%{buildroot}"
|
rm -rf "%{buildroot}"
|
||||||
@ -102,6 +109,9 @@ rm -rf "%{buildroot}"
|
|||||||
%doc doc/*.html doc/*.txt
|
%doc doc/*.html doc/*.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 27 2007 - maw@suse.de
|
||||||
|
- Add dont-disable-deprecated.patch
|
||||||
|
- Use %%fdupes.
|
||||||
* Sat May 12 2007 - olh@suse.de
|
* Sat May 12 2007 - olh@suse.de
|
||||||
- remove unneded Requires libraw1394-devel
|
- remove unneded Requires libraw1394-devel
|
||||||
* Wed May 09 2007 - pcerny@suse.cz
|
* Wed May 09 2007 - pcerny@suse.cz
|
||||||
|
Loading…
Reference in New Issue
Block a user