| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. | 1 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. |
| 2 # Distributed under the terms of the GNU General Public License v2 | 2 # Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 |
| 4 EAPI=2 | 4 EAPI=2 |
| 5 | 5 |
| 6 inherit toolchain-funcs | 6 inherit toolchain-funcs |
| 7 | 7 |
| 8 DESCRIPTION="Bridge library for Chromium OS" | 8 DESCRIPTION="Bridge library for Chromium OS" |
| 9 HOMEPAGE="http://src.chromium.org" | 9 HOMEPAGE="http://src.chromium.org" |
| 10 LICENSE="BSD" | 10 LICENSE="BSD" |
| 11 SLOT="0" | 11 SLOT="0" |
| 12 KEYWORDS="amd64 x86 arm" | 12 KEYWORDS="amd64 x86 arm" |
| 13 | 13 |
| 14 RDEPEND="app-i18n/ibus | 14 RDEPEND="app-i18n/ibus |
| 15 chromeos-base/flimflam | 15 chromeos-base/flimflam |
| 16 dev-libs/dbus-glib | 16 dev-libs/dbus-glib |
| 17 dev-libs/glib | 17 dev-libs/glib |
| 18 dev-libs/libpcre | 18 dev-libs/libpcre |
| 19 net-libs/gupnp | 19 net-libs/gupnp |
| 20 net-libs/gupnp-av | 20 net-libs/gupnp-av |
| 21 sys-apps/dbus | 21 sys-apps/dbus |
| 22 sys-auth/consolekit | 22 sys-auth/consolekit |
| 23 sys-fs/udev | 23 sys-fs/udev |
| 24 x11-libs/libxklavier" | 24 x11-libs/libxklavier" |
| 25 | 25 |
| 26 DEPEND="${RDEPEND} | 26 DEPEND="${RDEPEND} |
| 27 chromeos-base/libchrome | 27 chromeos-base/libchrome |
| 28 chromeos-base/libchromeos | 28 chromeos-base/libchromeos |
| 29 chromeos-base/synaptics | |
| 30 dev-cpp/gtest" | 29 dev-cpp/gtest" |
| 31 | 30 |
| 32 src_unpack() { | 31 src_unpack() { |
| 33 local platform="${CHROMEOS_ROOT}/src/platform/" | 32 local platform="${CHROMEOS_ROOT}/src/platform/" |
| 34 elog "Using platform: $platform" | 33 elog "Using platform: $platform" |
| 35 mkdir -p "${S}" | 34 mkdir -p "${S}" |
| 36 cp -a "${platform}"/cros/* "${S}" || die | 35 cp -a "${platform}"/cros/* "${S}" || die |
| 37 } | 36 } |
| 38 | 37 |
| 39 src_compile() { | 38 src_compile() { |
| (...skipping 26 matching lines...) Expand all Loading... |
| 66 fi | 65 fi |
| 67 | 66 |
| 68 scons -f SConstruct.chromiumos test || die "cros tests compile failed." | 67 scons -f SConstruct.chromiumos test || die "cros tests compile failed." |
| 69 } | 68 } |
| 70 | 69 |
| 71 src_install() { | 70 src_install() { |
| 72 insinto /opt/google/chrome/chromeos | 71 insinto /opt/google/chrome/chromeos |
| 73 insopts -m0755 | 72 insopts -m0755 |
| 74 doins "${S}/libcros.so" | 73 doins "${S}/libcros.so" |
| 75 } | 74 } |
| OLD | NEW |