1 Name: capi-mediademuxer
2 Summary: A Media Demuxer library in Tizen Native API
7 Source0: %{name}-%{version}.tar.gz
9 BuildRequires: pkgconfig(dlog)
10 BuildRequires: pkgconfig(glib-2.0)
11 BuildRequires: pkgconfig(mm-common)
12 BuildRequires: pkgconfig(capi-base-common)
13 BuildRequires: pkgconfig(capi-media-tool)
14 #BuildRequires: pkgconfig(capi-media-codec)
15 BuildRequires: pkgconfig(gstreamer-1.0)
16 BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
17 BuildRequires: pkgconfig(gstreamer-video-1.0)
18 BuildRequires: pkgconfig(gstreamer-app-1.0)
19 BuildRequires: pkgconfig(iniparser)
24 Summary: Multimedia Framework Demuxer Library (DEV)
26 Requires: %{name} = %{version}-%{release}
35 %if 0%{?sec_build_binary_debug_enable}
36 export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
37 export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
38 export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
41 export CFLAGS="$CFLAGS -DENABLE_FFMPEG_CODEC"
43 export CFLAGS="$CFLAGS -DSYSCONFDIR=\\\"%{_sysconfdir}\\\" -DTIZEN_FEATURE_GST_UPSTREAM"
45 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
46 %cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
53 mkdir -p %{buildroot}%{_bindir}
54 cp test/mediademuxer_test %{buildroot}%{_bindir}
61 %postun -p /sbin/ldconfig
65 %manifest capi-mediademuxer.manifest
66 %{_libdir}/libcapi-mediademuxer.so.*
67 %license LICENSE.Apache-2.0
71 %{_includedir}/media/*.h
72 %{_libdir}/pkgconfig/*.pc
73 %{_libdir}/libcapi-mediademuxer.so