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

noreply at tizen.org noreply at tizen.org
Wed Jun 3 11:04:04 GMT 2015


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

Justification for this new package:

Submitter: Jeon Hee Chul <heechul.jeon at samsung.com>
Comments: Sync with tizen_2.4
Git project: platform/core/api/mediacodec
Tag: submit/tizen/20150603.104901
Commit: 07e891ed2f068d1e42149897001d9926e7042573 Sync with tizen_2.4

Thank You,
Jeon Hee Chul

[This message was auto-generated]

---

Request: #36646

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


Message:
Submitter: Jeon Hee Chul <heechul.jeon at samsung.com>
Comments: Sync with tizen_2.4
Git project: platform/core/api/mediacodec
Tag: submit/tizen/20150603.104901
Commit: 07e891ed2f068d1e42149897001d9926e7042573 Sync with tizen_2.4

State:   new        2015-06-03T11:03:40 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,92 @@
+Name:       capi-media-codec
+VCS:        platform/core/api/mediacodec#07e891ed2f068d1e42149897001d9926e7042573
+Summary:    A Media Codec library in Tizen Native API
+Version:    0.4.0
+Release:    0
+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(libdri2)
+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=/usr -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