SPECS: libx264.spec - builds on x86-64.
pluto
pluto at pld-linux.org
Mon May 1 16:54:37 CEST 2006
Author: pluto Date: Mon May 1 14:54:37 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- builds on x86-64.
---- Files affected:
SPECS:
libx264.spec (1.6 -> 1.7)
---- Diffs:
================================================================
Index: SPECS/libx264.spec
diff -u SPECS/libx264.spec:1.6 SPECS/libx264.spec:1.7
--- SPECS/libx264.spec:1.6 Mon May 1 12:25:35 2006
+++ SPECS/libx264.spec Mon May 1 16:54:32 2006
@@ -22,11 +22,15 @@
%ifarch %{ix86}
BuildRequires: nasm
%endif
+BuildRequires: sed >= 4.0
%ifarch %{x8664}
-#BuildRequires: yasm
+BuildRequires: yasm
%endif
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+# encoder/macroblock.c breaks strict-aliasing rules
+%define specflags -fno-strict-aliasing
+
%description
libx264 library for encoding H264 video format.
@@ -61,15 +65,18 @@
%setup -q -n x264-snapshot-%{snap}-%{snaph}
#%patch0 -p1
%patch1 -p0
+sed -i 's:-O4::g' configure
%build
-##%{__libtoolize}
-##%{__aclocal}
-##%{__autoconf}
-##%{__autoheader}
-##%{__automake}
-%configure \
- --enable-shared
+./configure \
+ --prefix=%{_prefix} \
+ --exec-prefix=%{_prefix} \
+ --bindir=%{_bindir} \
+ --includedir=%{_includedir} \
+ --libdir=%{_libdir} \
+ --extra-cflags="%{rpmcflags}" \
+ --enable-shared
+
%{__make}
%install
@@ -106,6 +113,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.7 2006/05/01 14:54:32 pluto
+- builds on x86-64.
+
Revision 1.6 2006/05/01 10:25:35 aflinta
- fixed release for easier upgrade
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/libx264.spec?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list