blob: a2892764bdbf8dea0688fec412b442937156bb74 [file] [log] [blame]
# Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
CROS_WORKON_COMMIT="bc9c1dc4e3eb4d53434ef2ef270a22fd43a8d5c3"
CROS_WORKON_TREE="606e34a3e9a74c9b2e6170d4405a1e3427fc7fb7"
EAPI=2
CROS_WORKON_PROJECT="chromiumos/third_party/ply-image"
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="amd64 x86 arm"
IUSE=""
DEPEND="media-libs/libpng
x11-libs/libdrm"
RDEPEND="${DEPEND}"
src_compile() {
if tc-is-cross-compiler ; then
tc-getCC
fi
emake || die "emake failed"
}
src_install() {
mkdir -p "${D}/usr/bin"
cp "${S}/src/ply-image" "${D}/usr/bin"
}