add portaudio
This commit is contained in:
parent
1fc1f2431a
commit
f59513de0e
|
@ -0,0 +1,26 @@
|
|||
SUMMARY = "PortAudio is a free, cross-platform, open-source, audio I/O library."
|
||||
DESCRIPTION = "It lets you write simple audio programs in 'C' or C++ that will compile and run on many platforms including Windows, Macintosh OS X, and Unix (OSS/ALSA). "
|
||||
HOMEPAGE = "http://www.portaudio.com/"
|
||||
DEPENDS = ""
|
||||
LICENSE = "GPLv2"
|
||||
|
||||
inherit workonsrc
|
||||
WORKONSRC = "${TOPDIR}/../src/apps/portaudio"
|
||||
|
||||
COMPATIBLE_HOST = "aarch64-poky-linux"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${libdir}
|
||||
install -d ${D}${libdir}/pkgconfig
|
||||
install -d ${D}${includedir}
|
||||
|
||||
#jemalloc
|
||||
install -m 755 ${S}/lib64/libportaudio.so ${D}${libdir}
|
||||
install -m 755 ${S}/lib64/pkgconfig/portaudio-2.0.pc ${D}${libdir}/pkgconfig
|
||||
install -m 755 ${S}/include/pa_linux_alsa.h ${D}${includedir}/
|
||||
install -m 755 ${S}/include/portaudio.h ${D}${includedir}/
|
||||
}
|
||||
|
||||
FILES_${PN} += "${includedir} ${libdir}"
|
||||
INSANE_SKIP_${PN} += "already-stripped ldflags"
|
||||
FILES_${PN}-dev = "${libdir} ${includedir}"
|
|
@ -15,6 +15,7 @@ CORE_IMAGE_EXTRA_INSTALL += " \
|
|||
${@base_contains('LICENSE_FLAGS_GMRENDER', 'yes', 'packagegroup-mtk-gstreamer1.0', '' ,d)} \
|
||||
"
|
||||
|
||||
TOOLCHAIN_TARGET_TASK_remove = "ntp"
|
||||
|
||||
IMAGE_INSTALL_append = " \
|
||||
${@base_contains('LICENSE_FLAGS_FFMPEG', 'yes', 'ffmpeg', '' ,d)} \
|
||||
|
@ -64,6 +65,7 @@ IMAGE_INSTALL_append = " \
|
|||
cunit \
|
||||
nghttp2 \
|
||||
jemalloc \
|
||||
portaudio \
|
||||
"
|
||||
|
||||
install_proc() {
|
||||
|
|
Loading…
Reference in New Issue