//
//date = ucal_getNow();
tmpdate = (double)1000 *intime;
- uloc_setDefault((const char *)__secure_getenv("LC_TIME"), &status);
+ uloc_setDefault((const char *)secure_getenv("LC_TIME"), &status);
locale = loc ? loc : uloc_getDefault();
CLK_RETVM_IF(!locale, FAILED, "locale NULL");
-#sbs-git:slp/apps/c/clock clock 0.1.2 f249a81b4bd40dc2ce4fb0efce04cdcb287df65f
+%bcond_with mesa
+
Name: org.tizen.clock
Summary: background image library
Version: 0.2.57
BuildRequires: pkgconfig(xcomposite)
BuildRequires: pkgconfig(icu-i18n)
BuildRequires: pkgconfig(devman)
-BuildRequires: pkgconfig(opengl-es-20)
+%if %{with mesa}
+BuildRequires: pkgconfig(glesv2)
+%else
+BuildRequires: pkgconfig(gles20)
+%endif
BuildRequires: pkgconfig(capi-appfw-application)
BuildRequires: gettext-tools
BuildRequires: pkgconfig(feedback)