[Tizen-submit] 36232: New package Tizen:IVI:Panda/dali-demo

noreply at tizen.org noreply at tizen.org
Fri May 29 08:47:27 GMT 2015


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

Justification for this new package:

Submitter: taeyoon <taeyoon0.lee at samsung.com>
Comments: Update for homescreen
Git project: platform/core/uifw/dali-demo
Tag: submit/tizen/20150529.084413
Commit: 49fdbca4c0382c4b8f437a46f3543330d307e1ff Updated needed for Internal::Control cleanup

Thank You,
taeyoon

[This message was auto-generated]

---

Request: #36232

  submit:       Tizen:IVI:Panda:build/com.samsung.dali-demo at 16(cleanup) -> Tizen:IVI:Panda


Message:
Submitter: taeyoon <taeyoon0.lee at samsung.com>
Comments: Update for homescreen
Git project: platform/core/uifw/dali-demo
Tag: submit/tizen/20150529.084413
Commit: 49fdbca4c0382c4b8f437a46f3543330d307e1ff Updated needed for Internal::Control cleanup

State:   new        2015-05-29T08:47:03 tizenrobot
Comment: <no comment>
new:
----
  _service
  _service:gbs:_git-meta
  _service:gbs:com.samsung.dali-demo-1.0.41.tar.gz
  _service:gbs:com.samsung.dali-demo.spec

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

++++++ new spec file:
--- _service:gbs:com.samsung.dali-demo.spec
+++ _service:gbs:com.samsung.dali-demo.spec
@@ -0,0 +1,122 @@
+%bcond_with wayland
+
+Name:       com.samsung.dali-demo
+VCS:        platform/core/uifw/dali-demo#49fdbca4c0382c4b8f437a46f3543330d307e1ff
+Summary:    The OpenGLES Canvas Core Demo
+Version:    1.0.41
+Release:    1
+Group:      System/Libraries
+License:    Apache-2.0
+URL:        https://review.tizen.org/git/?p=platform/core/uifw/dali-demo.git;a=summary
+Source0:    %{name}-%{version}.tar.gz
+
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+Requires: dali
+Requires: dali-adaptor
+Requires: dali-toolkit
+BuildRequires:  cmake
+BuildRequires:  pkgconfig
+BuildRequires:  pkgconfig(capi-appfw-application)
+BuildRequires:  pkgconfig(capi-media-player)
+BuildRequires:  dali-toolkit-devel
+BuildRequires:  dali-adaptor-devel
+BuildRequires:  pkgconfig(dlog)
+BuildRequires:  pkgconfig(egl)
+BuildRequires:  gettext-tools
+
+%description
+The OpenGLES Canvas Core Demo is a collection of examples and demonstrations
+of the capability of the toolkit.
+
+##############################
+# Preparation
+##############################
+%prep
+%setup -q
+%define dali_app_ro_dir       /usr/apps/com.samsung.dali-demo/
+%define dali_app_exe_dir      %{dali_app_ro_dir}/bin/
+%define dali_xml_file_dir     /usr/share/packages/
+%define dali_icon_dir         /usr/share/icons/
+%define smack_rule_dir        /etc/smack/accesses2.d/
+%define locale_dir            %{dali_app_ro_dir}/res/locale
+%define local_style_dir       ../../resources/style/mobile
+
+##############################
+# Build
+##############################
+%build
+PREFIX="/usr"
+CXXFLAGS+=" -Wall -g -O2"
+LDFLAGS+=" -Wl,--rpath=$PREFIX/lib -Wl,--as-needed -fPIC"
+
+%ifarch %{arm}
+CXXFLAGS+=" -D_ARCH_ARM_"
+%endif
+
+cd %{_builddir}/%{name}-%{version}/build/tizen && cmake -DDALI_APP_DIR=%{dali_app_ro_dir} -DLOCALE_DIR=%{locale_dir} -DLOCAL_STYLE_DIR=%{local_style_dir} .
+
+make %{?jobs:-j%jobs}
+
+##############################
+# Installation
+##############################
+%install
+rm -rf %{buildroot}
+cd build/tizen
+%make_install DALI_APP_DIR=%{dali_app_ro_dir}
+
+mkdir -p %{buildroot}%{dali_xml_file_dir}
+cp -f %{_builddir}/%{name}-%{version}/%{name}.xml %{buildroot}%{dali_xml_file_dir}
+
+mkdir -p %{buildroot}%{dali_icon_dir}

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


More information about the Tizen-submit mailing list