1*4882a593Smuzhiyunrequire ${BPN}.inc 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunDEPENDS = "${BPN}-native alsa-lib ncurses glib-2.0" 4*4882a593Smuzhiyun 5*4882a593SmuzhiyunSRC_URI += " \ 6*4882a593Smuzhiyun file://0001-Do-not-build-gentables-helper-we-have-to-use-native-.patch \ 7*4882a593Smuzhiyun file://0002-fluid_synth_nwrite_float-Allow-zero-pointer-for-left.patch \ 8*4882a593Smuzhiyun file://0003-Use-ARM-NEON-accelaration-for-float-multithreaded-se.patch \ 9*4882a593Smuzhiyun" 10*4882a593Smuzhiyun 11*4882a593SmuzhiyunEXTRA_OECMAKE = "-Denable-floats=ON -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')}" 12*4882a593Smuzhiyun 13*4882a593Smuzhiyundo_configure:append() { 14*4882a593Smuzhiyun make_tables.exe ${B}/ 15*4882a593Smuzhiyun} 16*4882a593Smuzhiyun 17*4882a593SmuzhiyunPACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio', d)}" 18*4882a593SmuzhiyunPACKAGECONFIG[sndfile] = "-Denable-libsndfile=ON,-Denable-libsndfile=OFF,libsndfile1" 19*4882a593SmuzhiyunPACKAGECONFIG[jack] = "-Denable-jack=ON,-Denable-jack=OFF,jack" 20*4882a593SmuzhiyunPACKAGECONFIG[pulseaudio] = "-Denable-pulseaudio=ON,-Denable-pulseaudio=OFF,pulseaudio" 21*4882a593SmuzhiyunPACKAGECONFIG[portaudio] = "-Denable-portaudio=ON,-Denable-portaudio=OFF,portaudio-v19" 22*4882a593SmuzhiyunPACKAGECONFIG[profiling] = "-Denable-profiling=ON,-Denable-profiling=OFF" 23*4882a593SmuzhiyunPACKAGECONFIG[readline] = "-Denable-readline=ON,-Denable-readline=OFF,readline" 24