]> git.pld-linux.org Git - packages/chromium-browser.git/commitdiff
fix vpx bcond. now builds with system libvpx
authorElan Ruusamäe <glen@delfi.ee>
Wed, 2 Jan 2013 23:57:43 +0000 (01:57 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 2 Jan 2013 23:57:43 +0000 (01:57 +0200)
chromium-browser.spec
clean-source.sh

index 8db9dba44bfab22399b1bb7ebfbe7d03ef350eac..863954ed68f17ba166755dc7f15a73996b677b5f 100644 (file)
@@ -25,7 +25,7 @@
 %bcond_with            system_sqlite   # system sqlite
 %bcond_without system_srtp             # system srtp (can be used if using bundled libjingle)
 %bcond_with            system_v8               # system v8
-%bcond_without system_vpx              # system vpx
+%bcond_without system_libvpx   # system libvpx
 %bcond_without system_yasm             # system yasm
 # system zlib disabled because of mixed-source.patch
 # https://code.google.com/p/chromium/issues/detail?id=143623
@@ -74,7 +74,7 @@
 Summary:       A WebKit powered web browser
 Name:          chromium-browser
 Version:       24.0.1312.45
-Release:       0.6
+Release:       0.8
 License:       BSD, LGPL v2+ (ffmpeg)
 Group:         X11/Applications/Networking
 Source0:       http://carme.pld-linux.org/~glen/chromium-browser/src/beta/%{name}-%{version}.tar.xz
@@ -141,7 +141,7 @@ BuildRequires:      libpng-devel
 %{?with_selinux:BuildRequires: libselinux-devel}
 BuildRequires: libstdc++-devel
 %{?with_system_libusb:BuildRequires:   libusb-devel >= 1.0}
-%{?with_system_vpx:BuildRequires:      libvpx-devel >= 0.9.5-2}
+%{?with_system_libvpx:BuildRequires:   libvpx-devel >= 0.9.5-2}
 %{?with_system_libwebp:BuildRequires:  libwebp-devel >= 0.1.99}
 BuildRequires: libxml2-devel
 BuildRequires: libxslt-devel
@@ -182,7 +182,7 @@ Requires:   desktop-file-utils
 %{?with_system_flac:Requires:  flac >= 1.2.1-7}
 Requires:      hicolor-icon-theme
 %{?with_libjpegturbo:Requires: libjpeg-turbo >= 1.2.0}
-%{?with_system_vpx:Requires:   libvpx >= 0.9.5-2}
+%{?with_system_libvpx:Requires:        libvpx >= 0.9.5-2}
 Requires:      xdg-utils >= 1.0.2-4
 Provides:      wwwbrowser
 Obsoletes:     chromium-browser-bookmark_manager < 5.0.388.0
@@ -386,13 +386,13 @@ test -e Makefile || %{__python} build/gyp_chromium \
        %{gyp_with system_libexif} \
        %{gyp_with system_libmtp} \
        %{gyp_with system_libusb} \
+       %{gyp_with system_libvpx} \
        %{gyp_with system_libwebp} \
        %{gyp_with system_minizip} \
        %{gyp_with system_opus} \
        %{gyp_with system_speex} \
        %{gyp_with system_sqlite} \
        %{gyp_with system_v8} \
-       %{gyp_with system_vpx} \
        %{gyp_with system_yasm} \
        %{gyp_with system_zlib} \
        -Duse_system_bzip2=1 \
index 5b1ec4325666e06cd6e6eda0534ca4cd87b95a3d..0348875ccd3c7ac11f12ea3b171aad4ca0cc9b26 100755 (executable)
@@ -466,7 +466,7 @@ strip_system_dirs \
        third_party/libpng \
        third_party/libsrtp \
        third_party/libusb \
-       _third_party/libvpx \
+       third_party/libvpx \
        third_party/libwebp \
        third_party/libxml \
        third_party/libxslt \
@@ -476,13 +476,8 @@ strip_system_dirs \
        v8 \
 | tee -a REMOVED-stripped.txt
 
-# vpx can't be cleaned:
-#make: *** No rule to make target `out/Release/obj.target/libvpx_asm_offsets/third_party/libvpx/source/libvpx/vp8/common/asm_com_offsets.o',
-#needed by `out/Release/obj.target/third_party/libvpx/libvpx_asm_offsets.a'.  Stop.
-
-# third_party/yasm/source/patched-yasm/modules/arch/x86/gen_x86_insn.py', needed by `out/Release/obj/gen/third_party/yasm/x86insns.c'. Stop.
-#gyp_clean \
-#      _third_party/yasm \
+gyp_clean \
+       third_party/yasm \
 
 # clean third party
 # list based from archlinux PKGBUILD
This page took 0.148595 seconds and 4 git commands to generate.