--- chromium-9999.ebuild.orig 2010-05-26 08:37:06.000000000 +0200 +++ chromium-9999.ebuild 2010-05-29 13:09:00.851818044 +0200 @@ -100,10 +100,10 @@ append-flags -D__STDC_CONSTANT_MACROS # Workaround for bug #320145. TODO(phajdan.jr): rather use a gyp define. - append-flags -DUSE_SSE=0 + # append-flags -DUSE_SSE=0 # Configuration options (system libraries and disable forced SSE2) - local myconf="-Ddisable_sse2=1 -Duse_system_zlib=1 -Duse_system_bzip2=1 -Duse_system_ffmpeg=1 -Dproprietary_codecs=1 -Duse_system_libevent=1 -Duse_system_libjpeg=1 -Duse_system_libpng=1 -Duse_system_libxml=1 -Duse_system_libxslt=1" + local myconf="-Duse_system_zlib=1 -Duse_system_bzip2=1 -Dproprietary_codecs=1 -Duse_system_libevent=1 -Duse_system_libjpeg=1 -Duse_system_libpng=1 -Duse_system_libxml=1 -Duse_system_libxslt=1" # -Duse_system_sqlite=1 : http://crbug.com/22208 # Others still bundled: icu (not possible?), hunspell (changes required for sandbox support) @@ -112,7 +112,7 @@ # Disable the V8 snapshot. It breaks the build on hardened (bug #301880), # and the performance gain isn't worth it. - myconf="${myconf} -Dv8_use_snapshot=0" + # myconf="${myconf} -Dv8_use_snapshot=0" # Disable tcmalloc memory allocator. It causes problems, # for example bug #320419. @@ -164,6 +164,8 @@ pax-mark m out/Release/chrome doexe out/Release/chrome doexe out/Release/chrome_sandbox + doexe out/Release/libffmpegsumo.so + fperms 4755 ${CHROMIUM_HOME}/chrome_sandbox doexe out/Release/xdg-settings doexe "${FILESDIR}"/chromium-launcher.sh @@ -180,9 +182,9 @@ # Chromium looks for these in its folder # See media_posix.cc and base_paths_linux.cc - dosym /usr/$(get_libdir)/libavcodec.so.52 ${CHROMIUM_HOME} - dosym /usr/$(get_libdir)/libavformat.so.52 ${CHROMIUM_HOME} - dosym /usr/$(get_libdir)/libavutil.so.50 ${CHROMIUM_HOME} + # dosym /usr/$(get_libdir)/libavcodec.so.52 ${CHROMIUM_HOME} + # dosym /usr/$(get_libdir)/libavformat.so.52 ${CHROMIUM_HOME} + # dosym /usr/$(get_libdir)/libavutil.so.50 ${CHROMIUM_HOME} # Use system plugins by default. dosym /usr/$(get_libdir)/nsbrowser/plugins ${CHROMIUM_HOME}/plugins