%bcond_with wayland %bcond_with x Name: evas Version: 1.7.8 Release: 1 License: BSD-2-Clause Summary: Multi-platform Canvas Library Url: http://www.enlightenment.org/ Group: Graphics & UI Framework/Libraries Source0: evas-%{version}.tar.bz2 Source1001: evas.manifest BuildRequires: doxygen BuildRequires: giflib-devel BuildRequires: libjpeg-devel BuildRequires: pkgconfig(eet) BuildRequires: pkgconfig(eina) BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(fribidi) BuildRequires: pkgconfig(glesv2) BuildRequires: pkgconfig(harfbuzz) BuildRequires: pkgconfig(ice) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libtiff-4) BuildRequires: pkgconfig(pixman-1) %if %{with x} BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xrender) %if !0%{?simulator} BuildRequires: pkgconfig(gl) %endif %endif %if %{with wayland} BuildRequires: pkgconfig(egl) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-cursor) BuildRequires: pkgconfig(wayland-egl) BuildRequires: pkgconfig(xkbcommon) %endif %description Evas is a clean display canvas API for several target display systems that can draw anti-aliased text, smooth super and sub-sampled scaled images, alpha-blend objects much and more. %package devel Summary: Development components for the evas package Group: Graphics & UI Framework/Development Requires: %{name} = %{version} %description devel Development files for evas %package examples Summary: Examples for the evas package Group: Graphics & UI Framework/Development Requires: %{name}-devel = %{version} %description examples Examples files for evas %prep %setup -q cp %{SOURCE1001} . %build %configure --enable-pthreads \ %if !%{with x} --without-x \ --disable-software-xcb \ --disable-software-xlib \ --enable-gl-flavor-gles \ %endif %if 0%{?simulator} --enable-gl-flavor-gles \ %endif %if %{with wayland} --enable-gles-variety-sgx \ --enable-wayland-egl \ %else --enable-gl-xcb \ --with-x %endif make %{?_smp_mflags} %install %make_install %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %manifest %{name}.manifest %defattr(-,root,root,-) %license COPYING %{_bindir}/evas_cserve* %{_libdir}/evas/modules/*/*/*/module.so %{_libdir}/libevas.so.* %{_libdir}/evas/cserve2 %{_prefix}/libexec/* %{_datadir}/evas/checkme %files devel %manifest %{name}.manifest %defattr(-,root,root,-) %{_includedir}/evas-1/*.h %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %files examples %manifest %{name}.manifest %{_datadir}/evas/examples/* %changelog