From: Enlightenment S. <no-...@en...> - 2010-06-01 20:01:30
|
Log: Support for new module loaders for BMP and TGA... if they should be enabled by default, please just move them to bcond_with instead of bcond_without Author: rui Date: 2010-06-01 13:01:23 -0700 (Tue, 01 Jun 2010) New Revision: 49380 Modified: trunk/evas/evas.spec.in Modified: trunk/evas/evas.spec.in =================================================================== --- trunk/evas/evas.spec.in 2010-06-01 19:42:29 UTC (rev 49379) +++ trunk/evas/evas.spec.in 2010-06-01 20:01:23 UTC (rev 49380) @@ -43,6 +43,8 @@ %bcond_without module_loader_eet %bcond_without module_saver_eet %bcond_without module_loader_xpm +%bcond_without module_loader_bmp +%bcond_without module_loader_tga # This just keeps a missing doxygen from killing the build. %define _missing_doc_files_terminate_build 0 @@ -57,6 +59,8 @@ %define ac_with_module_loader_edb --%{?with_module_loader_edb:en}%{!?with_module_loader_edb:dis}able-image-loader-edb %define ac_with_module_loader_xpm --%{?with_module_loader_xpm:en}%{!?with_module_loader_xpm:dis}able-image-loader-xpm %define ac_with_module_loader_svg --%{?with_module_loader_svg:en}%{!?with_module_loader_svg:dis}able-image-loader-svg +%define ac_with_module_loader_bmp --%{?with_module_loader_bmp:en}%{!?with_module_loader_bmp:dis}able-image-loader-bmp +%define ac_with_module_loader_tga --%{?with_module_loader_tga:en}%{!?with_module_loader_tga:dis}able-image-loader-tga %define ac_with_module_saver_eet --%{?with_module_saver_eet:en}%{!?with_module_saver_eet:dis}able-image-saver-eet %define ac_with_module_saver_jpeg --%{?with_module_saver_jpeg:en}%{!?with_module_saver_jpeg:dis}able-image-saver-jpeg %define ac_with_module_saver_png --%{?with_module_saver_png:en}%{!?with_module_saver_png:dis}able-image-saver-png @@ -234,6 +238,24 @@ svg Image loader module for Evas %endif +%if %{with module_loader_bmp} +%package module_loader_bmp +Summary: BMP Image loader module for Evas +Group: System Environment/Libraries +BuildRequires: libjpeg-devel +%description module_loader_bmp +BMP Image loader module for Evas +%endif + +%if %{with module_loader_tga} +%package module_loader_tga +Summary: TGA Image loader module for Evas +Group: System Environment/Libraries +BuildRequires: libjpeg-devel +%description module_loader_tga +TGA Image loader module for Evas +%endif + %package module_engine_software_generic Summary: Software X11 rendering engine module for Evas Group: System Environment/Libraries @@ -518,6 +540,18 @@ %{_libdir}/evas/modules/loaders/svg/*/module.so %endif +%if %{with module_loader_bmp} +%files module_loader_bmp +%defattr(-, root, root) +%{_libdir}/evas/modules/loaders/bmp/*/module.so +%endif + +%if %{with module_loader_tga} +%files module_loader_tga +%defattr(-, root, root) +%{_libdir}/evas/modules/loaders/tga/*/module.so +%endif + %if %{with module_engine_software_x11} %files module_engine_software_x11 %defattr(-, root, root) |