From 038594b0761af110327f392fd181eef72dd69603 Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Mon, 24 Mar 2014 12:12:56 +0100 Subject: [PATCH] packaging: add ephysics using bullet upstream suggested to have it enabled to enhance edje support Change-Id: I57f30d92abbc76e9ca2ccbb315fd57ec2351baec Signed-off-by: Philippe Coval --- packaging/efl.spec | 67 ++++++++++++++++++++++++++++++++---------------------- 1 file changed, 40 insertions(+), 27 deletions(-) diff --git a/packaging/efl.spec b/packaging/efl.spec index 4546b36..716ef42 100644 --- a/packaging/efl.spec +++ b/packaging/efl.spec @@ -43,6 +43,7 @@ BuildRequires: pkgconfig(sm) %endif BuildRequires: glib2-devel +BuildRequires: pkgconfig(bullet) BuildRequires: pkgconfig(openssl) BuildRequires: gnutls-devel BuildRequires: curl-devel @@ -310,32 +311,31 @@ Requires: eio = %{version}-%{release} Development files for eio ############ Ephysics -# %package -n ephysics -# Summary: EFL wrapper for the Bullet Physics library -# -# %description -n ephysics -# EPhysics is a library that makes it easy to use Ecore, Evas and Bullet -# Physics together. It's a kind of wrapper, a glue, between these libraries. -# It's not intended to be a physics library (we already have many out there). -# -# Enlightenment Input/Output Library -# -# %package -n ephysics-examples -# Summary: Examples for the ephysics package -# Group: Graphics & UI Framework/Testing -# Requires: ephysics = %{version}-%{release} -# -# %description -n ephysics-examples -# Example files for ephysics -# -# %package -n ephysics-devel -# Summary: Development components for the ephysics package -# Group: Graphics & UI Framework/Development -# Requires: ephysics = %{version}-%{release} -# -# %description -n ephysics-devel -# Development files for ephysics -# +%package -n ephysics +Summary: EFL wrapper for the Bullet Physics library + +%description -n ephysics +EPhysics is a library that makes it easy to use Ecore, Evas and Bullet +Physics together. It's a kind of wrapper, a glue, between these libraries. +It's not intended to be a physics library (we already have many out there). + +Enlightenment Input/Output Library + +%package -n ephysics-examples +Summary: Examples for the ephysics package +Group: Graphics & UI Framework/Testing +Requires: ephysics = %{version}-%{release} + +%description -n ephysics-examples +Example files for ephysics + +%package -n ephysics-devel +Summary: Development components for the ephysics package +Group: Graphics & UI Framework/Development +Requires: ephysics = %{version}-%{release} + +%description -n ephysics-devel +Development files for ephysics ############ Edje %package -n edje @@ -491,7 +491,6 @@ CFLAGS+=" -DMESA_EGL_NO_X11_HEADERS " %endif %reconfigure \ - --disable-physics \ --enable-tizen \ --enable-g-main-loop \ --disable-xim \ @@ -567,6 +566,9 @@ rm -rf %{buildroot}%{_libdir}/ecore/system/upower %post -n ethumb -p /sbin/ldconfig %postun -n ethumb -p /sbin/ldconfig +%post -n ephysics -p /sbin/ldconfig +%postun -n ephysics -p /sbin/ldconfig + %files data %manifest %{name}.manifest @@ -911,3 +913,14 @@ rm -rf %{buildroot}%{_libdir}/ecore/system/upower %{_libdir}/pkgconfig/ethumb*.pc %{_libdir}/cmake/Ethumb/*.cmake %{_libdir}/cmake/EthumbClient/*.cmake + +%files -n ephysics +%{_libdir}/libephysics.so.* + +%files -n ephysics-devel +%{_libdir}/libephysics.so +%{_libdir}/pkgconfig/ephysics.pc +%{_includedir}/ephysics-1/EPhysics.h + +%files -n ephysics-examples +%{_datadir}/ephysics/examples/* -- 2.7.4