summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim Kibum <kb0929.kim@samsung.com>2012-04-29 16:58:19 +0900
committerKim Kibum <kb0929.kim@samsung.com>2012-04-29 16:58:19 +0900
commitf5eaed17888c6710641e6bd1f85ed70164907e5d (patch)
treed03501f4e26f8ff4a92db3a62fdf173ddeaa8f54
parent51eb3e3e95a9e5b8a8319b214cea7362f4b5352c (diff)
downloadaudio-io-f5eaed17888c6710641e6bd1f85ed70164907e5d.tar.gz
audio-io-f5eaed17888c6710641e6bd1f85ed70164907e5d.tar.bz2
audio-io-f5eaed17888c6710641e6bd1f85ed70164907e5d.zip
upload tizen1.0 source
-rw-r--r--.gitignore26
-rw-r--r--[-rwxr-xr-x]CMakeLists.txt3
-rw-r--r--capi-media-audio-io.pc.in2
-rw-r--r--debian/control4
-rw-r--r--packaging/capi-media-audio-io.spec13
5 files changed, 11 insertions, 37 deletions
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index a6d8f19..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,26 +0,0 @@
-CMakeCache.txt
-*/CMakeFiles/*
-*.cmake
-CMakeFiles*
-*.a
-*.so
-Testing
-cmake.depends
-cmake.check_depends
-cmake.check_cache
-core
-core.*
-gmon.out
-install_manifest.txt
-*~
-.kdev_include_paths
-src.kdev4
-.cproject
-.project
-tet_captured
-tet_lock
-*.pc
-Makefile
-*-test
-*-test_*
-*tester.c
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7ba6694..b018af6 100755..100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -11,6 +11,7 @@ SET(INC_DIR include)
INCLUDE_DIRECTORIES(${INC_DIR})
SET(dependents "dlog mm-sound capi-base-common capi-media-sound-manager")
+SET(pc_dependents "capi-base-common capi-media-sound-manager")
INCLUDE(FindPkgConfig)
pkg_check_modules(${fw_name} REQUIRED ${dependents})
@@ -58,7 +59,7 @@ INSTALL(
)
SET(PC_NAME ${fw_name})
-SET(PC_REQUIRED ${dependents})
+SET(PC_REQUIRED ${pc_dependents})
SET(PC_LDFLAGS -l${fw_name})
SET(PC_CFLAGS -I\${includedir}/media)
diff --git a/capi-media-audio-io.pc.in b/capi-media-audio-io.pc.in
index 773d667..5d02f8d 100644
--- a/capi-media-audio-io.pc.in
+++ b/capi-media-audio-io.pc.in
@@ -11,5 +11,5 @@ Description: @PACKAGE_DESCRIPTION@
Version: @VERSION@
Requires: @PC_REQUIRED@
Libs: -L${libdir} @PC_LDFLAGS@
-Cflags: -I${includedir} @PC_CFLAGS@
+Cflags: -I${includedir}
diff --git a/debian/control b/debian/control
index acd009b..5a7bfd2 100644
--- a/debian/control
+++ b/debian/control
@@ -7,12 +7,12 @@ Build-Depends: debhelper (>= 5), dlog-dev, libmm-sound-dev, capi-base-common-dev
Package: capi-media-audio-io
Architecture: any
-Depends: ${shilbs:Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
Description: An Audio Input & Audio Output library in Tizen Native API
Package: capi-media-audio-io-dev
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, capi-media-audio-io (= ${Source-Version}), dlog-dev, libmm-sound-dev, capi-base-common-dev, capi-media-sound-manager-dev
+Depends: ${shlibs:Depends}, ${misc:Depends}, capi-media-audio-io (= ${Source-Version}), capi-base-common-dev, capi-media-sound-manager-dev
Description: An Audio Input & Audio Output library in Tizen Native API (DEV)
Package: capi-media-audio-io-dbg
diff --git a/packaging/capi-media-audio-io.spec b/packaging/capi-media-audio-io.spec
index bf31a0c..3a62bcb 100644
--- a/packaging/capi-media-audio-io.spec
+++ b/packaging/capi-media-audio-io.spec
@@ -1,7 +1,7 @@
Name: capi-media-audio-io
Summary: An Audio Input & Audio Output library in Tizen Native API
-Version: 0.1.0
-Release: 1
+Version: 0.1.0
+Release: 4
Group: TO_BE/FILLED_IN
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
@@ -29,10 +29,8 @@ An Audio Input & Audio Output library in Tizen Native API (DEV)
%build
-FULLVER=%{version}
-MAJORVER=`echo ${FULLVER} | cut -d '.' -f 1`
-cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=${FULLVER} -DMAJORVER=${MAJORVER}
-
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
make %{?jobs:-j%jobs}
@@ -47,10 +45,11 @@ rm -rf %{buildroot}
%files
-%{_libdir}/libcapi-media-audio-io.so*
+%{_libdir}/libcapi-media-audio-io.so.*
%files devel
%{_includedir}/media/audio_io.h
%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libcapi-media-audio-io.so