| # Copyright (c) 2013 The Chromium OS Authors. All rights reserved. |
| # Distributed under the terms of the GNU General Public License v2 |
| # $Header: $ |
| |
| EAPI="4" |
| CROS_WORKON_COMMIT="5ee665e7c68856d3b6ce8bb0f610d43503e603af" |
| CROS_WORKON_TREE="1664adaef513e787e3025c39dbd4f16494fa7b7f" |
| CROS_WORKON_PROJECT="chromiumos/platform/jabra_vold" |
| CROS_WORKON_LOCALNAME="jabra_vold" |
| |
| inherit cros-workon toolchain-funcs udev user |
| |
| DESCRIPTION="A simple daemon to handle Jabra speakerphone volume change" |
| SRC_URI="" |
| |
| LICENSE="BSD-Google" |
| SLOT="0" |
| KEYWORDS="*" |
| |
| RDEPEND=">=media-libs/alsa-lib-1.0" |
| DEPEND="${RDEPEND}" |
| |
| src_compile() { |
| tc-export CC PKG_CONFIG |
| |
| emake |
| } |
| |
| src_install() { |
| dosbin jabra_vold |
| |
| udev_dorules 99-jabra{,-usbmon}.rules |
| } |
| |
| pkg_postinst() { |
| enewuser "volume" |
| enewgroup "volume" |
| } |