3 Version: 123997_0.11.76
5 Group: Applications/Internet
6 License: LGPLv2.1 or BSD
7 Source0: %{name}-%{version}.tar.gz
9 Requires(post): /sbin/ldconfig
10 Requires(post): xkeyboard-config
11 Requires(postun): /sbin/ldconfig
13 BuildRequires: cmake, edje-bin, embryo-bin, python, bison, flex, gperf, libjpeg-turbo-devel, perl, gettext, ruby
14 BuildRequires: pkgconfig(cairo)
15 BuildRequires: pkgconfig(capi-network-connection)
16 BuildRequires: pkgconfig(capi-telephony-network-info)
17 BuildRequires: pkgconfig(dlog)
18 BuildRequires: pkgconfig(ecore)
19 BuildRequires: pkgconfig(ecore-evas)
20 BuildRequires: pkgconfig(ecore-file)
21 BuildRequires: pkgconfig(edbus)
22 BuildRequires: pkgconfig(edje)
23 BuildRequires: pkgconfig(eeze)
24 BuildRequires: pkgconfig(efl-assist)
25 BuildRequires: pkgconfig(eina)
26 BuildRequires: pkgconfig(elementary)
27 BuildRequires: pkgconfig(enchant)
28 BuildRequires: pkgconfig(evas)
29 BuildRequires: pkgconfig(feedback)
30 BuildRequires: pkgconfig(fontconfig)
31 BuildRequires: pkgconfig(freetype2)
32 BuildRequires: pkgconfig(glib-2.0)
33 BuildRequires: pkgconfig(gstreamer-0.10)
34 BuildRequires: pkgconfig(gstreamer-plugins-base-0.10)
35 BuildRequires: pkgconfig(harfbuzz)
36 BuildRequires: pkgconfig(icu-i18n)
37 BuildRequires: pkgconfig(libmedia-utils)
38 BuildRequires: pkgconfig(libsoup-2.4)
39 BuildRequires: pkgconfig(openssl)
40 BuildRequires: pkgconfig(libxml-2.0)
41 BuildRequires: pkgconfig(libxslt)
42 BuildRequires: pkgconfig(location)
43 BuildRequires: pkgconfig(mmutil-imgp)
44 BuildRequires: pkgconfig(mmutil-jpeg)
45 BuildRequires: pkgconfig(mm-session)
46 BuildRequires: pkgconfig(mm-sound)
47 BuildRequires: pkgconfig(sqlite3)
48 BuildRequires: pkgconfig(utilX)
49 BuildRequires: pkgconfig(vconf)
50 BuildRequires: pkgconfig(xt)
51 BuildRequires: pkgconfig(capi-appfw-application)
52 BuildRequires: pkgconfig(leveldb)
53 BuildRequires: pkgconfig(capi-location-manager)
54 BuildRequires: pkgconfig(capi-system-sensor)
55 BuildRequires: pkgconfig(capi-system-device)
56 BuildRequires: pkgconfig(ui-gadget-1)
57 BuildRequires: pkgconfig(xext)
58 BuildRequires: pkgconfig(libavcodec)
59 BuildRequires: pkgconfig(gles20)
60 BuildRequires: pkgconfig(tts)
61 BuildRequires: pkgconfig(capi-system-power)
65 Browser Engine based on Webkit2 EFL (Shared Library)
69 Group: Development/Libraries
70 Requires: %{name} = %{version}-%{release}
72 Browser Engine dev library based on Webkit EFL (developement files)
79 # Temporary workaround
81 export CFLAGS="$(echo $CFLAGS | sed 's/-mfpu=[a-zA-Z0-9-]*/-mfpu=neon/g')"
82 export CXXFLAGS="$(echo $CXXFLAGS | sed 's/-mfpu=[a-zA-Z0-9-]*/-mfpu=neon/g')"
83 export FFLAGS="$(echo $FFLAGS | sed 's/-mfpu=[a-zA-Z0-9-]*/-mfpu=neon/g')"
85 export CFLAGS="$(echo $CFLAGS | sed 's/-Wl,--as-needed//g')"
86 export CXXFLAGS="$(echo $CXXFLAGS | sed 's/-Wl,--as-needed//g')"
90 CFLAGS=$(echo $CFLAGS | sed 's/ -g / /')
91 CXXFLAGS=$(echo $CXXFLAGS | sed 's/ -g / /')
95 %define EFL_TARGET arm
98 %define EFL_TARGET emulator
100 %define EFL_TARGET i386
104 export SOURCE_DIR="$PWD"
105 export WEBKIT_BUILD_DIR=%{WEBKIT_BUILD_DIR}
106 if [ -z "$WEBKIT_BUILD_DIR" -o "{WEBKIT_BUILD_DIR}" == "${WEBKIT_BUILD_DIR#%}" ]
108 export WEBKIT_BUILD_DIR="BuildWK2-%{EFL_TARGET}"
110 export TIZEN_WEBKIT_EXTRA_OPTIONS=%{TIZEN_WEBKIT_EXTRA_OPTIONS}
111 if [ "{TIZEN_WEBKIT_EXTRA_OPTIONS}" == "${TIZEN_WEBKIT_EXTRA_OPTIONS#%}" ]
113 export TIZEN_WEBKIT_EXTRA_OPTIONS=
116 mkdir -p $WEBKIT_BUILD_DIR
119 export MAKE_OPTION=%{MAKE_OPTION}
120 if [ "{MAKE_OPTION}" == "${MAKE_OPTION#%}" ]
122 cmake $SOURCE_DIR -DPORT=Efl -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DENABLE_WEBKIT=Off -DENABLE_WEBKIT2=On -DENABLE_ALLINONE=On -DEFL_TARGET=%{EFL_TARGET} -DDefaultTheme_RESOURCE_NAME=webkit.edj $TIZEN_WEBKIT_EXTRA_OPTIONS
123 make %{?jobs:-j%jobs}
125 make %{MAKE_OPTION} %{?jobs:-j%jobs}
131 export WEBKIT_BUILD_DIR=%{WEBKIT_BUILD_DIR}
132 if [ -z "$WEBKIT_BUILD_DIR" -o "{WEBKIT_BUILD_DIR}" == "${WEBKIT_BUILD_DIR#%}" ]
134 export WEBKIT_BUILD_DIR="BuildWK2-%{EFL_TARGET}"
139 mkdir -p %{buildroot}/usr/share/edje
143 #change file permissions
145 chmod 644 %{_libdir}/libewebkit2.so
147 chmod 644 /usr/share/edje/webkit.edj
152 %manifest %{name}.manifest
153 %defattr(-,root,root,-)
159 %defattr(-,root,root,-)
161 %{_libdir}/pkgconfig/*