From 1f2f47d9ae8d21ace5b74e0c3364e38643088092 Mon Sep 17 00:00:00 2001 From: Naoto Yamaguchi Date: Sun, 18 Aug 2024 02:29:42 +0900 Subject: Add music data package for demo Existing AGL demo has music player App. But it did not have demo data. I found classic music provider that provide data by CC-BY-2.1-JP. URL: https://andotowa.quu.cc/ This patch add music data to AGL demo IVI. Bug-AGL: SPEC-5233 Change-Id: I360885bc827f9518b81cf5cd86e2e213a106b8bb Signed-off-by: Naoto Yamaguchi Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30184 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller Tested-by: Jan-Simon Moeller ci-image-boot-test: Jenkins Job builder account Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30215 --- recipes-demo/pre-install/pre-install-music-data.bb | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 recipes-demo/pre-install/pre-install-music-data.bb (limited to 'recipes-demo') diff --git a/recipes-demo/pre-install/pre-install-music-data.bb b/recipes-demo/pre-install/pre-install-music-data.bb new file mode 100644 index 000000000..991f00d31 --- /dev/null +++ b/recipes-demo/pre-install/pre-install-music-data.bb @@ -0,0 +1,32 @@ +SUMMARY = "Music data for AGL demo" +DESCRIPTION = "Music data for AGL demo aims to setup pre-install music data to use AGL demo use. All music data approved redistribution by provider. " +HOMEPAGE = "https://github.com/agl-ic-eg/demo-music-cache" +SECTION = "Multimedia" +LICENSE = "CC-BY-2.1-JP" +LIC_FILES_CHKSUM = "file://andotowa.quu.cc/LICENSE;md5=f2eaecf5559b657628481f004767cf27" + +SRC_URI = " \ + git://github.com/agl-ic-eg/demo-music-cache.git;branch=master;protocol=https \ +" +SRCREV = "c300ede365fc64ea759ca696fea676069ef80e01" + +inherit allarch + +S = "${WORKDIR}/git" + +INHIBIT_PACKAGE_DEBUG_SPLIT = "1" +ERROR_QA:remove = "empty-dirs" + +do_compile[noexec] = "1" +do_install() { + install -d ${D}/media/pre-install/andotowa.quu.cc + cp ${S}/andotowa.quu.cc/* ${D}/media/pre-install/andotowa.quu.cc/ +} + +PACKAGES = "\ + ${PN} \ +" + +FILES:${PN} = " \ + /media/pre-install/* \ +" -- cgit 1.2.3-korg