[Tizen-submit] 39999: New package Tizen:IVI:Panda/media-controller

noreply at tizen.org noreply at tizen.org
Thu Jul 23 00:41:08 GMT 2015


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

Justification for this new package:

Submitter: Haejeong Kim <backto.kim at samsung.com>
Comments: Fix service launch issue
Git project: platform/core/api/media-controller
Tag: submit/tizen/20150723.004006
Commit: dcd0691790ab3535ed1f409744e2369f2c2248f5 [media-controller] Fix known issue

Thank You,
Haejeong Kim

[This message was auto-generated]

---

Request: #39999

  submit:       Tizen:IVI:Panda:build/capi-media-controller at 7(cleanup) -> Tizen:IVI:Panda


Message:
Submitter: Haejeong Kim <backto.kim at samsung.com>
Comments: Fix service launch issue
Git project: platform/core/api/media-controller
Tag: submit/tizen/20150723.004006
Commit: dcd0691790ab3535ed1f409744e2369f2c2248f5 [media-controller] Fix known issue

State:   new        2015-07-23T00:40:45 tizenrobot
Comment: <no comment>
new:
----
  _service
  _service:gbs:_git-meta
  _service:gbs:capi-media-controller-0.0.5.tar.gz
  _service:gbs:capi-media-controller.spec
  _service:gbs:media-controller-user.service
  _service:gbs:media-controller_create_db.sh
  _service:gbs:mediacontroller.service
  _service:gbs:mediacontroller.socket

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

++++++ new spec file:
--- _service:gbs:capi-media-controller.spec
+++ _service:gbs:capi-media-controller.spec
@@ -0,0 +1,104 @@
+Name:       capi-media-controller
+VCS:        platform/core/api/media-controller#dcd0691790ab3535ed1f409744e2369f2c2248f5
+Summary:    Multimedia Controller for player application
+Version:    0.0.5
+Release:    1
+Group:      System/Libraries
+License:    Apache-2.0
+Source0:    %{name}-%{version}.tar.gz
+Source1:    mediacontroller.service
+Source2:    mediacontroller.socket
+Source3:    media-controller-user.service
+Source1001: media-controller_create_db.sh
+BuildRequires:  cmake
+BuildRequires:  sqlite
+BuildRequires:  pkgconfig(capi-base-common)
+BuildRequires:  pkgconfig(dlog)
+BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(gio-2.0)
+BuildRequires:  pkgconfig(sqlite3)
+BuildRequires:  pkgconfig(db-util)
+BuildRequires:  pkgconfig(aul)
+BuildRequires:  pkgconfig(bundle)
+BuildRequires:  pkgconfig(libsystemd-daemon)
+BuildRequires:  pkgconfig(libtzplatform-config)
+
+%description
+A media controller library in SLP C API
+
+%package -n mediacontroller
+Summary:    media Controller service server
+
+%description -n mediacontroller
+A media controller library in SLP C API
+
+%package devel
+Summary:    Multimedia Controller for player Library (DEV)
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
+
+%description devel
+A media controller library in SLP C API
+
+%prep
+%setup -q
+
+%build
+export CFLAGS+=" -Wextra -Wno-array-bounds"
+export CFLAGS+=" -Wno-ignored-qualifiers -Wno-unused-parameter -Wshadow"
+export CFLAGS+=" -Wwrite-strings -Wswitch-default"
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+export CFLAGS+=" -DGST_EXT_TIME_ANALYSIS -include stdint.h"
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+%__make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+# Daemon & socket activation
+mkdir -p %{buildroot}%{_unitdir}
+mkdir -p %{buildroot}%{_unitdir}/sockets.target.wants
+install -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/mediacontroller.service
+install -m 644 %{SOURCE2} %{buildroot}%{_unitdir}/mediacontroller.socket
+ln -s ../mediacontroller.socket %{buildroot}%{_unitdir}/sockets.target.wants/mediacontroller.socket
+
+# Setup DB creation in user session
+mkdir -p %{buildroot}%{_unitdir_user}/default.target.wants/
+install -m 644 %{SOURCE3} %{buildroot}%{_unitdir_user}/media-controller-user.service

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


More information about the Tizen-submit mailing list