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

noreply at tizen.org noreply at tizen.org
Sun Jul 12 05:19:42 GMT 2015


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

Justification for this new package:

Submitter: SeokYeon Hwang <syeon.hwang at samsung.com>
Comments: Enabled x86_64
Git project: platform/adaptation/emulator/emulator-yagl
Tag: submit/tizen/20150712.051840
Commit: 73cf427fc533fda4d527ac9bdd594b41e287e4cf build: enable the x86_64 build

Thank You,
SeokYeon Hwang

[This message was auto-generated]

---

Request: #39347

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


Message:
Submitter: SeokYeon Hwang <syeon.hwang at samsung.com>
Comments: Enabled x86_64
Git project: platform/adaptation/emulator/emulator-yagl
Tag: submit/tizen/20150712.051840
Commit: 73cf427fc533fda4d527ac9bdd594b41e287e4cf build: enable the x86_64 build

State:   new        2015-07-12T05:19:19 tizenrobot
Comment: <no comment>
new:
----
  _service
  _service:gbs:_git-meta
  _service:gbs:emulator-yagl-1.4.tar.gz
  _service:gbs:emulator-yagl.manifest
  _service:gbs:emulator-yagl.spec
  _service:gbs:opengl-es-setup-yagl-env.sh

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

++++++ new spec file:
--- _service:gbs:emulator-yagl.spec
+++ _service:gbs:emulator-yagl.spec
@@ -0,0 +1,128 @@
+%bcond_with wayland
+%bcond_with emulator
+
+Name:       emulator-yagl
+VCS:        platform/adaptation/emulator/emulator-yagl#73cf427fc533fda4d527ac9bdd594b41e287e4cf
+Summary:    YaGL - OpenGLES acceleration module for emulator
+Version:    1.4
+Release:    1
+License:    MIT
+#URL:        http://www.khronos.org
+Source0:    %{name}-%{version}.tar.gz
+Source1001:     emulator-yagl.manifest
+BuildRequires:  cmake
+BuildRequires:  pkgconfig(libdrm)
+BuildRequires:  pkgconfig(libtbm)
+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(xshmfence)
+BuildRequires:  pkgconfig(xcb)
+BuildRequires:  pkgconfig(xext)
+BuildRequires:  pkgconfig(dri2proto)
+%endif
+Requires:   libtbm
+Provides:   opengl-es-drv
+
+%if %{with emulator}
+ExclusiveArch: %{ix86} x86_64
+%else
+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)
+Provides:   opengl-es-drv-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 -DDUMMY_LIBS=1
+%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

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


More information about the Tizen-submit mailing list