[Tizen-submit] 37671: New package Tizen:IVI:Panda/mediacodec

noreply at tizen.org noreply at tizen.org
Fri Jun 12 06:08:08 GMT 2015


Hi,
Adding new package mediacodec in project Tizen:IVI:Panda. Please review and accept ASAP.

Justification for this new package:

Submitter: Sejun Park <sejun79.park at samsung.com>
Comments: Fix build break on 64bit
Git project: platform/core/api/mediacodec
Tag: submit/tizen/20150612.060648
Commit: 8cd218d1fcde7a2886b4a51bca3ecea5fd2f67a9 Fix build break on 64bit

Thank You,
Sejun Park

[This message was auto-generated]

---

Request: #37671

  submit:       Tizen:IVI:Panda:build/capi-media-codec at 2(cleanup) -> Tizen:IVI:Panda


Message:
Submitter: Sejun Park <sejun79.park at samsung.com>
Comments: Fix build break on 64bit
Git project: platform/core/api/mediacodec
Tag: submit/tizen/20150612.060648
Commit: 8cd218d1fcde7a2886b4a51bca3ecea5fd2f67a9 Fix build break on 64bit

State:   new        2015-06-12T06:07:36 tizenrobot
Comment: <no comment>
new:
----
  _service
  _service:gbs:_git-meta
  _service:gbs:capi-media-codec-0.4.0.tar.gz
  _service:gbs:capi-media-codec.spec

spec files:
-----------

++++++ new spec file:
--- _service:gbs:capi-media-codec.spec
+++ _service:gbs:capi-media-codec.spec
@@ -0,0 +1,91 @@
+Name:       capi-media-codec
+VCS:        platform/core/api/mediacodec#8cd218d1fcde7a2886b4a51bca3ecea5fd2f67a9
+Summary:    A Media Codec library in Tizen Native API
+Version:    0.4.0
+Release:    1
+Group:      Multimedia/API
+License:    Apache-2.0
+Source0:    %{name}-%{version}.tar.gz
+BuildRequires:  cmake
+BuildRequires:  pkgconfig(dlog)
+BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(mm-common)
+BuildRequires:  pkgconfig(capi-base-common)
+BuildRequires:  pkgconfig(appcore-efl)
+BuildRequires:  pkgconfig(capi-media-tool)
+BuildRequires:  pkgconfig(libtbm)
+BuildRequires:  pkgconfig(gstreamer-1.0)
+BuildRequires:  pkgconfig(gstreamer-plugins-base-1.0)
+BuildRequires:  pkgconfig(gstreamer-app-1.0)
+BuildRequires:  pkgconfig(capi-system-info)
+%if "%{?tizen_target_name}"=="Z130H"
+#!BuildIgnore:  kernel-headers
+BuildConflicts: linux-glibc-devel
+BuildRequires:  kernel-headers-tizen-dev
+%endif
+Requires(post): /sbin/ldconfig
+Requires(post): libprivilege-control
+Requires(postun): /sbin/ldconfig
+
+%description
+
+
+%package devel
+Summary:  A Media Player library in Tizen Native API (Development)
+Group:    TO_BE/FILLED_IN
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+
+%prep
+%setup -q
+
+
+%build
+%if "%{?tizen_target_name}"=="Z130H"
+export CFLAGS="$CFLAGS -DZ130H"
+%endif
+%if 0%{?sec_build_binary_debug_enable}
+export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
+export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
+export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
+%endif
+%ifarch %{arm}
+export CFLAGS="$CFLAGS -DENABLE_FFMPEG_CODEC"
+%endif
+
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+mkdir -p %{buildroot}/usr/bin
+mkdir -p %{buildroot}/opt/usr/devel
+cp test/media_codec_test %{buildroot}/opt/usr/devel
+cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
+
+%make_install
+

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list