Name: dali-toolkit
Summary: Dali 3D engine Toolkit
-Version: 1.3.9
+Version: 1.3.41
Release: 1
Group: System/Libraries
License: Apache-2.0 and BSD-3-Clause and MIT
BuildRequires: pkgconfig
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(dali-core)
+BuildRequires: pkgconfig(dali-adaptor)
%if !0%{?disable_cxx03_build}
BuildRequires: pkgconfig(dali-core-cxx03)
+BuildRequires: pkgconfig(dali-adaptor-cxx03)
%endif
BuildRequires: gettext
-# dali-toolkit only need to know the interfaces(APIs) of dali-adaptor(the devel package).
-# It doesn't need to know which adaptor will be used by applications.
-# Applications or dali-addon will decide which one they will use.
-BuildRequires: dali-adaptor-devel
-%if !0%{?disable_cxx03_build}
-BuildRequires: dali-adaptor-devel-cxx03
-%endif
#need libtzplatform-config for directory if tizen version is 3.x
##############################
%build
PREFIX="/usr"
+# Disable watermarking (Annobin) plugin
+CFLAGS=$(echo $CFLAGS | sed -e 's:-fplugin=.*annobin\.so::' | sed -e 's/ */ /g')
+CXXFLAGS=$(echo $CXXFLAGS | sed -e 's:-fplugin=.*annobin\.so::' | sed -e 's/ */ /g')
+LDFLAGS=$(echo $LDFLAGS | sed -e 's:-fplugin=.*annobin\.so::' | sed -e 's/ */ /g')
+
CXXFLAGS+=" -Wall -g -Os -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections "
LDFLAGS+=" -Wl,--rpath=$PREFIX/lib -Wl,--as-needed -Wl,--gc-sections -Wl,-Bsymbolic-functions "
%if 0%{?enable_debug}
--enable-debug \
%endif
+%if 0%{?enable_trace}
+ --enable-trace \
+%endif
--enable-i18n=yes \
--enable-rename-so=no
%if 0%{?enable_debug}
--enable-debug \
%endif
+%if 0%{?enable_trace}
+ --enable-trace \
+%endif
--enable-i18n=yes \
--enable-rename-so=no