[Tizen-submit] 21222: Changes to Tizen:IVI/app-core

noreply at tizen.org noreply at tizen.org
Thu Feb 13 07:44:10 GMT 2014


Hi,
Stephane Desneux have made the following changes to app-core in project Tizen:IVI. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #21222

  submit:       Tizen:IVI:build/app-core(cleanup) -> Tizen:IVI


Message:
Submitter: Stephane Desneux <stephane.desneux at open.eurogiciel.org>
Comments: added explicit depend on X11-devel
Git project: platform/core/appfw/app-core
Tag: submit/tizen/20140213.074321
Commit: d5761f6d3560bea795bc7025493accf4ead9684c Add explicit Require on libx11-devel.

State:   new        2014-02-13T07:42:25 tizenrobot
Comment: <no comment>
changes files:
--------------

new:
----
  core-efl-wayland.target
  core-efl-x.target

spec files:
-----------
--- app-core.spec
+++ app-core.spec
@@ -1,22 +1,29 @@
+%bcond_with x
+%bcond_with wayland
+
 Name:       app-core
+VCS:        platform/core/appfw/app-core#d5761f6d3560bea795bc7025493accf4ead9684c
 Summary:    Application basic
 Version:    1.2
-Release:    47
-VCS:        platform/core/appfw/app-core#submit/tizen/20130912.075539-0-g70a579284829f46a5e5c513d28374f30865e9aab
+Release:    48
 Group:      Application Framework
 License:    Apache License, Version 2.0
 Source0:    app-core-%{version}.tar.gz
-Source101:  packaging/core-efl.target
+%if %{with wayland} && !%{with x}
+Source101:  packaging/core-efl-wayland.target
+%else
+Source101:  packaging/core-efl-x.target
+BuildRequires:  pkgconfig(x11)
+BuildRequires:  pkgconfig(ecore-x)
+%endif
 Source1001: 	app-core.manifest
 BuildRequires:  pkgconfig(sensor)
 BuildRequires:  pkgconfig(vconf)
 BuildRequires:  pkgconfig(aul)
 BuildRequires:  pkgconfig(rua)
 BuildRequires:  pkgconfig(dlog)
-BuildRequires:  pkgconfig(x11)
 BuildRequires:  pkgconfig(elementary)
 BuildRequires:  pkgconfig(ecore)
-BuildRequires:  pkgconfig(ecore-x)
 BuildRequires:  pkgconfig(gobject-2.0)
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  cmake
@@ -62,6 +69,10 @@
 Requires:   pkgconfig(vconf)
 Requires:   pkgconfig(elementary)
 Requires:   pkgconfig(aul)
+%if %{with x}
+Requires:  pkgconfig(x11)
+%endif
+
 
 %description common-devel
 Application basics common (devel)
@@ -79,8 +90,11 @@
 cp %{SOURCE1001} .
 
 %build
-%cmake . -DENABLE_GTK=OFF
-
+%cmake . \
+%if %{with wayland} && !%{with x}
+-Dwith_wayland=TRUE\
+%endif
+-DENABLE_GTK=OFF
 
 make %{?jobs:-j%jobs}
 
@@ -88,7 +102,10 @@
 rm -rf %{buildroot}
 %make_install
 install -d %{buildroot}%{_unitdir_user}/core-efl.target.wants
-install -m0644 %{SOURCE101} %{buildroot}%{_unitdir_user}
+install -m0644 %{SOURCE101} %{buildroot}%{_unitdir_user}/core-efl.target
+
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE %{buildroot}/usr/share/license/%{name}
 
 
 %post efl -p /sbin/ldconfig
@@ -119,8 +136,9 @@
 %manifest %{name}.manifest

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


More information about the Tizen-submit mailing list