[Tizen-submit] 26707: New package Tizen:IVI:Panda/emulator-yagl

noreply at tizen.org noreply at tizen.org
Wed May 28 10:34:12 GMT 2014


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

Justification for this new package:

Submitter: Stanislav Vorobiov <s.vorobiov at samsung.com>
Comments: update for IVI
Git project: platform/adaptation/emulator/emulator-yagl
Tag: submit/tizen/20140528.103449
Commit: 3a1f7eee24defb6dba43b1eab723c25b1b8a5d2c add conditionnal build for emulator repos only

Thank You,
Stanislav Vorobiov

[This message was auto-generated]

---

Request: #26707

  submit:       Tizen:IVI:Panda:build/emulator-yagl(cleanup) -> Tizen:IVI:Panda


Message:
Submitter: Stanislav Vorobiov <s.vorobiov at samsung.com>
Comments: update for IVI
Git project: platform/adaptation/emulator/emulator-yagl
Tag: submit/tizen/20140528.103449
Commit: 3a1f7eee24defb6dba43b1eab723c25b1b8a5d2c add conditionnal build for emulator repos only

State:   new        2014-05-28T10:34:05 tizenrobot
Comment: <no comment>
new:
----
  _service
  _service:gbs:_git-meta
  _service:gbs:emul-opengl-yagl.service
  _service:gbs:emulator-yagl-1.0.tar.gz
  _service:gbs:emulator-yagl.manifest
  _service:gbs:emulator-yagl.spec
  _service:gbs:virtgl.sh

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

++++++ new spec file:
--- _service:gbs:emulator-yagl.spec
+++ _service:gbs:emulator-yagl.spec
@@ -0,0 +1,104 @@
+%bcond_with wayland
+%bcond_with emulator
+
+Name:       emulator-yagl
+VCS:        platform/adaptation/emulator/emulator-yagl#3a1f7eee24defb6dba43b1eab723c25b1b8a5d2c
+Summary:    YaGL - OpenGLES acceleration module for emulator
+Version:    1.0
+Release:    18
+License:    MIT
+#URL:        http://www.khronos.org
+Source0:    %{name}-%{version}.tar.gz
+Source1001:     emulator-yagl.manifest
+BuildRequires:  cmake
+BuildRequires:  pkgconfig(libdrm)
+BuildRequires:  flex
+BuildRequires:  bison
+%if %{with wayland}
+BuildRequires:  pkgconfig(gbm)
+BuildRequires:  pkgconfig(libudev)
+BuildRequires:  pkgconfig(wayland-client)
+BuildRequires:  pkgconfig(wayland-server)
+%else
+BuildRequires:  pkgconfig(xfixes)
+BuildRequires:  pkgconfig(x11)
+BuildRequires:  pkgconfig(x11-xcb)
+BuildRequires:  pkgconfig(xext)
+BuildRequires:  pkgconfig(dri2proto)
+%endif
+
+%if !%{with emulator}
+ExclusiveArch:
+%endif
+
+%description
+YaGL - OpenGLES acceleration module for emulator.
+This package contains shared libraries libEGL, libGLES_CM, libGLESv2.
+
+%package devel
+Summary:    YaGL - OpenGLES acceleration module for emulator (devel)
+Requires:   %{name} = %{version}-%{release}
+Requires: pkgconfig(x11)
+
+%description devel
+YaGL - OpenGLES acceleration module for emulator (devel)
+
+%prep
+%setup -q
+
+%build
+cp %{SOURCE1001} .
+%if %{with wayland}
+cmake -DCMAKE_INSTALL_PREFIX=%{buildroot}/usr -DPLATFORM_X11=0 -DPLATFORM_GBM=1 -DPLATFORM_WAYLAND=1
+%else
+cmake -DCMAKE_INSTALL_PREFIX=%{buildroot}/usr -DINSTALL_LIB_DIR=lib/yagl
+%endif
+make
+
+%install
+make install
+%if %{with wayland}
+ln -s libEGL.so.1.0 %{buildroot}/usr/lib/libEGL.so.1.0.0
+ln -s libGLESv2.so.2.0 %{buildroot}/usr/lib/libGLESv2.so.2.0.0
+ln -s libGLESv2.so.2.0.0 %{buildroot}/usr/lib/libGL.so.1.2.0
+%else
+ln -s libGLESv2.so.2.0 %{buildroot}/usr/lib/yagl/libGLESv2.so.1.0
+ln -s libGLESv2.so.1.0 %{buildroot}/usr/lib/yagl/libGLESv2.so.1
+mkdir -p %{buildroot}/usr/lib/systemd/system
+cp packaging/emul-opengl-yagl.service %{buildroot}/usr/lib/systemd/system
+mkdir -p %{buildroot}/etc/emulator

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


More information about the Tizen-submit mailing list