Tizen 2.1 base
authorJinkun Jang <jinkun.jang@samsung.com>
Tue, 12 Mar 2013 16:36:21 +0000 (01:36 +0900)
committerJinkun Jang <jinkun.jang@samsung.com>
Tue, 12 Mar 2013 16:36:21 +0000 (01:36 +0900)
packaging/95-audio-jack.rules [new file with mode: 0644]
packaging/audio.sh [new file with mode: 0644]
packaging/device-config-audio.changes [new file with mode: 0644]
packaging/device-config-audio.spec

diff --git a/packaging/95-audio-jack.rules b/packaging/95-audio-jack.rules
new file mode 100644 (file)
index 0000000..1e8e7b4
--- /dev/null
@@ -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 (file)
index 0000000..81fee36
--- /dev/null
@@ -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 (file)
index 0000000..df5c577
--- /dev/null
@@ -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
index 7e0c337..9923bc1 100644 (file)
@@ -1,36 +1,45 @@
+Summary:        Device specific configurations for Audio
 Name:           device-config-audio
 Version:        1
 Release:        1
 Name:           device-config-audio
 Version:        1
 Release:        1
-Summary:        Device specific configurations for Audio
 Group:          System/Hardware
 License:        GPLv2+
 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
 
 
 %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
 
 %prep
 
 %build
 
 %install
-
 # mfld
 # 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
 
 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
 %files mfld-blackbay
-%config /etc/pulse/system_mfld.pa
 %config /opt/etc/audio_system.conf
 %config /opt/etc/audio_system.conf
+/usr/lib/udev/rules.d/95-audio-jack.rules
+/etc/profile.d/audio.sh