[gnash/gnash-git] Enable extensions

Hicham HAOUARI hicham at fedoraproject.org
Tue Mar 1 01:31:45 UTC 2011


commit c00c6d3cf343ed35d8c7f2e1b568f5f1fc0aa3e8
Author: Hicham HAOUARI <hicham.haouari at gmail.com>
Date:   Tue Mar 1 01:31:28 2011 +0000

    Enable extensions

 gnash.spec |   61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 59 insertions(+), 2 deletions(-)
---
diff --git a/gnash.spec b/gnash.spec
index 7415115..d828523 100644
--- a/gnash.spec
+++ b/gnash.spec
@@ -87,6 +87,43 @@ Group:     Applications/Multimedia
 Python bindings for the Gnash widget. Can be used to embed Gnash into any PyGTK
 application.
 
+%package extension-fileio
+Summary:   Fileio extension for Gnash
+Group:     Applications/Multimedia
+Requires:  gnash
+
+%description extension-fileio
+This extension allows SWF files being played within Gnash to have direct access
+to the file system. The API is similar to the C library one.
+
+%package extension-lirc
+Summary:   LIRC extension for Gnash
+Group:     Applications/Multimedia
+Requires:  gnash
+
+%description extension-lirc
+This extension allows SWF files being played within Gnash to have direct access
+to a LIRC based remote control device. The API is similar to the standard
+LIRC one.
+
+%package extension-dejagnu
+Summary:   DejaGnu extension for Gnash
+Group:     Applications/Multimedia
+Requires:  gnash
+
+%description extension-dejagnu
+This extension allows SWF files to have a simple unit testing API. The API
+is similar to the DejaGnu unit testing one.
+
+%package extension-mysql
+Summary:   MySQL extension for Gnash
+Group:     Applications/Multimedia
+Requires:  gnash
+
+%description extension-mysql
+This extension allows SWF files being played within Gnash to have direct access
+to a MySQL database. The API is similar to the standard MySQL one.
+
 %prep
 %setup -q
 %patch0 -p1 -b .use-system-ltdl
@@ -103,11 +140,11 @@ autoreconf -if
   --enable-cygnal \
   --enable-python \
   --enable-gui=gtk,kde4,sdl,fb \
-  --enable-hwaccel=none \
   --enable-renderer=all \
   --with-plugins-install=system \
   --enable-doublebuf \
-  --disable-jemalloc
+  --disable-jemalloc \
+  --enable-extensions=fileio,lirc,dejagnu,mysql
 
 make %{?_smp_mflags}
 
@@ -229,6 +266,26 @@ touch --no-create %{_datadir}/icons/hicolor
 %doc COPYING
 %{python_sitearch}/gtk-2.0/gnash.so
 
+%files extension-fileio
+%defattr(-,root,root,-)
+%doc COPYING
+%{_libdir}/gnash/plugins/fileio.so
+
+%files extension-lirc
+%defattr(-,root,root,-)
+%doc COPYING
+%{_libdir}/gnash/plugins/lirc.so
+
+%files extension-dejagnu
+%defattr(-,root,root,-)
+%doc COPYING
+%{_libdir}/gnash/plugins/dejagnu.so
+
+%files extension-mysql
+%defattr(-,root,root,-)
+%doc COPYING
+%{_libdir}/gnash/plugins/mysql.so
+
 %changelog
 * Mon Feb 28 2011 Hicham HAOUARI <hicham.haouari at gmail.com> - 1:0.8.9-0.1.20110228git
 - Switch to 0.8.9 branch


More information about the scm-commits mailing list