aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/pulseaudio/pulseaudio_git.bb
blob: a8b6c0bf4896645b6613653b0c53038d3b8e052b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
require pulseaudio.inc

SRCREV = "f834150aceccd753e3ac5bab9f7d64bed9993624"
PV = "0.9.22+git"
PR = "${INC_PR}.2-r${SRCPV}"

DEPENDS += "orc gdbm speex"

DEFAULT_PREFERENCE = "-1"

FILESPATHPKG =. "pulseaudio-0.9.21:"

inherit gettext

SRC_URI = "git://git.0pointer.de/pulseaudio.git;protocol=git \
           file://gcc4-compile-fix.patch \
           file://volatiles.04_pulse \
           file://autoconf_version.patch \
           file://tls_m4.patch \
"

S = "${WORKDIR}/git"

do_configure_prepend() {
	touch config.rpath
}

# orc.m4 calls pkg-config ----variable=orcc orc-0.4 to get the path to orcc,
# resulting in /usr/bin/orcc. Force it to use the staged orcc.
do_configure_append() {
    for i in $(find ${S} -name "Makefile") ; do
        sed -i -e s:${bindir}/orcc:${STAGING_BINDIR_NATIVE}/orcc:g $i
    done
}