blob: 8d26e418f201f4d18b8877949fca3e96ec6db497 [file] [log] [blame]
DESCRIPTION = "MTK audio mixer ctrl simple interface"
LICENSE = "MediaTekProprietary"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e1696b147d49d491bcb4da1a57173fff"
INSANE_SKIP_${PN} += "installed-vs-shipped"
inherit workonsrc deploy
WORKONSRC = "${TOPDIR}/../src/multimedia/audio-misc/audio-mixerctrl-lib"
DEPENDS = "alsa-lib"
FILES_${PN} += "${libdir}/*"
FILES_${PN}-dev += "${includedir}"
PACKAGES = "${PN} ${PN}-dev"
#Skip strip check in QA test.
INSANE_SKIP_${PN} += "already-stripped"
INSANE_SKIP_${PN} += "dev-so"
do_compile () {
oe_runmake
}
do_install_append () {
install -d ${D}${includedir}
install -m 0644 ${S}/mixer_ctrl.h ${D}${includedir}
install -d ${D}/${libdir}
install -m 0755 ${S}/libmtk_audio_mixer_ctrl.so.1.0.0 ${D}${libdir}
cd ${D}${libdir}
ln -s libmtk_audio_mixer_ctrl.so.1.0.0 ./libmtk_audio_mixer_ctrl.so.1
ln -s libmtk_audio_mixer_ctrl.so.1.0.0 ./libmtk_audio_mixer_ctrl.so
cd -
}