]> git.pld-linux.org Git - packages/DirectFB-extra.git/commitdiff
- 0.9.16, added flash video provider (moved from DirectFB)
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 17 Jan 2003 21:49:17 +0000 (21:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    DirectFB-extra-acfix.patch -> 1.3
    DirectFB-extra.spec -> 1.4

DirectFB-extra-acfix.patch
DirectFB-extra.spec

index 03e5bc86e96be5df2d407d7a2cd557f4d8c8d78a..738074de09e99c7300f4d9e6a899bcea21e5c621 100644 (file)
@@ -1,26 +1,24 @@
---- DirectFB-extra-0.9.9/configure.in.orig     Thu Jan 10 19:49:32 2002
-+++ DirectFB-extra-0.9.9/configure.in  Wed Nov  6 23:40:30 2002
-@@ -114,6 +114,8 @@
- #
- # OpenQuicktime check
- #
-+AC_ARG_ENABLE(openquicktime, [  --disable-openquicktime     disable openquicktime plugin [default=yes]],, enable_openquicktime=yes)
-+if test "x$enable_openquicktime" = xyes ; then
- AC_CHECK_LIB(openquicktime, quicktime_open, openquicktime="yes", openquicktime="no")
- if test "x$openquicktime" = xyes; then
-   OPENQUICKTIME_LIBS="-lopenquicktime"
-@@ -127,7 +129,9 @@
- fi 
+--- DirectFB-extra-0.9.16/configure.in.orig    Mon Jan 13 16:19:59 2003
++++ DirectFB-extra-0.9.16/configure.in Fri Jan 17 22:08:03 2003
+@@ -101,7 +101,7 @@
+ DFB_CFLAGS="$DFB_CFLAGS $DFB_INTERNAL_CFLAGS -DREENTRANT"
  
- AC_SUBST(OPENQUICKTIME_LIBS)
--
-+else
-+      openquicktime=no
-+fi
- AM_CONDITIONAL(OPENQUICKTIME, test "x$openquicktime" = xyes)
+ if test "x$GCC" = xyes; then
+-  DFB_CFLAGS="$DFB_CFLAGS -O3 -fexpensive-optimizations -ffast-math -Wall"
++  DFB_CFLAGS="$DFB_CFLAGS -ffast-math -Wall"
+ fi
  
  
-@@ -135,6 +139,8 @@
+@@ -113,8 +113,6 @@
+ if test "x$enable_debug" = xyes; then
+     AC_DEFINE(DFB_DEBUG, 1, [Define to 1 to enable debugging support.])
+     DFB_CFLAGS="$DFB_CFLAGS -g3"
+-else
+-    DFB_CFLAGS="$DFB_CFLAGS -g0"
+ fi
+ AM_CONDITIONAL(ENABLE_DEBUG, test "x$enable_debug" = xyes)
+@@ -123,6 +121,8 @@
  # Imlib2 check
  #
  
@@ -29,7 +27,7 @@
  AC_PATH_PROG(IMLIB2_CONFIG, imlib2-config, no)
  if test "x$IMLIB2_CONFIG" = xno; then
    AC_MSG_WARN([*** Imlib2 library not found, building without Imlib2 support ***])
-@@ -147,7 +153,9 @@
+@@ -135,13 +135,17 @@
  
  AC_SUBST(IMLIB2_LIBS)
  AC_SUBST(IMLIB2_INCLUDES)
  AM_CONDITIONAL(IMLIB2, test "x$imlib2" = xyes)
  
  
-@@ -161,7 +169,7 @@
- AM_CONDITIONAL(ENABLE_DEBUG, test "x$enable_debug" = xyes)
+ #
+ # OpenQuicktime check
+ #
++AC_ARG_ENABLE(openquicktime, [  --disable-openquicktime     disable openquicktime plugin [default=yes]],, enable_openquicktime=yes)
++if test "x$enable_openquicktime" = xyes ; then
+ AC_CHECK_LIB(openquicktime, quicktime_open, openquicktime="yes", openquicktime="no")
+ if test "x$openquicktime" = xyes; then
+   OPENQUICKTIME_LIBS="-lopenquicktime"
+@@ -155,7 +159,9 @@
+ fi 
+ AC_SUBST(OPENQUICKTIME_LIBS)
+-
++else
++      openquicktime=no
++fi
+ AM_CONDITIONAL(OPENQUICKTIME, test "x$openquicktime" = xyes)
  
  
--if test x$cflags_set != xset ; then
-+if test "x$cflags_set" != "xset" ; then
-   DFB_CFLAGS="$DFB_CFLAGS $CFLAGS"
- fi
+@@ -223,7 +229,10 @@
+ # Honor aclocal flags
+ ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
  
---- DirectFB-extra-0.9.13.orig/interfaces/IDirectFBImageProvider/Makefile.am   Thu Jan 10 20:06:09 2002
-+++ DirectFB-extra-0.9.13/interfaces/IDirectFBImageProvider/Makefile.am        Thu Nov  7 12:21:33 2002
+-
++if test "x$cflags_set" != "xset" ; then
++      DFB_CFLAGS="$DFB_CFLAGS $CFLAGS"
++fi
++    
+ AC_SUBST(DFB_CFLAGS)
+ AC_SUBST(DFB_LIBS)
+ AC_SUBST(DATADIR)
+--- DirectFB-extra-0.9.16/interfaces/IDirectFBImageProvider/Makefile.am.orig   Mon Oct 28 16:54:28 2002
++++ DirectFB-extra-0.9.16/interfaces/IDirectFBImageProvider/Makefile.am        Fri Jan 17 22:08:45 2003
 @@ -3,7 +3,7 @@
  idirectfbimageproviderdir = $(MODULEDIR)/interfaces/IDirectFBImageProvider
  
  
--CFLAGS = $(DFB_CFLAGS) -DDATADIR=\"@DATADIR@\"
-+CFLAGS = $(DFB_CFLAGS) -DDATADIR=\"@DATADIR@\" $(IMLIB2_INCLUDES)
+-AM_CFLAGS = $(DFB_CFLAGS) -DDATADIR=\"@DATADIR@\"
++AM_CFLAGS = $(DFB_CFLAGS) -DDATADIR=\"@DATADIR@\" $(IMLIB2_INCLUDES)
  
  if IMLIB2
  IMLIB2_PROVIDER = libidirectfbimageprovider_imlib2.la
index 97c3b0a786f39d8544a9794941f0048a1dec07e5..2d4c1fa9e75e04107616067db6ee7b086b836270 100644 (file)
@@ -1,7 +1,11 @@
+#
+# Conditional build:
+# _without_flash       - don't build FLASH video provider
+#
 Summary:       Additional providers and drivers for DirectFB
 Summary(pl):   DirectFB - dodatkowe wtyczki i sterowniki do DirectFB
 Name:          DirectFB-extra
-Version:       0.9.13
+Version:       0.9.16
 Release:       1
 License:       LGPL v2+
 Group:         Libraries
@@ -11,6 +15,7 @@ URL:          http://www.directfb.org/
 BuildRequires: DirectFB-devel >= %{version}
 BuildRequires: autoconf
 BuildRequires: automake
+%{!?_without_flash:BuildRequires:      flash-devel >= 0.4.10-5}
 BuildRequires: imlib2-devel
 BuildRequires: libtool
 BuildRequires: openquicktime-devel
@@ -56,6 +61,20 @@ This package contains OpenQuicktime video provider for DirectFB.
 Ten pakiet zawiera wtyczkê dla DirectFB dostarczaj±c± obraz
 OpenQuicktime.
 
+%package -n DirectFB-video-swf
+Summary:       ShockWave Flash video provider for DirectFB
+Summary(pl):   DirectFB - wtyczka dostarczaj±ca obraz ShockWave Flash
+Group:         Libraries
+%requires_eq   DirectFB
+
+%description -n DirectFB-video-swf
+This package contains SWF (ShockWave Flash) video provider for
+DirectFB. It uses flash library.
+
+%description -n DirectFB-video-swf -l pl
+Ten pakiet zawiera wtyczkê dla DirectFB dostarczaj±c± obraz SWF
+(ShockWave Flash) przy u¿yciu biblioteki flash.
+
 %prep
 %setup -q
 %patch -p1
@@ -66,7 +85,12 @@ OpenQuicktime.
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+# paths for libflash
+CPPFLAGS="-I/usr/X11R6/include"
+LDFLAGS="%{rpmldflags} -L/usr/X11R6/lib"
+%configure \
+       --disable-avifile \
+       %{?_without_flash:--disable-flash}
 
 %{__make} MODULEDIR=%{dfbdir}
 
@@ -83,9 +107,18 @@ rm -rf $RPM_BUILD_ROOT
 %files -n DirectFB-image-imlib2
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README
-%attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_imlib2.??
+%attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_imlib2.so
+%{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_imlib2.la
 
 %files -n DirectFB-video-openquicktime
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README
-%attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_openquicktime.??
+%attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_openquicktime.so
+%{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_openquicktime.la
+
+%if 0%{!?_without_flash:1}
+%files -n DirectFB-video-swf
+%defattr(644,root,root,755)
+%attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_swf.so
+%{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_swf.la
+%endif
This page took 0.057311 seconds and 4 git commands to generate.