blob: cda55008edda13f45bde4c88c9eb5f580ca4e3a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Copyright (C) 2011 Freescale Semiconductor
# Released under the MIT license (see COPYING.MIT for the terms)
DESCRIPTION = "Freescale mm codec libs"
LICENSE = "MIT"
SECTION = "multimedia"
DEPENDS = "pkgconfig"
PR = "r0"
LIC_FILES_CHKSUM = "file://docs/EULA.txt;md5=ea4d5c069d7aef0838a110409ea78a01"
SRC_URI = "file://${PN}-${PV}.tar.gz"
SRC_URI[md5sum] = "e06bcaae6a7f5162caaa4ae5a56bf067"
SRC_URI[sha256sum] = "5f1ec8200469d886dfbe82a22a63033914dc690c545c74a27ababb24fd53952a"
do_install () {
install -d ${D}${libdir}
install -d ${D}${libdir}/pkgconfig
install -d ${D}${includedir}/mm_ghdr
install -d ${D}${includedir}/mm_ghdr/aac_parser
install -d ${D}${includedir}/mm_ghdr/common
install -d ${D}${includedir}/mm_ghdr/flac_parser
install -d ${D}${includedir}/mm_ghdr/mp3_parser
install -d ${D}${includedir}/mm_ghdr/mp3_parser_v2
install -d ${D}${includedir}/mm_ghdr/sbc
install -d ${D}${includedir}/mm_ghdr/wav_parser
install -m 0755 ${S}/release/lib/* ${D}${libdir}
install -m 0644 ${S}/pkgconfig/fsl-mm-core.pc ${D}${libdir}/pkgconfig
install -m 0644 ${S}/ghdr/*.h ${D}${includedir}/mm_ghdr
install -m 0644 ${S}/ghdr/aac_parser/*.h ${D}${includedir}/mm_ghdr/aac_parser
install -m 0644 ${S}/ghdr/common/*.h ${D}${includedir}/mm_ghdr/common
install -m 0644 ${S}/ghdr/flac_parser/*.h ${D}${includedir}/mm_ghdr/flac_parser
install -m 0644 ${S}/ghdr/mp3_parser/*.h ${D}${includedir}/mm_ghdr/mp3_parser
install -m 0644 ${S}/ghdr/mp3_parser_v2/*.h ${D}${includedir}/mm_ghdr/mp3_parser_v2
install -m 0644 ${S}/ghdr/sbc/*.h ${D}${includedir}/mm_ghdr/sbc
install -m 0644 ${S}/ghdr/wav_parser/*.h ${D}${includedir}/mm_ghdr/wav_parser
}
INSANE_SKIP = "True"
FILES_${PN} += "${libdir}/*.so ${libdir}/pkgconfig/*.pc"
FILES_${PN}-dev += "${includedir}/mm_ghdr/*.h \
${includedir}/mm_ghdr/aac_parser/*.h \
${includedir}/mm_ghdr/common/*.h \
${includedir}/mm_ghdr/flac_parser/*.h \
${includedir}/mm_ghdr/mp3_parser/*.h \
${includedir}/mm_ghdr/mp3_parser2/*.h \
${includedir}/mm_ghdr/sbc/*.h \
${includedir}/mm_ghdr/wav_parser/*.h"
|