summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/portaudio/files/flags.patch (renamed from packages/portaudio/portaudio-0.0.19/flags.patch)0
-rw-r--r--packages/portaudio/files/no-static-lib.patch0
-rw-r--r--packages/portaudio/portaudio_0.0.19.bb22
3 files changed, 16 insertions, 6 deletions
diff --git a/packages/portaudio/portaudio-0.0.19/flags.patch b/packages/portaudio/files/flags.patch
index e69de29bb2..e69de29bb2 100644
--- a/packages/portaudio/portaudio-0.0.19/flags.patch
+++ b/packages/portaudio/files/flags.patch
diff --git a/packages/portaudio/files/no-static-lib.patch b/packages/portaudio/files/no-static-lib.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/portaudio/files/no-static-lib.patch
diff --git a/packages/portaudio/portaudio_0.0.19.bb b/packages/portaudio/portaudio_0.0.19.bb
index e87e4e9c43..c0f9ced49e 100644
--- a/packages/portaudio/portaudio_0.0.19.bb
+++ b/packages/portaudio/portaudio_0.0.19.bb
@@ -3,13 +3,17 @@ SECTION = "libs"
PRIORITY = "optional"
MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
LICENSE = "GPL"
+PV = "v19-cvs-${CVSDATE}"
+PR = "r0"
+
SRC_URI = "http://www.portaudio.com/archives/pa_snapshot_v19.tar.gz \
- file://flags.patch;patch=1"
+ file://flags.patch;patch=1 \
+ file://no-static-lib.patch;patch=1"
S = "${WORKDIR}/portaudio"
-inherit autotools pkgconfig
+inherit autotools pkgconfig
-EXTRA_OECONF = "--with-jack=no"
+EXTRA_OECONF = "--with-oss --with-alsa --with-jack=no"
do_stage() {
oe_libinstall -so -C lib libportaudio ${STAGING_LIBDIR}
@@ -17,8 +21,14 @@ do_stage() {
}
do_install() {
- install -d ${D}${libdir}
- install -d ${D}${includedir}
- oe_runmake 'PREFIX=${D}${prefix}' install
+ install -d ${D}/${libdir}
+ install -d ${D}/${bindir}
+ install -d ${D}/${includedir}
+ oe_libinstall -so -C lib libportaudio ${D}/${libdir}
+ install -m 0644 pa_common/portaudio.h ${D}/${includedir}
+ install -m 0755 bin/* ${D}/${bindir}/
}
+PACKAGES = "portaudio portaudio-dev portaudio-examples"
+FILES_${PN} = "${libdir}"
+FILES_portaudio-examples = "${bindir}"