[Tizen-submit] 39410: Changes to Tizen:IVI:Panda/libtbm

noreply at tizen.org noreply at tizen.org
Mon Jul 13 08:51:08 GMT 2015


Hi,
SooChan Lim have made the following changes to libtbm in project Tizen:IVI:Panda. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #39410

  submit:       Tizen:IVI:Panda:build/libtbm at 20(cleanup) -> Tizen:IVI:Panda


Message:
Submitter: SooChan Lim <sc1.lim at samsung.com>
Comments: upload
Git project: platform/core/uifw/libtbm
Tag: submit/tizen/20150713.085005
Commit: 68c33a6e195c5ae966db6790daaccfa80d3c9c86 Fix since tizen version

State:   new        2015-07-13T08:50:48 tizenrobot
Comment: <no comment>
old:
----
  libtbm-1.0.6.tar.gz
  libtbm.manifest
  libtbm.spec

new:
----
  _service
  _service:gbs:_git-meta
  _service:gbs:libtbm-1.1.6.tar.gz
  _service:gbs:libtbm.spec

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

++++++ new spec file:
--- _service:gbs:libtbm.spec
+++ _service:gbs:libtbm.spec
@@ -0,0 +1,81 @@
+%bcond_with x
+%bcond_with wayland
+
+Name:           libtbm
+VCS:            platform/core/uifw/libtbm#68c33a6e195c5ae966db6790daaccfa80d3c9c86
+Version:        1.1.6
+Release:        1
+License:        MIT
+Summary:        The library for Tizen Buffer Manager
+Group:          System/Libraries
+Source0:        %{name}-%{version}.tar.gz
+
+BuildRequires:  pkgconfig(libdrm)
+BuildRequires:  pkgconfig(pthread-stubs)
+%if %{with wayland}
+BuildRequires:  pkgconfig
+BuildRequires:  pkgconfig(wayland-client)
+%else
+BuildRequires:  pkgconfig(x11)
+BuildRequires:  pkgconfig(libdri2)
+%endif
+BuildRequires:  pkgconfig(capi-base-common)
+
+%description
+Description: %{summary}
+
+%package devel
+Summary:        Tizen Buffer Manager Library - Development
+Group:          Development/Libraries
+Requires:       libtbm = %{version}
+Requires:       pkgconfig(capi-base-common)
+
+%description devel
+The library for Tizen Buffer Manager.
+
+Development Files.
+
+%prep
+%setup -q
+
+%build
+
+%if %{with wayland}
+%reconfigure --prefix=%{_prefix} --with-tbm-platform=WAYLAND \
+            CFLAGS="${CFLAGS} -Wall -Werror" LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed"
+%else
+%reconfigure --prefix=%{_prefix} --with-tbm-platform=X11 \
+            CFLAGS="${CFLAGS} -Wall -Werror" LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed"
+%endif
+
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+cp -af COPYING %{buildroot}/usr/share/license/%{name}
+%make_install
+
+
+%clean
+rm -rf %{buildroot}
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+

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


More information about the Tizen-submit mailing list