summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorJinkun Jang <jinkun.jang@samsung.com>2013-03-13 01:36:21 +0900
committerJinkun Jang <jinkun.jang@samsung.com>2013-03-13 01:36:21 +0900
commite7a64ed0477d27fb31186d9ba1347af16500460b (patch)
treeaec5b70684d2df421910eec5e930ab7a435f3ac3 /packaging
parentf7a827e7b9cc00c23d1302023791f136b3357b6d (diff)
downloaddevice-config-audio-e7a64ed0477d27fb31186d9ba1347af16500460b.tar.gz
device-config-audio-e7a64ed0477d27fb31186d9ba1347af16500460b.tar.bz2
device-config-audio-e7a64ed0477d27fb31186d9ba1347af16500460b.zip
Tizen 2.1 base
Diffstat (limited to 'packaging')
-rw-r--r--packaging/95-audio-jack.rules3
-rw-r--r--packaging/audio.sh2
-rw-r--r--packaging/device-config-audio.changes13
-rw-r--r--packaging/device-config-audio.spec41
4 files changed, 43 insertions, 16 deletions
diff --git a/packaging/95-audio-jack.rules b/packaging/95-audio-jack.rules
new file mode 100644
index 0000000..1e8e7b4
--- /dev/null
+++ b/packaging/95-audio-jack.rules
@@ -0,0 +1,3 @@
+# do not edit this file, it will be overwritten on update
+# This file is part of device-config-audio-MFLD-BlackBay
+KERNEL=="event8", SYMLINK+="event8"
diff --git a/packaging/audio.sh b/packaging/audio.sh
new file mode 100644
index 0000000..81fee36
--- /dev/null
+++ b/packaging/audio.sh
@@ -0,0 +1,2 @@
+export AVSYS_PERIOD_TIME=125
+export AVSYS_PERIOD_COUNT=8
diff --git a/packaging/device-config-audio.changes b/packaging/device-config-audio.changes
new file mode 100644
index 0000000..df5c577
--- /dev/null
+++ b/packaging/device-config-audio.changes
@@ -0,0 +1,13 @@
+* Fri Jul 6 2012 vivian zhang <vivian.zhang@intel.com> - 1
+- Handle pulseaudio start-up script in mmfw-sysconf-mfld-blackbay package, fixed TZSP-2573: Audio doesn't work on image
+
+* Wed Jul 4 2012 vivian zhang <vivian.zhang@intel.com> - 1
+- Install 95-audio-jack.rules to the correct directory based on new udev package
+
+* Wed Jul 4 2012 Huaqiang Geng <huaqiangx.geng@intel.com> - 1
+- Modify system_mfld.pa, add control parameter.
+
+* Thu Jun 14 2012 vivian zhang <vivian.zhang@intel.com> - 1
+- Added SYMLINK /dev/event8 for audio jack detect in Avsystem;
+- Added pulseaudio_mfld.sh as pulseaudio start-up script in MFLD;
+- Cleaned spec file to pass gbs build
diff --git a/packaging/device-config-audio.spec b/packaging/device-config-audio.spec
index 7e0c337..9923bc1 100644
--- a/packaging/device-config-audio.spec
+++ b/packaging/device-config-audio.spec
@@ -1,36 +1,45 @@
+Summary: Device specific configurations for Audio
Name: device-config-audio
Version: 1
Release: 1
-Summary: Device specific configurations for Audio
Group: System/Hardware
License: GPLv2+
-BuildArch: noarch
-Source0: system_mfld.pa
-Source1: audio_system.conf
+BuildArch: noarch
+Source0: %{name}-%{version}.tar.bz2
+Source1: audio_system.conf
+Source2: 95-audio-jack.rules
+Source3: audio.sh
%description
Device specific configurations for Audio
-%define audio_package(n:) \
-%package %1\
-Summary: Audio configuration files for %1\
-Group: System/Hardware\
-%description %1\
-Audio configuration files for %1.\
-%{nil}
-
+%package mfld-blackbay
+Summary: Audio configuration files for mfld-blackbay
+Group: System/Hardware
+%description mfld-blackbay
+Audio configuration files for mfld-blackbay
%prep
%build
%install
-
# mfld
-install -D -m 0644 %{S:0} %{buildroot}/etc/pulse/system_mfld.pa
install -D -m 0644 %{S:1} %{buildroot}/opt/etc/audio_system.conf
-%audio_package mfld-blackbay
+mkdir -p %{buildroot}/lib/udev/rules.d/
+install -D -m 0755 %{S:2} %{buildroot}/usr/lib/udev/rules.d/95-audio-jack.rules
+
+mkdir -p %{buildroot}/etc/profile
+install -D -m 0755 %{S:3} %{buildroot}/etc/profile.d/audio.sh
+
+
+%post mfld-blackbay
+
+%postun mfld-blackbay
+
+
%files mfld-blackbay
-%config /etc/pulse/system_mfld.pa
%config /opt/etc/audio_system.conf
+/usr/lib/udev/rules.d/95-audio-jack.rules
+/etc/profile.d/audio.sh