[packages/chromium-browser-ffmpegsumo] rename to chromium-browser-ffmpegsumo, update to 23.0.1271.95
glen
glen at pld-linux.org
Mon Dec 31 01:43:38 CET 2012
commit 7d6d4d729096792f5952a9296eb200c8de1f14bf
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Dec 31 02:43:13 2012 +0200
rename to chromium-browser-ffmpegsumo, update to 23.0.1271.95
...egsumo.spec => chromium-browser-ffmpegsumo.spec | 23 ++++++++++++++++------
1 file changed, 17 insertions(+), 6 deletions(-)
---
diff --git a/chromium-ffmpegsumo.spec b/chromium-browser-ffmpegsumo.spec
similarity index 77%
rename from chromium-ffmpegsumo.spec
rename to chromium-browser-ffmpegsumo.spec
index 1539506..92a110c 100644
--- a/chromium-ffmpegsumo.spec
+++ b/chromium-browser-ffmpegsumo.spec
@@ -1,17 +1,19 @@
# TODO
# - Document how to make the source for this beast from the chromium checkout
Summary: Media playback library for chromium
-Name: chromium-ffmpegsumo
-Version: 17.0.963.46
+Name: chromium-browser-ffmpegsumo
+Version: 23.0.1271.95
Release: 1
License: LGPL v2+
Group: Libraries
URL: http://www.chromium.org/
-Source0: %{name}-%{version}.tar.bz2
-# Source0-md5: 05fc44a7be5bd2e4edc2ee1247c55f80
+Source0: chromium-ffmpegsumo-%{version}.tar.bz2
+# Source0-md5: e79590af1e80c0833aacd20c15bae1aa
BuildRequires: libvpx-devel
+%ifarch %{ix86} %{x8664}
BuildRequires: yasm
-ExclusiveArch: %{ix86} %{x8664}
+%endif
+ExclusiveArch: %{ix86} %{x8664} %{arm}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -30,7 +32,7 @@ Requires: %{name} = %{version}-%{release}
Development headers and libraries for ffmpegsumo.
%prep
-%setup -q
+%setup -qn chromium-ffmpegsumo-%{version}
%build
%{__make} \
@@ -40,6 +42,9 @@ Development headers and libraries for ffmpegsumo.
%ifarch %{x8664}
ARCH=x64 \
%endif
+%ifarch %{arm}
+ ARCH=arm \
+%endif
CC="%{__cc}" \
OPTFLAGS="%{rpmcflags} %{rpmcppflags}" \
libdir=%{_libdir} \
@@ -54,12 +59,18 @@ rm -rf $RPM_BUILD_ROOT
%ifarch %{x8664}
ARCH=x64 \
%endif
+%ifarch %{arm}
+ ARCH=arm \
+%endif
libdir=%{_libdir} \
includedir=%{_includedir} \
DESTDIR=$RPM_BUILD_ROOT
/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}
+# HACK
+cp -p config/libavutil/avconfig.h $RPM_BUILD_ROOT%{_includedir}/ffmpegsumo/libavutil
+
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/chromium-browser-ffmpegsumo.git/commitdiff/7d6d4d729096792f5952a9296eb200c8de1f14bf
More information about the pld-cvs-commit
mailing list