blob: 37223d0db818995f9ef9e24987159a5652965835 [file] [log] [blame]
# Copyright 2020 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=7
CROS_WORKON_COMMIT=("5b65fda1baa0e2e20d728690275e57eedb90c754" "66286b08bab6dc1bd60aa0746badf554b9278339")
CROS_WORKON_TREE=("b1c6245dddc7b5e10da108b13f7c3883aa0b6c2c" "e7dba8c91c1f3257c34d4a7ffff0ea2537aeb6bb" "c21e4f27dbf3f77743ca90efe4b116f6a95add73")
CROS_WORKON_LOCALNAME=("platform2" "third_party/lexmark-fax-pnh")
CROS_WORKON_PROJECT=("chromiumos/platform2" "chromiumos/third_party/lexmark-fax-pnh")
CROS_WORKON_DESTDIR=("${S}/platform2" "${S}/platform2/lexmark-fax-pnh")
CROS_WORKON_INCREMENTAL_BUILD=1
CROS_WORKON_SUBTREE=("common-mk .gn" "")
PLATFORM_SUBDIR="lexmark-fax-pnh"
inherit cros-workon platform
DESCRIPTION="ChromeOS implementation of the Lexmark fax-pnh-filter"
HOMEPAGE="https://chromium.googlesource.com/chromiumos/third_party/lexmark-fax-pnh/"
LICENSE="MPL-2.0"
KEYWORDS="*"
IUSE=""
RDEPEND="
net-print/cups
"
DEPEND="${RDEPEND}"
platform_pkg_test() {
platform_test "run" "${OUT}/token_replacer_testrunner"
}
src_install() {
exeinto /usr/libexec/cups/filter
doexe "${OUT}"/fax-pnh-filter
}