ti-codecs-dm365: rework with the new version
authorDenys Dmytriyenko <denis@denix.org>
Wed, 17 Mar 2010 18:05:14 +0000 (14:05 -0400)
committerKoen Kooi <koen@openembedded.org>
Mon, 12 Apr 2010 17:43:26 +0000 (19:43 +0200)
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Koen Kooi <k-kooi@ti.com>
recipes/ti/ti-codecs-dm365.inc [deleted file]
recipes/ti/ti-codecs-dm365_1.0.6.bb [deleted file]
recipes/ti/ti-codecs-dm365_3.10.00.02.bb [new file with mode: 0644]

diff --git a/recipes/ti/ti-codecs-dm365.inc b/recipes/ti/ti-codecs-dm365.inc
deleted file mode 100644 (file)
index 88b8e76..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-DESCRIPTION = "DM365 Codecs"
-SECTION = "multimedia"
-LICENSE = "TI"
-
-BASE_SRC_URI = "http://install.source.dir.local"
-SRC_URI        = "${BASE_SRC_URI}/dm365_codecs_${PV}.tar.gz"
-
-S = "${WORKDIR}/dm365_codecs_${PV}"
-
-require ti-paths.inc
-
-do_compile() {
-       echo "Do nothing"
-}
-
-do_install () {
-     # install mapdmaq on target
-     install -d ${D}/${installdir}/codecs
-}
-
-do_stage() {
-    install -d ${CODEC_INSTALL_DIR}
-    cp -pPrf ${S}/* ${CODEC_INSTALL_DIR}
-}
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-FILES_${PN} = "${installdir}/codecs"
-INHIBIT_PACKAGE_STRIP = "1"
-INSANE_SKIP_${PN} = True
-
diff --git a/recipes/ti/ti-codecs-dm365_1.0.6.bb b/recipes/ti/ti-codecs-dm365_1.0.6.bb
deleted file mode 100644 (file)
index 59f5722..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-
-PV = "01_00_06"
-
-require ti-codecs-dm365.inc
-
-
diff --git a/recipes/ti/ti-codecs-dm365_3.10.00.02.bb b/recipes/ti/ti-codecs-dm365_3.10.00.02.bb
new file mode 100644 (file)
index 0000000..d977c10
--- /dev/null
@@ -0,0 +1,38 @@
+DESCRIPTION = "DM365 Codecs"
+SECTION = "multimedia"
+LICENSE = "TI"
+
+PV = "03_10_00_02"
+
+BASE_SRC_URI = "http://install.source.dir.local"
+SRC_URI = "${BASE_SRC_URI}/dm365_codecs_${PV}.tar.gz;name=dm365codecs \
+           file://mapdmaq"
+
+SRC_URI[dm365codecs.md5sum] = "c6e8715d1a73f43ce4fbcda5c2597a6f"
+SRC_URI[dm365codecs.sha256sum] = "a34320d55cc7abaa8a2f4802db63188b71a15d97a7ca1bebc654be296c030fd9"
+
+S = "${WORKDIR}/dm365_codecs_${PV}"
+
+PROVIDES += "ti-codecs-dm365-server"
+
+require ti-paths.inc
+require ti-staging.inc
+
+do_compile() {
+       echo "Do nothing"
+}
+
+do_install () {
+       install -d ${D}/${installdir}/ti-codecs-server
+       cd ${S}
+
+       install -m 0755 ${WORKDIR}/mapdmaq ${D}/${installdir}/ti-codecs-server
+
+       install -d ${D}${CODEC_INSTALL_DIR_RECIPE}
+       cp -pPrf ${S}/* ${D}${CODEC_INSTALL_DIR_RECIPE}
+}
+
+PACKAGES += "ti-codecs-dm365-server"
+FILES_ti-codecs-dm365-server = "${installdir}/ti-codecs-server/*"
+
+INSANE_SKIP_ti-codecs-dm365-server = True