Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 6C1B8E00ACF; Sun, 23 Aug 2015 22:42:44 -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 * [157.56.111.118 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-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0118.outbound.protection.outlook.com [157.56.111.118]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A3525E00AC8 for ; Sun, 23 Aug 2015 22:42:41 -0700 (PDT) Received: from BN3PR0301CA0035.namprd03.prod.outlook.com (10.160.180.173) by DM2PR0301MB1181.namprd03.prod.outlook.com (10.160.217.143) with Microsoft SMTP Server (TLS) id 15.1.231.21; Mon, 24 Aug 2015 05:42:38 +0000 Received: from BY2FFO11FD017.protection.gbl (2a01:111:f400:7c0c::126) by BN3PR0301CA0035.outlook.office365.com (2a01:111:e400:4000::45) with Microsoft SMTP Server (TLS) id 15.1.243.23 via Frontend Transport; Mon, 24 Aug 2015 05:42:38 +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 BY2FFO11FD017.mail.protection.outlook.com (10.1.14.105) with Microsoft SMTP Server (TLS) id 15.1.249.14 via Frontend Transport; Mon, 24 Aug 2015 05:42:37 +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 t7O5gZKN010098; Sun, 23 Aug 2015 22:42:36 -0700 From: Yuqing Zhu To: Date: Mon, 24 Aug 2015 13:42:19 +0800 Message-ID: <1440394939-6658-1-git-send-email-b54851@freescale.com> X-Mailer: git-send-email 1.9.1 X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD017; 1:p2vqrY3JisuifDYkhJLYiNb/7fBv3YCY8TV1ZA6LPgAEiN+tbye0sp2c4t3ihS3lGyFUF7mWdwAuWfSlQqJiQUXXGRj1Q52vupIQJJ8pX2HNpipjlu0xE2tOMQd5Qkp1wJMzdZnmLWaGaoTR/fY7+cT/ZbkBEshFPg/2iA4gn6abScHZcMUpmABrmmpUFfNclkrVpcbEdo7UFpWEZzpNxYUhUfvW47G7YmokcU/RqV4kASyGE5o5HbOgZBs8yMa9swRT5nME5ZrM/LTPyR+djnBHdftXkEPOsk8z2skZ7MviOUJq4J6VXcs0p1GDqLO0YA+mVCS3YeUUFCvrWs4sEgAe7q9mWWneCV2pqtobDZ/eJ2t2dgMsYsVa+Xhkku/0fmJfx46KuNOLpAcFXj/73A== 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)(92566002)(189998001)(110136002)(107886002)(5001960100002)(46102003)(50986999)(50226001)(5007970100001)(5003940100001)(68736005)(77096005)(5001830100001)(48376002)(33646002)(62966003)(77156002)(450100001)(106466001)(104016003)(105606002)(50466002)(230783001)(86362001)(69596002)(2351001)(97736004)(229853001)(19580405001)(19580395003)(4001540100001)(81156007)(87936001)(5001860100001)(85426001)(64706001)(6806004)(47776003)(36756003)(2004002)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR0301MB1181; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB1181; 2:3I8qAHYEJ0rIGUn0I5b/IVyj38qNsENPTu0XRBdAsjpfXKM4+LQ8pGxm1BUO/dXSgmuwcw4p7APXhEdTyaTPAF8Lo6kI9Cz514hPcMC8GjaX69XWACsfWj7gs4jnoIXy9T3R8WAwwC6XzSmTMhpM/oCIb9/hpoANUE1a+/hZHas=; 3:I0h2WQF4O37+Wzr/nOtVVzi8gADp7jCGoa/O5AS55rUlQsMhm1iNRDdYnamXvOpp6/edTqNvnAirnAdzrksI9euSFp9zkLzO33sxlwK3HRkLsWsxxm/6QH1Km5nhH4o1EznvV4OHFgbn33jf0M6OiA+wBqhGBdvwh4X4ZvUxPn3cZ1yRUFdEOcE2ziI3Qc5DdDhHcDFTbxMvaxOB/+EfbiJpxL9YewrXsmBPc/wzAoU=; 25:d6y+YwHNvtE9MdQbGHwhrMqN04KuR+FJdZD9M/rBxE/wxwqMWdqTh/ER79xZB73XuMU+QUsAbXic7qsmztDtsfvTpG7Cdq9sVSnkjEEBIEyrGgSKQA7Tf97CkPrqOc81buTZgC4i6/LRfxwJrpwWwjv4H9ECqrtXyJJBALbFUN3QOapZ97q254IbbLmDEpyqXKArsQm0LYgSPQfjko4Lhae6QFwwxuOubXl+MGMgFXoYLlyYggMFQhTeGNlYjKabZ8yEknWd1n7BORXln4j+gA== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR0301MB1181; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB1181; 20:JQfVyhMyFboXL9d1xfXO3W3Q3dG2mh0QKIWBv+8jdCiUL6/aTC3HNwgKavJHZgYYDQWZzXyl7NqO1byOL/E4jj20ycRYdf5FqO4F+eXwP5cEE7U7Ck9it/Y3IUaidstmlcgiTQdsjfyGbJAhsspWqzeNj/W48Vhd3s2Lris46oHg2rDG48UvmS8gc9/q65i0S6m289avAM8U7J6vzFtfNOBMs0D6E5nsk+Cb/SPa82myqsHAqKLoy6YPwXr3dWo2kNP1xS09svYQKOV5qhy5ue4YWNbbqRT8xN1cQpY3GVT4fArZylXrg4eRsNjcBue+tJvwhgTu6hpqNmtsVHguq6h3P1P0RxNjW0oFS/GSjJY=; 4:xqbrqHZ9sTy5+jqXB3WfZflcXQWuvuPGYPTmE+JsokKr6o5/RbFIrew9Jh1Akn/HiivD/bsV00N6+yI0fLb65vJQ5HS4j8145qiQ0DXo93/g4YJMkp2r+Cuk+C7fulquks0dDOgr5DYMsDyTNWg9azs9me5Cb1uUMOPBHVIPtU5XsRviDlbVSkVbSwM/hGfXwRRT/MTpEqR5+PpOZGFJ8vboMl67HyW7LN3SmdXymEe6dMNhhlI572j/+3ZcqRrSVoKkZjxJ11LFD+WAz4t78T7J+brPYZukEZGU/Mk7l8kiiMbhm9aGY26ZC4WMQz6i X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(8121501046)(3002001); SRVR:DM2PR0301MB1181; BCL:0; PCL:0; RULEID:; SRVR:DM2PR0301MB1181; X-Forefront-PRVS: 06780E24F8 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR0301MB1181; 23:cdOllnxUlOaNfjpaOXJh2L46Y1ZxKQIpEfxlhik?= =?us-ascii?Q?2eZiQvueDZ0qFhSF/RXDeoqbAZYDoCm0CiSuRNZOx/aeWEh76WHJ1WW4M57F?= =?us-ascii?Q?RV0zd7K/C6l4X1QXk6oaZZQv7FHju0mFjUaTIW95LuYpqcUI3LA80G21Dddi?= =?us-ascii?Q?sPNYXnATpyxjX8O+U6laQEZCJpjYhYWeCswF471knRhWoUIaXluofNoSCM+E?= =?us-ascii?Q?fJ2dm626R24HNDxYSBWr5b2g1imB4uf/vnRjHgnW8dOOLRvoilZ6r0ju0hOd?= =?us-ascii?Q?qp30xWLAXfYF8bPYgB7qPsL777H9veKsb/9VpDmvHH/UfRB+T5G8YOUv1D4H?= =?us-ascii?Q?u2RloUbSwpqVnpOsx5Mefslg33JQvwnaw5Lnezve6X9MBDXBuNA9QFrZe0Q/?= =?us-ascii?Q?mGEzp70BgVfkJ9mwm/7k4Khn4WNx3gu5asaW1SI6JUCOrn0D1LJYtbJGTjMP?= =?us-ascii?Q?E4HE9f6yckYoOxYPk383HXW8VOu9SXJuS9rlFTHR84/QcNuphZX877AuLANc?= =?us-ascii?Q?2P4Nx0sR+1u1nXZz6OI+kj9I44dqr34HJ/zzuGnK1fTzpyD8TOAnM5YQ/Lti?= =?us-ascii?Q?JPLqyL5twIjWVJ+ckaaHwsG1qUzu8vIIeh/XXcrZNzZv9Hvg/vRMD0aNXBt/?= =?us-ascii?Q?4Mpklhk5NkgmK0SBBsvC1N9ranGkzhu0NXcX3wp4BcufIEDnguCI6CZkwgL2?= =?us-ascii?Q?hmza0FF3iWT74H0g1nF2DHErjVjxs3tU+kYWOJJYpsVVhjOH5TVqKyI8/WbB?= =?us-ascii?Q?Ef8WmizfRQw1SMpUp01zofkNCbhS6rP49c1feJ21JUlF5tWhkofP4ybePzLx?= =?us-ascii?Q?1gBKBJWxoVqpBDGIvdiv2NSWKehsM4aJiPjeWkLBqqIYsb9iCHxdZ75wimLX?= =?us-ascii?Q?ZYOu9sXRnOvztTR/n155JQ2ZTeK/Nsz81E9AvNdpa7M3B79H6M+rHH6HbEYs?= =?us-ascii?Q?6MfIOkc+z9d6/wBgZS/WRbniK+A4hwXD4lFlwc11fu9NgmEnxGZCyyN97T1X?= =?us-ascii?Q?Mvf/H6ovSBaTIxoYBRbV960nCmVkhiUeIigx0VqeLlvNbAd1LjjeVOFv1VBK?= =?us-ascii?Q?qEK5R6rc1X0MJus3NLAl1/9QwZZ/caORZtK1TCWOFV5tKddwO3N26Bc11i2F?= =?us-ascii?Q?NxIZEgxaw+SUYM1qKFZ2G1NRqjB8L9NYRa0VhsiMBvDDJmZwy2ayskMePuO5?= =?us-ascii?Q?qM4LWlmtSnnFv14hQs4EVApD4QRJicQeMp0wVLk+12b8OoyE/LIej+zHr7ia?= =?us-ascii?Q?esgVjB+RMqteFJAM5F3ZAQi2WU8XKgMrb0MLGzAmRQ2//0fo+c3U1m2hBFfi?= =?us-ascii?Q?4xA=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB1181; 5:rayAg7xEz7Qfbasy4/pAfCfzzzLF5u9r/EIIgHSnyRbN7oCNKYOj4dzrlr+V9MdRQoCjgyRTH/wiC6ebNS8/lIyyi3nQbmwC0qjiN65MS9adXXl8ityvyvhmF0Q41IE06oxxkfYRFK1s4YDyngLppg==; 24:DdGXpQZtOtBTLr+U5mhtLwIisSlvOEEbeuWviXC55aDflNVnBr/b3bGpgaRP9PcUDPw43ri0gDbUV4osK4PBxFf0f+8JN6nmW2aDBdIP47E=; 20:7gCNl/7wBEZRTeEvXyKEO6th5gixv7feI8aE8KEfIf1bDPvlZOZziLZj7GgnHh/Br4wIuNwEzeUVyyyiaPQovQ== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Aug 2015 05:42:37.7308 (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: DM2PR0301MB1181 Subject: [meta-fsl-arm][PATCH v9] 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: Mon, 24 Aug 2015 05:42:44 -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 | 13 ++ 3 files changed, 270 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..db4f749 100644 --- a/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend +++ b/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend @@ -1,4 +1,17 @@ CACHED_CONFIGUREVARS_append_mx6 = " ax_cv_PTHREAD_PRIO_INHERIT=no" +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}/imx:" + +SRC_URI_append_mx6 = " file://daemon.conf file://default.pa" +SRC_URI_append_mx7 = " file://daemon.conf file://default.pa" + +do_install_append() { + if [ -e "${WORKDIR}/daemon.conf" ] && [ -e "${WORKDIR}/default.pa" ]; 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