blob: b67d20a602fc9359181b2d7492ea908574e09427 [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="6cf4e4cd968bb72ade54e423e2b97eb3a80c6de9"
CROS_WORKON_TREE="b9ee1bc4b9eec6d4124a37805920a7bb1f90ab5c"
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
}