]> git.pld-linux.org Git - packages/chromium-browser.git/commitdiff
add system_libexif, system_libmtp, system_opus bconds
authorElan Ruusamäe <glen@delfi.ee>
Wed, 2 Jan 2013 19:25:15 +0000 (21:25 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 2 Jan 2013 19:25:15 +0000 (21:25 +0200)
chromium-browser.spec

index 41d6de0bdaefeccc8169de8d912c702fb8800806..c01764e397930e97988125a7933da33578fc5f1a 100644 (file)
 %bcond_with            sse2                    # use SSE2 instructions
 %bcond_without system_flac             # system flac
 %bcond_without system_jsoncpp  # system jsoncpp
+%bcond_without system_libexif  # system libexif
+%bcond_without system_libmtp   # system libmtp
 %bcond_without system_libusb   # system libusb-1
 %bcond_without system_libwebp  # system libwebp
 %bcond_without system_minizip  # system minizip
+%bcond_without system_opus             # system opus codec support, http://www.opus-codec.org/examples/
 %bcond_without system_speex    # system speex
 %bcond_with            system_sqlite   # system sqlite
 %bcond_without system_srtp             # system srtp (can be used if using bundled libjingle)
 # - use_system_hunspell
 # - use_system_stlport
 # - other defaults: src/build/common.gypi
+# - use_system_libmtp
+# - use_system_libexif
+# - use_system_opus
+# - use_system_libjpeg==1 use_libjpeg_turbo==0
 
 # NOTES:
 # - mute BEEP mixer if you do not want to hear horrible system bell when
@@ -136,7 +143,10 @@ BuildRequires:     libstdc++-devel
 BuildRequires: libxml2-devel
 BuildRequires: libxslt-devel
 BuildRequires: lzma
-BuildRequires: minizip-devel
+%{?with_system_minizip:BuildRequires:  minizip-devel}
+%{?with_system_libexif:BuildRequires:  libexif-devel >= 1:0.6.21}
+%{?with_system_libmtp:BuildRequires:   libmtp-devel >= 1.1.3}
+%{?with_system_opus:BuildRequires:     opus-devel >= 1.0.2}
 BuildRequires: nspr-devel
 BuildRequires: nss-devel >= 1:3.12.3
 BuildRequires: pam-devel
@@ -350,9 +360,12 @@ test -e Makefile || %{__python} build/gyp_chromium --format=make build/all.gyp \
        %{gyp_with keyring gnome_keyring} -Dlinux_link_gnome_keyring=0 \
        %{gyp_with pulseaudio} \
        %{gyp_with system_flac} \
+       %{gyp_with system_libexif} \
+       %{gyp_with system_libmtp} \
        %{gyp_with system_libusb} \
        %{gyp_with system_libwebp} \
        %{gyp_with system_minizip} \
+       %{gyp_with system_opus} \
        %{gyp_with system_speex} \
        %{gyp_with system_sqlite} \
        %{gyp_with system_v8} \
@@ -360,6 +373,7 @@ test -e Makefile || %{__python} build/gyp_chromium --format=make build/all.gyp \
        %{gyp_with system_yasm} \
        %{gyp_with system_zlib} \
        -Duse_system_bzip2=1 \
+       -Duse_system_expat=1 \
        -Duse_system_icu=1 \
        -Duse_system_libevent=1 \
        -Duse_system_libjpeg=1 \
This page took 0.036757 seconds and 4 git commands to generate.