This commit is contained in:
Huang Xin 2022-05-13 20:36:37 -07:00
commit 106e432549
1 changed files with 0 additions and 42 deletions

View File

@ -1,42 +0,0 @@
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}/
}
# The base package, this includes everything needed to actually run the application on the target system.
PACKAGES += "FILES-${PN}-lib"
FILES_${PN}-lib = " \
${libdir}/lib*.so \
${includedir}/*"
# Make sure our source directory (for the build) matches the directory structure in the tarball
PACKAGES = "${PN} FILES-${PN}-lib ${PN}-dev ${PN}-dbg ${PN}-staticdev"
RDEPENDS_${PN}-staticdev = ""
RDEPENDS_${PN}-dev = ""
RDEPENDS_${PN}-dbg = ""
INSANE_SKIP_${PN} = "ldflags"
INHIBIT_PACKAGE_STRIP = "1"
INHIBIT_SYSROOT_STRIP = "1"
SOLIBS = ".so"
FILES_SOLIBSDEV = ""