blob: e4dde5ab90f984b2a2767d350294a61e276b4981 [file] [log] [blame]
# Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
CROS_WORKON_COMMIT="7d5367e2a8618718e90274ae920bc6f406b59b9e"
CROS_WORKON_TREE="e60fc42baf7643809446cb4e42a033ff3ff6db66"
CROS_WORKON_PROJECT="chromiumos/third_party/ply-image"
CROS_WORKON_OUTOFTREE_BUILD="1"
inherit toolchain-funcs cros-workon
DESCRIPTION="Utility that dumps a png image to the frame buffer"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="*"
IUSE=""
DEPEND="media-libs/libpng
x11-libs/libdrm"
RDEPEND="${DEPEND}"
src_configure() {
cros-workon_src_configure
tc-export CC
export OUT=$(cros-workon_get_build_dir)
export SRC=${S}
mkdir -p "${OUT}"
}
src_install() {
dobin "${OUT}"/ply-image
}