diff options
author | Mike Gilbert <floppym@gentoo.org> | 2018-01-12 14:42:50 -0500 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2018-01-12 14:42:50 -0500 |
commit | a4209ad7aa7c3334cf47a76feb89609358b09369 (patch) | |
tree | 31b69e768c4095ca4f4a8ea8f8130559a6f9a801 /www-client | |
parent | sys-apps/kmod: x86 stable (diff) | |
download | gentoo-a4209ad7aa7c3334cf47a76feb89609358b09369.tar.gz gentoo-a4209ad7aa7c3334cf47a76feb89609358b09369.tar.bz2 gentoo-a4209ad7aa7c3334cf47a76feb89609358b09369.zip |
www-client/chromium: skip swiftshader install if it wasn't built
Bug: https://bugs.gentoo.org/636758
Package-Manager: Portage-2.3.19_p11, Repoman-2.3.6_p45
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/chromium/chromium-63.0.3239.108.ebuild | 6 | ||||
-rw-r--r-- | www-client/chromium/chromium-64.0.3282.71.ebuild | 6 | ||||
-rw-r--r-- | www-client/chromium/chromium-65.0.3298.3.ebuild | 6 |
3 files changed, 12 insertions, 6 deletions
diff --git a/www-client/chromium/chromium-63.0.3239.108.ebuild b/www-client/chromium/chromium-63.0.3239.108.ebuild index 3bbcd8dde5be..b696500ab6ef 100644 --- a/www-client/chromium/chromium-63.0.3239.108.ebuild +++ b/www-client/chromium/chromium-63.0.3239.108.ebuild @@ -611,8 +611,10 @@ src_install() { doins -r out/Release/locales doins -r out/Release/resources - insinto "${CHROMIUM_HOME}/swiftshader" - doins out/Release/swiftshader/*.so + if [[ -d out/Release/swiftshader ]]; then + insinto "${CHROMIUM_HOME}/swiftshader" + doins out/Release/swiftshader/*.so + fi # Install icons and desktop entry. local branding size diff --git a/www-client/chromium/chromium-64.0.3282.71.ebuild b/www-client/chromium/chromium-64.0.3282.71.ebuild index 54365f906d44..f9d0c892ec16 100644 --- a/www-client/chromium/chromium-64.0.3282.71.ebuild +++ b/www-client/chromium/chromium-64.0.3282.71.ebuild @@ -627,8 +627,10 @@ src_install() { doins -r out/Release/locales doins -r out/Release/resources - insinto "${CHROMIUM_HOME}/swiftshader" - doins out/Release/swiftshader/*.so + if [[ -d out/Release/swiftshader ]]; then + insinto "${CHROMIUM_HOME}/swiftshader" + doins out/Release/swiftshader/*.so + fi # Install icons and desktop entry. local branding size diff --git a/www-client/chromium/chromium-65.0.3298.3.ebuild b/www-client/chromium/chromium-65.0.3298.3.ebuild index 9d1cbd868256..33ba5d9ef0ed 100644 --- a/www-client/chromium/chromium-65.0.3298.3.ebuild +++ b/www-client/chromium/chromium-65.0.3298.3.ebuild @@ -632,8 +632,10 @@ src_install() { doins -r out/Release/locales doins -r out/Release/resources - insinto "${CHROMIUM_HOME}/swiftshader" - doins out/Release/swiftshader/*.so + if [[ -d out/Release/swiftshader ]]; then + insinto "${CHROMIUM_HOME}/swiftshader" + doins out/Release/swiftshader/*.so + fi # Install icons and desktop entry. local branding size |