29 lines
779 B
BlitzBasic
29 lines
779 B
BlitzBasic
|
DESCRIPTION = "SmartAudioPlayer"
|
||
|
LICENSE = "MediaTekProprietary"
|
||
|
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
|
||
|
DEPENDS += "alsa-lib"
|
||
|
DEPENDS += "${@base_contains('LICENSE_FLAGS_WHITELIST','commercial','ffmpeg','',d)}"
|
||
|
|
||
|
CFLAGS += "${@base_contains('LICENSE_FLAGS_WHITELIST','commercial','-DCONFIG_SUPPORT_FFMPEG=1','',d)}"
|
||
|
|
||
|
PLAYER_SRC = "${TOPDIR}/../src/multimedia/smartaudioplayer"
|
||
|
|
||
|
inherit workonsrc
|
||
|
|
||
|
WORKONSRC = "${PLAYER_SRC}"
|
||
|
|
||
|
do_compile() {
|
||
|
cd ${S} && make
|
||
|
}
|
||
|
|
||
|
do_install() {
|
||
|
install -d ${D}/${libdir}
|
||
|
install -m 0644 ${S}libsmartaudioplayer.so ${D}/${libdir}/libsmartaudioplayer.so
|
||
|
}
|
||
|
|
||
|
INSANE_SKIP_${PN} += "already-stripped"
|
||
|
FILES_${PN}-dev = ""
|
||
|
FILES_${PN} += "${libdir}"
|
||
|
|
||
|
INSANE_SKIP_${PN} += "ldflags"
|