1 DESCRIPTION = "Pulseaudio module for enforcing policy decisions in the audio domain"
2 HOMEPAGE = "http://nohomepage.org"
3 SECTION = "Multimedia/Audio FW"
10 inherit autotools-brokensep
15 #PROVIDES by pulseaudio-module-murphy-ivi
19 #RDEPENDS of pulseaudio-module-murphy-ivi (${PN})
20 RDEPENDS_${PN} += "pulseaudio"
21 RDEPENDS_${PN} += "aul"
25 #DEPENDS of pulseaudio-module-murphy-ivi
26 DEPENDS += "pulseaudio"
33 DEPENDS_append_class-native = " libtool"
34 DEPENDS_append_class-target = " libtool-cross"
38 chmod -Rf a+rX,u+w,g-w,o-w ${S}
44 bb.build.exec_func('do_prep', d)
55 LD_AS_NEEDED=1; export LD_AS_NEEDED ;
57 PAVER="`/usr/bin/pkg-config --silence-errors --modversion libpulse | tr -d \\n | sed -e 's/\([0123456789.]\+\).*/\1/'`"
62 autotools_do_configure
68 EXTRA_OECONF += " --disable-static --with-module-dir=${prefix}/lib/pulse-$PAVER/modules --with-dbus --with-documentation=no --with-murphyif"
71 export RPM_BUILD_ROOT=${D}
79 rm -rf $RPM_BUILD_ROOT
84 BINDIR=${prefix}/bin \
86 rm -f ${D}${infodir}/dir
87 find ${D} -regex ".*\.la$" | xargs rm -f --
88 find ${D} -regex ".*\.a$" | xargs rm -f --
89 rm -f ${prefix}/lib/pulse-*/modules/module-*.la
94 pkg_postinst_${PN}() {
97 [ "x$D" == "x" ] && ldconfig
103 [ "x$D" == "x" ] && ldconfig
106 PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale"
107 PACKAGES += " pulseaudio-module-murphy-ivi "
109 pulseaudio-module-murphy-ivi_files = ""
110 pulseaudio-module-murphy-ivi_files += "${prefix}/lib/pulse-*/modules/module-*.so"
111 pulseaudio-module-murphy-ivi_files += "${sysconfdir}/dbus-1/system.d/pulseaudio-murphy-ivi.conf"
112 pulseaudio-module-murphy-ivi_files += "${sysconfdir}/pulse/murphy-ivi.lua"
114 CONFFILES_${PN} += "${sysconfdir}/dbus-1/system.d/pulseaudio-murphy-ivi.conf"
116 FILES_${PN} = "${pulseaudio-module-murphy-ivi_files}"
118 PKG_pulseaudio-module-murphy-ivi= "pulseaudio-module-murphy-ivi"
120 require pulseaudio-module-murphy-ivi-extraconf.inc