%{?with_cups:BuildRequires: cups-devel}
BuildRequires: dbus-glib-devel
BuildRequires: expat-devel
-%{?with_system_flac:BuildRequires: flac-devel}
+%{?with_system_flac:BuildRequires: flac-devel >= 1.2.1-7}
BuildRequires: flex
BuildRequires: fontconfig-devel
BuildRequires: glib2-devel
%{?with_system_zlib:BuildRequires: zlib-devel}
Requires: browser-plugins >= 2.0
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_sse2:-Ddisable_sse2=1} \
%{?with_selinux:-Dselinux=1} \
%{gyp_with cups} \
- %{gyp_with flac} \
%{gyp_with gconf} \
%{gyp_with kerberos} -Dlinux_link_kerberos=0 \
%{gyp_with keyring gnome_keyring} -Dlinux_link_gnome_keyring=0 \
%{gyp_with pulseaudio} \
+ %{gyp_with system_flac} \
%{gyp_with system_libwebp} \
%{gyp_with system_speex} \
%{gyp_with system_sqlite} \
#!/bin/sh
-set -e
-set -x
+set -xe
# import options
# remove everything unless it's remove has been disabled with "0"
test -d $dir || continue
# here we ignore errors, as some dirs contain README.chromium after removal
- find $dir -depth -mindepth 1 \! \( -name \*.gyp -o -name \*.gypi -o -name README.chromium -o -name \*.patch \) -print -delete || :
+ find $dir -depth -mindepth 1 \! \( -name '*.gyp' -o -name '*.gypi' -o -name README.chromium -o -name '*.patch' -o -path $dir/$lib.h \) -print -delete || :
done
}
almost_strip_dirs() {
local dir
for dir in "$@"; do
- find $dir -depth -mindepth 1 \! \( -name \*.gyp -o -name \*.gypi -o -name README.chromium \) -print -delete || :
+ find $dir -depth -mindepth 1 \! \( -name '*.gyp' -o -name '*.gypi' -o -name README.chromium \) -print -delete || :
done
}
_third_party/libvpx \
native_client/src/third_party_mod/jsoncpp \
third_party/jsoncpp \
+ third_party/flac \
v8 \
| tee -a REMOVED-stripped.txt