summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorSangchul Lee <sc11.lee@samsung.com>2015-11-19 19:34:33 +0900
committerSangchul Lee <sc11.lee@samsung.com>2015-11-23 12:05:06 +0900
commit6595a75f3bbc0bcd91d57cf331212a6c9869f546 (patch)
tree4f6014df612c38575613a6fbd1d38d7a1b5ccd9a /packaging
parent8b9000b7a827d925b8a9d7f13ec1121688f2f58a (diff)
downloadaudio-hal-sc7727-6595a75f3bbc0bcd91d57cf331212a6c9869f546.tar.gz
audio-hal-sc7727-6595a75f3bbc0bcd91d57cf331212a6c9869f546.tar.bz2
audio-hal-sc7727-6595a75f3bbc0bcd91d57cf331212a6c9869f546.zip
Initialization audio HAL for SC7727 (target:TM1)
Codes are based on audio-hal-wm5110(0.2.12) :76790ab397edc43e9529550dfee2879a1e5ff5a3 [Version] 0.1.0 [Profile] Mobile [Issue Type] Initialization Change-Id: I35cd6c2132dd839d1973721a279834daf4bd352c Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/audio-hal-sc7727.spec50
1 files changed, 50 insertions, 0 deletions
diff --git a/packaging/audio-hal-sc7727.spec b/packaging/audio-hal-sc7727.spec
new file mode 100644
index 0000000..ac15050
--- /dev/null
+++ b/packaging/audio-hal-sc7727.spec
@@ -0,0 +1,50 @@
+Name: audio-hal-sc7727
+Summary: TIZEN Audio HAL for SC7727
+Version: 0.1.0
+Release: 0
+Group: System/Libraries
+License: Apache-2.0
+URL: http://tizen.org
+Source0: audio-hal-sc7727-%{version}.tar.gz
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(iniparser)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(alsa)
+#BuildRequires: pkgconfig(tinyalsa)
+Provides: libtizen-audio.so
+
+%description
+TIZEN Audio HAL for SC7727
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
+export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
+export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
+
+export USE_TINYALSA="0"
+
+%autogen
+%configure
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{_datadir}/license
+cp LICENSE.Apache-2.0 %{buildroot}%{_datadir}/license/%{name}
+%make_install
+
+%post
+/sbin/ldconfig
+
+%postun
+/sbin/ldconfig
+
+%files
+%manifest audio-hal-sc7727.manifest
+%defattr(-,root,root,-)
+%{_libdir}/libtizen-audio.so
+%{_datadir}/license/%{name}