Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 810A9E00B23; Fri, 21 Aug 2015 07:38:31 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [65.55.169.115 listed in list.dnswl.org] * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0115.outbound.protection.outlook.com [65.55.169.115]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 8B09DE00A28 for ; Fri, 21 Aug 2015 07:38:25 -0700 (PDT) Received: from BLUPR0301CA0014.namprd03.prod.outlook.com (10.162.113.152) by CY1PR0301MB1178.namprd03.prod.outlook.com (10.160.165.21) with Microsoft SMTP Server (TLS) id 15.1.231.21; Fri, 21 Aug 2015 14:38:22 +0000 Received: from BN1BFFO11FD045.protection.gbl (2a01:111:f400:7c10::1:165) by BLUPR0301CA0014.outlook.office365.com (2a01:111:e400:5259::24) with Microsoft SMTP Server (TLS) id 15.1.231.21 via Frontend Transport; Fri, 21 Aug 2015 14:38:21 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BN1BFFO11FD045.mail.protection.outlook.com (10.58.145.0) with Microsoft SMTP Server (TLS) id 15.1.249.14 via Frontend Transport; Fri, 21 Aug 2015 14:38:21 +0000 Received: from carol-OptiPlex-3020.ap.freescale.net (carol-OptiPlex-3020.ap.freescale.net [10.192.241.17]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id t7LEcJVg019345; Fri, 21 Aug 2015 07:38:19 -0700 From: Yuqing Zhu To: Date: Fri, 21 Aug 2015 22:38:06 +0800 Message-ID: <1440167886-20156-1-git-send-email-b54851@freescale.com> X-Mailer: git-send-email 1.9.1 X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD045; 1:eEUXlDZwuo2ymqQVuzMqDI01MXaMYyBV9WoqhGqXe/G43CDPP06J5Sa25YNhYQopySRp2veTlQmIJdUgUGAyLY4vy82yu0VIrgWgoRb1zka4neR9Wmi1GbmzTlikONLJHsHHqRVeW+YCjsDTH/CKxs0bs1cH+SvXwk71zqP4UqJ/QZFw6bJ3wzpWHlLM5ApQjLquUBRqeZHhYL8xdOaE/1AG+eR8dT0M1elpNrLcXnQKVC0jx330ky89BedPg2Lh/FFqebVwErvfb5to8uGD7hEJAa2s84y0Xd5Q4zjaCAuQzKyd9NeA7M+O6LlPeckP8ek+k+eVv1D3PH25S6XNhCDgU6de4G6PWDBQsWAIFwOFuCZE6wf1gzZ6Yfs5Rkl4SRBonlYmEHaUoW3U2z+Kig== X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(3050300001)(339900001)(189002)(54014002)(199003)(68736005)(77096005)(92566002)(86362001)(50226001)(5003940100001)(5007970100001)(62966003)(450100001)(47776003)(64706001)(87936001)(77156002)(104016003)(33646002)(229853001)(2351001)(107886002)(189998001)(50986999)(110136002)(5001960100002)(105606002)(106466001)(48376002)(4001540100001)(81156007)(50466002)(5001830100001)(5001860100001)(230783001)(19580395003)(6806004)(19580405001)(46102003)(36756003)(97736004)(85426001)(69596002)(2004002)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR0301MB1178; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1178; 2:UCR5maiIsIywgYvrMYwfKY7h6ZfqmS1EZPmhlZZbFIQWoHuV5t15IDKEPJuCvftYc0UMOQFmb3Jaz42q2VCPziKZzpaRHIiCsHGnCnIgNjho6bbf2ye3S4QTgSr1wC5E97IdGBJm0lZuJBCdS9I/oMm0Ment0W/GLqd1z04wwRg=; 3:su3p+6dK2mAt8/2CpmagcqnaC0HAfKozIwDLWMKfr66OOZcAFNz2rS6qem6ogqlAYLQJikjkWlnZ1DVSwZmYrvGOpjTFYRb8uJOjtsVRMmzgwEbiiydxXLE4j62vLJ+u43HeQGNSNTVYP3gkWk3f4fqJWkZSivrY5YcyiKzttMZNVMg5Q2lesfbtGOPCOd/rYkaTubvO2NGZ+vp48urkAKJDyyZa6HgC1KOJCrzD0tM=; 25:P9+Z5EJGOAcgb1NHIW/H24v2a3aVdmE5px+AVcDUcma6bL1zAGPW6q4ZoCE7RAIQJ5tErfo2Zz+A+2I+QdcFaY7d56mZ+iAcH/w4P4vrItkfVjDhoTgjwC9DNb/WEuoxHS4Ma9Q83FgBC6EUeP7BN4kGa2wTp3lKfbMwIJsqB6il0vGzJE6+UpWtos9gTyGOK08tY1W+Hb2PgDG0BiLGH6GsysbixkhTnV2IhmlwIt5ct8lLWO6yi6y3uAS0Fe0XpxIvYjkXwHYbCpPQ/dASYg== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0301MB1178; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1178; 20:pCwrm2S6PaRi9bdC7lfZx3ol12dtbugUGwh6/LiYY8AcfIjiD3D48LhhzaBPwC4TwNjIEo9nA1PCwO1DeqCwLJqDQIuhPGE6hPLdtu5y0kbf+yHhO9monYYgfMlCiGOQfR+LabGjiAq7n2N/oj34JdhrWqVgglHysR/e1w3l5xyei5QgzfdHeTSLPDKKSLzJ3zmcKbb3DP9TztunA4kccYTd1NDbdOAWAa7ThhxlkV7k4+n08XnFQ+uoWmH6wk/1Ol9qlyn63VuVcKGNf+U/hVLfj98Xv2+zVsaobYKIgeMBNdad+5UWdzA55MAP+2ULwcl96cK+qDZQWHetisGH1zluwEsM4399i8lusNQMe3Q=; 4:OpjwJIAOKgRL8/zWE+aoRy6ADZwxc98m4LLaqSTFXtP6QnIo/lY5mVIird+Ho1vq/etIuWxVZVykgAvSnYk4/yZnJpqrb/ekVuP1AvB66iihSR5ypJrqbOC2ziBCl/iS/cOsHHLNZwq+4qMcCTVt+djf47LP05Pg/mQCh8n00ADVuD0O/+xYJXD01RiY0clq/s9p2GecAiEGNxsNt6zdXb0MB7/8GYVuLnenIYwGL1WxNgkkz7E+kgc1ewg6kZrHcUQCdCXqGEuIkb69zoswkpvYAL2693IofmkJgLitIEehyGDVzOadBCvg7Cj60Y2Z X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(8121501046)(5005006)(3002001); SRVR:CY1PR0301MB1178; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0301MB1178; X-Forefront-PRVS: 067553F396 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0301MB1178; 23:5DF0X5IH4PwKLFpczBYkrK7JfG6kjfZp+u2C5rM?= =?us-ascii?Q?e7S099aeyTjZ6gZrwQ/PvHq0SJnsN3JwuOEFwDxyc28NvZW9Is/5M3OvEbu9?= =?us-ascii?Q?HUQf2Uxy0veHFBuNr9cGfeb9hG2WwlTxRUCN1YVnkzs4JT14OBGuxuRvHGE3?= =?us-ascii?Q?46y7/l4X3Rf9/vjUeweiYDApuj7v8Evqf7lKCbShIw0EmMHAd6UVR6KYlqET?= =?us-ascii?Q?jty6D76wpUA3oqn/pU84BWU0BQd/s3ZXUAA/GhMp3ZtDfBG2Ynzs84d0ikYc?= =?us-ascii?Q?DzWeoJhGXTgb3i4z/MYZm6IRJjAsDZ/fY63uW/R2n+nAlhkbvQ9XWVs0h2hF?= =?us-ascii?Q?1b2mk3GJxK7k9X0zfMFraRy1i8oGWq7iHG5JUwfwFAglaveTwm6a3XM8bLw8?= =?us-ascii?Q?TX6X7x63HSt5rp5hZH83egV5nwf7Te3pE5mmwfwRmZMnsfCXUNebLFkDydQ4?= =?us-ascii?Q?uD9oHWGYq1Amiw3mLItKfLiai3+EGM2LoD+JOoohjGA+yNemgSBzJn/MNdbK?= =?us-ascii?Q?RQRyxIn9TO6Qb7lZEwSCDMWNHi12BLWmeEDHx9ojNLB0l3XBVg35mlieu8Wz?= =?us-ascii?Q?FMVPdU7tVJvitZnv0329vnsXSQFy1x58RY3NovFs0XSYVJOjIXijcnJjfXaP?= =?us-ascii?Q?4TB8ht6XG8VAhowDcWGtgRwXoqkH4aTAai8a5UN/5ITUtyhWwci+GQRK0T9N?= =?us-ascii?Q?5Q67KD+0pTSuezqYsi8b0A0AEFwvcg8bipVubcusMZWJ8etHQf3RSD0b+Yde?= =?us-ascii?Q?eK+heHmlpvn1ggUOzz97uTUojxLWHa1Mtg0dW0s36urN2/FCURnV9SlSaQen?= =?us-ascii?Q?kczCOU/9c948Wx7gEBF/5kq44o0xQafTpwdrmqqIzbaFd4T4ROe7bmnlSk8p?= =?us-ascii?Q?E02XrPXYlQwtR/6+0i7xw6VuUCa4+BbbJrNDEc6mW7/y1QSHE+4Y6pXFEeCp?= =?us-ascii?Q?b2u3B2Ji73fjuDXuFEgS8W5lRMDG3aM0cir7djAt43ovHlgtnz/Lvt9GBy3l?= =?us-ascii?Q?SaC4jVgyDb55mJJ13WwzpKyQIWBZ8zJPrxetCeOLbl9h22zN96PFeuQl0Xac?= =?us-ascii?Q?/6kMDtw+AK79hNAwswr1n/JJN7+vcGGnBwRuFYoObPeqF/Q0VdctTKfB+ZGQ?= =?us-ascii?Q?Pt1cY6oVjCrhTEQRgYbG79FTZ4O+UXHSpz0PQCd02DERcLC/FTidOJx6wWHV?= =?us-ascii?Q?fJLQyJkGK+lUrQ/ky6EaNrB3cypJOdnoO8gOEDt7Q7ruHjFS7zUpw238WLHr?= =?us-ascii?Q?Nv6UGasM2SlPuRzlQ+9/TiCY2wDU0R70YQkEZukWZcJ6XArPichpQu4HH/2c?= =?us-ascii?Q?EDg=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1178; 5:GK26InlMiMXnHe505dG0y6fWHf+8/W36dNlTnVkVgz18RAJnPCdvQfkYVzu4vIZk0jF9tQHBF9MBIq7rThgAd0B0f3JCeU6Uc+UF9of63dBXeHsQ9RHm/7v4sy5TZGUtYRZit8BuZk1ElT+0F40t/A==; 24:2HCUhgl7sMPEzS1HUAsKOWrlXyhWLEvbSe97eQo1AVryOLBh6E22R4EsIvfxRuePiwWz5HUnuO1zD1VtoB42e/QJhZk+nALvB+T0BSROu0Y=; 20:o2Rx8P8CPx56O66bqwcU2YS7g8jjlM2cYInQMdaUGHWc5e8P+XCJP8qjRcPromu7ExNJVzri7KqbBTY6fmRAcg== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Aug 2015 14:38:21.5240 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0301MB1178 Subject: [meta-fsl-arm][PATCH v8] pulseaudio: Add PulseAudio configuration X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Aug 2015 14:38:31 -0000 Content-Type: text/plain -Use the ffmpeg resample instead of the speex one, since the ffmpeg resampler gives better quality. -Normally, PulseAudio exits after an application finishes using it. Set exit-idle-time to -1 in the daemon.conf to force it to not exit. Signed-off-by: Yuqing Zhu --- .../pulseaudio/pulseaudio/imx/daemon.conf | 87 +++++++++++ .../pulseaudio/pulseaudio/imx/default.pa | 170 +++++++++++++++++++++ .../pulseaudio/pulseaudio_%.bbappend | 15 ++ 3 files changed, 272 insertions(+) create mode 100644 recipes-multimedia/pulseaudio/pulseaudio/imx/daemon.conf create mode 100644 recipes-multimedia/pulseaudio/pulseaudio/imx/default.pa diff --git a/recipes-multimedia/pulseaudio/pulseaudio/imx/daemon.conf b/recipes-multimedia/pulseaudio/pulseaudio/imx/daemon.conf new file mode 100644 index 0000000..54854eb --- /dev/null +++ b/recipes-multimedia/pulseaudio/pulseaudio/imx/daemon.conf @@ -0,0 +1,87 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +# USA. + +## Configuration file for the PulseAudio daemon. See pulse-daemon.conf(5) for +## more information. Default values are commented out. Use either ; or # for +## commenting. + +; daemonize = no +; fail = yes +; allow-module-loading = yes +; allow-exit = yes +; use-pid-file = yes +; system-instance = no +; local-server-type = user +; enable-shm = yes +; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB +; lock-memory = no +; cpu-limit = no + +; high-priority = yes +; nice-level = -11 + +; realtime-scheduling = yes +; realtime-priority = 5 + +exit-idle-time = -1 +; scache-idle-time = 20 + +; dl-search-path = (depends on architecture) + +; load-default-script-file = yes +; default-script-file = /etc/pulse/default.pa + +; log-target = auto +; log-level = notice +; log-meta = no +; log-time = no +; log-backtrace = 0 + +resample-method = ffmpeg +; enable-remixing = yes +; enable-lfe-remixing = no + +flat-volumes = no + +; rlimit-fsize = -1 +; rlimit-data = -1 +; rlimit-stack = -1 +; rlimit-core = -1 +; rlimit-as = -1 +; rlimit-rss = -1 +; rlimit-nproc = -1 +; rlimit-nofile = 256 +; rlimit-memlock = -1 +; rlimit-locks = -1 +; rlimit-sigpending = -1 +; rlimit-msgqueue = -1 +; rlimit-nice = 31 +; rlimit-rtprio = 9 +; rlimit-rttime = 1000000 + +; default-sample-format = s16le +; default-sample-rate = 44100 +; alternate-sample-rate = 48000 +; default-sample-channels = 2 +; default-channel-map = front-left,front-right + +; default-fragments = 4 +; default-fragment-size-msec = 25 + +; enable-deferred-volume = yes +; deferred-volume-safety-margin-usec = 8000 +; deferred-volume-extra-delay-usec = 0 diff --git a/recipes-multimedia/pulseaudio/pulseaudio/imx/default.pa b/recipes-multimedia/pulseaudio/pulseaudio/imx/default.pa new file mode 100644 index 0000000..83a6ba8 --- /dev/null +++ b/recipes-multimedia/pulseaudio/pulseaudio/imx/default.pa @@ -0,0 +1,170 @@ +#!/usr/bin/pulseaudio -nF +# +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +# This startup script is used only if PulseAudio is started per-user +# (i.e. not in system mode) + +.nofail + +### Load something into the sample cache +#load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav +#load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav +#load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav +#load-sample-lazy pulse-access /usr/share/sounds/generic.wav + +.fail + +### Automatically restore the volume of streams and devices +load-module module-device-restore +load-module module-stream-restore +load-module module-card-restore + +### Automatically augment property information from .desktop files +### stored in /usr/share/application +load-module module-augment-properties + +### Should be after module-*-restore but before module-*-detect +load-module module-switch-on-port-available + +### Load audio drivers statically +### (it's probably better to not load these drivers manually, but instead +### use module-udev-detect -- see below -- for doing this automatically) +#load-module module-alsa-sink +#load-module module-alsa-source device=hw:1,0 +#load-module module-oss device="/dev/dsp" sink_name=output source_name=input +#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input +#load-module module-null-sink +#load-module module-pipe-sink + +### Automatically load driver modules depending on the hardware available +.ifexists module-udev-detect.so +load-module module-udev-detect tsched=0 +.else +### Use the static hardware detection module (for systems that lack udev support) +load-module module-detect +.endif + +### Automatically connect sink and source if JACK server is present +.ifexists module-jackdbus-detect.so +.nofail +load-module module-jackdbus-detect channels=2 +.fail +.endif + +### Automatically load driver modules for Bluetooth hardware +.ifexists module-bluetooth-policy.so +load-module module-bluetooth-policy +.endif + +.ifexists module-bluetooth-discover.so +load-module module-bluetooth-discover +.endif + +### Load several protocols +.ifexists module-esound-protocol-unix.so +load-module module-esound-protocol-unix +.endif +load-module module-native-protocol-unix + +### Network access (may be configured with paprefs, so leave this commented +### here if you plan to use paprefs) +#load-module module-esound-protocol-tcp +#load-module module-native-protocol-tcp +#load-module module-zeroconf-publish + +### Load the RTP receiver module (also configured via paprefs, see above) +#load-module module-rtp-recv + +### Load the RTP sender module (also configured via paprefs, see above) +#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'" +#load-module module-rtp-send source=rtp.monitor + +### Load additional modules from GConf settings. This can be configured with the paprefs tool. +### Please keep in mind that the modules configured by paprefs might conflict with manually +### loaded modules. +.ifexists module-gconf.so +.nofail +load-module module-gconf +.fail +.endif + +### Automatically restore the default sink/source when changed by the user +### during runtime +### NOTE: This should be loaded as early as possible so that subsequent modules +### that look up the default sink/source get the right value +load-module module-default-device-restore + +### Automatically move streams to the default sink if the sink they are +### connected to dies, similar for sources +load-module module-rescue-streams + +### Make sure we always have a sink around, even if it is a null sink. +load-module module-always-sink + +### Honour intended role device property +load-module module-intended-roles + +### Automatically suspend sinks/sources that become idle for too long +load-module module-suspend-on-idle + +### If autoexit on idle is enabled we want to make sure we only quit +### when no local session needs us anymore. +.ifexists module-console-kit.so +load-module module-console-kit +.endif +.ifexists module-systemd-login.so +load-module module-systemd-login +.endif + +### Enable positioned event sounds +load-module module-position-event-sounds + +### Cork music/video streams when a phone stream is active +load-module module-role-cork + +### Modules to allow autoloading of filters (such as echo cancellation) +### on demand. module-filter-heuristics tries to determine what filters +### make sense, and module-filter-apply does the heavy-lifting of +### loading modules and rerouting streams. +load-module module-filter-heuristics +load-module module-filter-apply + +### Load DBus protocol +.ifexists module-dbus-protocol.so +load-module module-dbus-protocol +.endif + +# X11 modules should not be started from default.pa so that one daemon +# can be shared by multiple sessions. + +### Load X11 bell module +#load-module module-x11-bell sample=bell-windowing-system + +### Register ourselves in the X11 session manager +#load-module module-x11-xsmp + +### Publish connection data in the X11 root window +#.ifexists module-x11-publish.so +#.nofail +#load-module module-x11-publish +#.fail +#.endif + +### Make some devices default +#set-default-sink output +#set-default-source input diff --git a/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend b/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend index b9acb36..425de96 100644 --- a/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend +++ b/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend @@ -1,4 +1,19 @@ CACHED_CONFIGUREVARS_append_mx6 = " ax_cv_PTHREAD_PRIO_INHERIT=no" +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}/imx:" +IMX_PATCHES = " file://daemon.conf \ + file://default.pa \ +" +SRC_URI_append_mx6 = "${IMX_PATCHES}" +SRC_URI_append_mx7 = "${IMX_PATCHES}" + +do_install_append() { + if [ -n "${IMX_PATCHES}" ]; then + install -m 0644 ${WORKDIR}/daemon.conf ${D}${sysconfdir}/pulse/daemon.conf + install -m 0644 ${WORKDIR}/default.pa ${D}${sysconfdir}/pulse/default.pa + fi +} + PACKAGE_ARCH_mx6 = "${MACHINE_SOCARCH}" +PACKAGE_ARCH_mx7 = "${MACHINE_SOCARCH}" -- 1.9.1