[Tizen-submit] 19586: New package Tizen:IVI:Release/emulator-yagl

noreply at tizen.org noreply at tizen.org
Mon Jan 13 21:08:51 GMT 2014


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

Justification for this new package:

Submitter: Graydon, Tracy <tracy.graydon at intel.com>
Comments: submit/tizen_ivi_release/20140113.211354
Git project: platform/adaptation/emulator/emulator-yagl
Tag: submit/tizen_ivi_release/20140113.211354
Commit: 4f750efe262778c979714fa668745fa1bb991bfd YaGL: Fix regression in GLESv1_CM

Thank You,
Graydon, Tracy

[This message was auto-generated]

---

Request: #19586

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


Message:
Submitter: Graydon, Tracy <tracy.graydon at intel.com>
Comments: submit/tizen_ivi_release/20140113.211354
Git project: platform/adaptation/emulator/emulator-yagl
Tag: submit/tizen_ivi_release/20140113.211354
Commit: 4f750efe262778c979714fa668745fa1bb991bfd YaGL: Fix regression in GLESv1_CM

State:   new        2014-01-13T21:06:12 tizenrobot
Comment: <no comment>
new:
----
  95-tizen-emulator.rules
  emul-opengl-yagl.service
  emulator-yagl-1.0.tar.gz
  emulator-yagl.manifest
  emulator-yagl.spec
  virtgl.sh

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

++++++ new spec file:
--- emulator-yagl.spec
+++ emulator-yagl.spec
@@ -0,0 +1,98 @@
+%bcond_with wayland
+
+Name:       emulator-yagl
+VCS:        platform/adaptation/emulator/emulator-yagl#4f750efe262778c979714fa668745fa1bb991bfd
+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(xfixes)
+BuildRequires:  pkgconfig(x11)
+BuildRequires:  pkgconfig(x11-xcb)
+BuildRequires:  pkgconfig(xext)
+BuildRequires:  pkgconfig(dri2proto)
+BuildRequires:  pkgconfig(libdrm)
+%if %{with wayland}
+BuildRequires:  pkgconfig(gbm)
+BuildRequires:  pkgconfig(libudev)
+BuildRequires:  pkgconfig(wayland-client)
+BuildRequires:  pkgconfig(wayland-server)
+%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_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
+cp packaging/virtgl.sh %{buildroot}/etc/emulator
+%endif
+
+mkdir -p %{buildroot}/usr/lib/udev/rules.d
+cp packaging/95-tizen-emulator.rules %{buildroot}/usr/lib/udev/rules.d
+
+mkdir -p %{buildroot}/usr/include
+cp -r include/EGL %{buildroot}/usr/include/
+cp -r include/GL %{buildroot}/usr/include/

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


More information about the Tizen-submit mailing list