X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=packaging%2Fdali-toolkit.spec;h=31e140dc4b3e6abb767f6776b9a2b984068aacd3;hp=bd15f6f912f6e81ee7a8e38d5aadcea88ee512b9;hb=d33633d0b061860e216884dc314b7dc381739777;hpb=c803046c24398c2037a83d105a932976dede943f diff --git a/packaging/dali-toolkit.spec b/packaging/dali-toolkit.spec index bd15f6f..31e140d 100644 --- a/packaging/dali-toolkit.spec +++ b/packaging/dali-toolkit.spec @@ -1,6 +1,6 @@ Name: dali-toolkit Summary: The OpenGLES Canvas Core Library Toolkit -Version: 1.0.28 +Version: 1.0.48 Release: 1 Group: System/Libraries License: Apache-2.0 @@ -13,10 +13,20 @@ Requires: dali # Do NOT put an adaptor here - it is an application choice which adaptor to use BuildRequires: pkgconfig BuildRequires: pkgconfig(dlog) -BuildRequires: boost-devel BuildRequires: pkgconfig(dali) BuildRequires: pkgconfig(dali-core) +############################# +# profile setup +############################# + +%define dali_toolkit_profile MOBILE + +# Further resource locations profiles can be provided here otherwise MOBILE will be used +%if "%{tizen_profile_name}" == "mobile" + %define dali_toolkit_profile MOBILE +%endif + %description The OpenGLES Canvas Core Library Toolkit - a set of controls that provide user interface functionality. @@ -28,7 +38,6 @@ user interface functionality. Summary: Application development package for the OpenGLES Canvas toolkit Group: Development/Building Requires: %{name} = %{version}-%{release} -Requires: boost-devel %description devel Application development package for the OpenGLES Canvas toolkit - headers and package config @@ -51,14 +60,14 @@ Application development package for the OpenGLES Canvas toolkit - headers and pa %build PREFIX="/usr" CXXFLAGS+=" -Wall -g -Os -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections " -LDFLAGS+=" -Wl,--rpath=$PREFIX/lib -Wl,--as-needed -Wl,--gc-sections " +LDFLAGS+=" -Wl,--rpath=$PREFIX/lib -Wl,--as-needed -Wl,--gc-sections -Wl,-Bsymbolic-functions " libtoolize --force cd %{_builddir}/dali-toolkit-%{version}/build/tizen autoreconf --install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" ; export DALI_DATA_RW_DIR DALI_DATA_RO_DIR="%{dali_data_ro_dir}" ; export DALI_DATA_RO_DIR -%configure +%configure --enable-profile=%{dali_toolkit_profile} make %{?jobs:-j%jobs} ##############################