2022-02-05 14:23:32 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
|
|
|
|
PKG_NAME="edid-decode"
|
2023-02-28 02:43:53 +00:00
|
|
|
PKG_VERSION="9ba4e90f3c0705351d32f526653e3e765fa2cf64" # 2022-09-23
|
|
|
|
PKG_SHA256="8b55a1c09a32c4c39ea0092e1f468f545a535323eb36016e042e0bf156833a1b"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LICENSE="None"
|
2023-02-28 02:43:53 +00:00
|
|
|
PKG_SITE="https://git.linuxtv.org/edid-decode.git/"
|
|
|
|
PKG_URL="https://repo.or.cz/edid-decode.git/snapshot/${PKG_VERSION}.tar.gz"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
|
|
PKG_LONGDESC="Decode EDID data in human-readable format"
|
2023-02-28 02:43:53 +00:00
|
|
|
|
|
|
|
EDID_SOURCES="calc-gtf-cvt.cpp calc-ovt.cpp \
|
|
|
|
edid-decode.cpp parse-base-block.cpp parse-cta-block.cpp \
|
|
|
|
parse-displayid-block.cpp parse-ls-ext-block.cpp \
|
|
|
|
parse-di-ext-block.cpp parse-vtb-ext-block.cpp"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
make_target() {
|
2023-02-28 02:43:53 +00:00
|
|
|
echo "${CXX} ${CPPFLAGS} -Wall ${LDFLAGS} -g -DSHA=${PKG_VERSION:0:12} -o edid-decode ${EDID_SOURCES} -lm"
|
|
|
|
${CXX} ${CPPFLAGS} -Wall ${LDFLAGS} -g -DSHA=${PKG_VERSION:0:12} -o edid-decode ${EDID_SOURCES} -lm
|
2022-02-05 14:23:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
makeinstall_target() {
|
2023-02-24 13:53:43 +00:00
|
|
|
mkdir -p ${INSTALL}/usr/bin
|
|
|
|
cp edid-decode ${INSTALL}/usr/bin
|
2022-02-05 14:23:32 +00:00
|
|
|
}
|