blob: 39cca1c485822d89e1b8a387c3007ee2524d9ff2 [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="81eee0ad7b54385f9598a90cbe5e722d6ca77da9"
CROS_WORKON_TREE="a6e1c7ecf22a71a73edc80b6bfc86f9fe4b786fd"
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="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
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
}