import of swfdec-0.2.2:
Swfdec is a library for rendering Flash animations and games. WWW: http://swfdec.sourceforge.net/ ok pvalchev@
This commit is contained in:
parent
2d573eda1e
commit
32658e070e
41
graphics/swfdec/Makefile
Normal file
41
graphics/swfdec/Makefile
Normal file
@ -0,0 +1,41 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/06/24 08:11:14 jolan Exp $
|
||||
|
||||
COMMENT= "flash rendering library"
|
||||
DISTNAME= swfdec-0.2.2
|
||||
CATEGORIES= graphics www
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=swfdec/}
|
||||
|
||||
HOMEPAGE= http://swfdec.sourceforge.net/
|
||||
|
||||
MAINTAINER= Jolan Luff <jolan@openbsd.org>
|
||||
|
||||
# LGPL
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
|
||||
BUILD_DEPENDS+= :pkgconfig->=0.12.0p1:devel/pkgconfig
|
||||
|
||||
LIB_DEPENDS= SDL::devel/sdl \
|
||||
mad::audio/mad \
|
||||
art_lgpl_2.5::graphics/libart \
|
||||
gdk-x11-2.0.0.11,gdk_pixbuf-2.0.0.11,gtk-x11-2.0.0.11::x11/gtk+2
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ARGS+=--disable-pixbuf-loader
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib" \
|
||||
PKG_CONFIG_PATH="${LOCALBASE}/lib/pkgconfig"
|
||||
|
||||
FLAVORS= plugin
|
||||
FLAVOR?=
|
||||
|
||||
.if ${FLAVOR:L:Mplugin}
|
||||
MOZ=mozilla
|
||||
BUILD_DEPENDS= :mozilla-devel->=1.4b:www/mozilla,-devel
|
||||
CFLAGS+= -DMOZ_X11
|
||||
PORTPATH+= ${WRKDIR}/bin:/usr/bin:/bin:/usr/sbin:/sbin:${LOCALBASE}/bin:${X11BASE}/bin:${LOCALBASE}/${MOZ}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
3
graphics/swfdec/distinfo
Normal file
3
graphics/swfdec/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (swfdec-0.2.2.tar.gz) = 08c60d18f350c68c4b938dc29e9b1191
|
||||
RMD160 (swfdec-0.2.2.tar.gz) = e44e1d5890fd1b8e6b73fa0ed5d645dbb6203c88
|
||||
SHA1 (swfdec-0.2.2.tar.gz) = f3cbc3fec455117d554d37ac4dda1d99fb592661
|
12
graphics/swfdec/patches/patch-Makefile_in
Normal file
12
graphics/swfdec/patches/patch-Makefile_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2003/06/24 08:11:14 jolan Exp $
|
||||
--- Makefile.in.orig Sun May 18 15:54:16 2003
|
||||
+++ Makefile.in Fri Jun 13 03:29:42 2003
|
||||
@@ -112,7 +112,7 @@ X_PRE_LIBS = @X_PRE_LIBS@
|
||||
am__include = @am__include@
|
||||
am__quote = @am__quote@
|
||||
install_sh = @install_sh@
|
||||
-SUBDIRS = libswfdec test player plugin pixbuf-loader
|
||||
+SUBDIRS = libswfdec test player plugin
|
||||
|
||||
DIST_SUBDIRS = libswfdec test player plugin pixbuf-loader
|
||||
|
12
graphics/swfdec/patches/patch-libswfdec_jpeg_sl_types_h
Normal file
12
graphics/swfdec/patches/patch-libswfdec_jpeg_sl_types_h
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-libswfdec_jpeg_sl_types_h,v 1.1.1.1 2003/06/24 08:11:14 jolan Exp $
|
||||
--- libswfdec/jpeg/sl_types.h.orig Fri Nov 29 22:51:49 2002
|
||||
+++ libswfdec/jpeg/sl_types.h Fri Jun 13 17:55:09 2003
|
||||
@@ -5,7 +5,7 @@
|
||||
//#include <sl_profile.h>
|
||||
//#include <sl_palette.h>
|
||||
|
||||
-#include <malloc.h>
|
||||
+#include <stdlib.h>
|
||||
|
||||
#define HAVE_IEEE754_H
|
||||
|
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-libswfdec_mpglib_clipconv_f32_s16_h,v 1.1.1.1 2003/06/24 08:11:14 jolan Exp $
|
||||
--- libswfdec/mpglib/clipconv_f32_s16.h.orig Wed Nov 6 01:11:48 2002
|
||||
+++ libswfdec/mpglib/clipconv_f32_s16.h Sun Jun 8 04:05:14 2003
|
||||
@@ -34,7 +34,7 @@ Half integers may be rounded to either n
|
||||
//#include <sl_altivec.h>
|
||||
#define f32 float
|
||||
#define s16 short
|
||||
-#define HAVE_IEEE754_H
|
||||
+#undef HAVE_IEEE754_H
|
||||
|
||||
|
||||
/* storage class */
|
56
graphics/swfdec/patches/patch-ltmain_sh
Normal file
56
graphics/swfdec/patches/patch-ltmain_sh
Normal file
@ -0,0 +1,56 @@
|
||||
$OpenBSD: patch-ltmain_sh,v 1.1.1.1 2003/06/24 08:11:14 jolan Exp $
|
||||
--- ltmain.sh.orig Sun May 18 15:53:53 2003
|
||||
+++ ltmain.sh Thu Jun 12 00:19:28 2003
|
||||
@@ -1767,11 +1767,6 @@ compiler."
|
||||
continue
|
||||
fi
|
||||
|
||||
- if test "$installed" = no; then
|
||||
- notinst_deplibs="$notinst_deplibs $lib"
|
||||
- need_relink=yes
|
||||
- fi
|
||||
-
|
||||
if test -n "$old_archive_from_expsyms_cmds"; then
|
||||
# figure out the soname
|
||||
set dummy $library_names
|
||||
@@ -4569,40 +4564,6 @@ relink_command=\"$relink_command\""
|
||||
# Exit here if they wanted silent mode.
|
||||
test "$show" = ":" && exit 0
|
||||
|
||||
- echo "----------------------------------------------------------------------"
|
||||
- echo "Libraries have been installed in:"
|
||||
- for libdir in $libdirs; do
|
||||
- echo " $libdir"
|
||||
- done
|
||||
- echo
|
||||
- echo "If you ever happen to want to link against installed libraries"
|
||||
- echo "in a given directory, LIBDIR, you must either use libtool, and"
|
||||
- echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
|
||||
- echo "flag during linking and do at least one of the following:"
|
||||
- if test -n "$shlibpath_var"; then
|
||||
- echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
|
||||
- echo " during execution"
|
||||
- fi
|
||||
- if test -n "$runpath_var"; then
|
||||
- echo " - add LIBDIR to the \`$runpath_var' environment variable"
|
||||
- echo " during linking"
|
||||
- fi
|
||||
- if test -n "$hardcode_libdir_flag_spec"; then
|
||||
- libdir=LIBDIR
|
||||
- eval flag=\"$hardcode_libdir_flag_spec\"
|
||||
-
|
||||
- echo " - use the \`$flag' linker flag"
|
||||
- fi
|
||||
- if test -n "$admincmds"; then
|
||||
- echo " - have your system administrator run these commands:$admincmds"
|
||||
- fi
|
||||
- if test -f /etc/ld.so.conf; then
|
||||
- echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
|
||||
- fi
|
||||
- echo
|
||||
- echo "See any operating system documentation about shared libraries for"
|
||||
- echo "more information, such as the ld(1) and ld.so(8) manual pages."
|
||||
- echo "----------------------------------------------------------------------"
|
||||
exit 0
|
||||
;;
|
||||
|
12
graphics/swfdec/patches/patch-player_swf_play_c
Normal file
12
graphics/swfdec/patches/patch-player_swf_play_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-player_swf_play_c,v 1.1.1.1 2003/06/24 08:11:14 jolan Exp $
|
||||
--- player/swf_play.c.orig Thu Apr 3 22:11:57 2003
|
||||
+++ player/swf_play.c Sat Jun 14 14:26:41 2003
|
||||
@@ -390,7 +390,7 @@ static void embedded (GtkPlug *plug, gpo
|
||||
static gboolean input(GIOChannel *chan, GIOCondition cond, gpointer ignored)
|
||||
{
|
||||
char *data;
|
||||
- int bytes_read;
|
||||
+ size_t bytes_read;
|
||||
GError *error = NULL;
|
||||
int ret;
|
||||
|
12
graphics/swfdec/patches/patch-plugin_Makefile_in
Normal file
12
graphics/swfdec/patches/patch-plugin_Makefile_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-plugin_Makefile_in,v 1.1.1.1 2003/06/24 08:11:14 jolan Exp $
|
||||
--- plugin/Makefile.in.orig Sun May 18 15:54:20 2003
|
||||
+++ plugin/Makefile.in Fri Jun 13 03:34:43 2003
|
||||
@@ -113,7 +113,7 @@ am__include = @am__include@
|
||||
am__quote = @am__quote@
|
||||
install_sh = @install_sh@
|
||||
|
||||
-plugindir = $(libdir)/mozilla/plugins/
|
||||
+plugindir = $(libdir)/mozilla-plugins/
|
||||
|
||||
@WITH_MOZILLA_TRUE@plugin_LTLIBRARIES = libmozswfdec.la
|
||||
@WITH_MOZILLA_FALSE@plugin_LTLIBRARIES =
|
23
graphics/swfdec/patches/patch-plugin_plugin_c
Normal file
23
graphics/swfdec/patches/patch-plugin_plugin_c
Normal file
@ -0,0 +1,23 @@
|
||||
$OpenBSD: patch-plugin_plugin_c,v 1.1.1.1 2003/06/24 08:11:14 jolan Exp $
|
||||
--- plugin/plugin.c.orig Thu Nov 21 02:51:38 2002
|
||||
+++ plugin/plugin.c Wed Jun 11 02:24:05 2003
|
||||
@@ -1,8 +1,9 @@
|
||||
|
||||
|
||||
#include <stdio.h>
|
||||
-#include <stdint.h>
|
||||
+/* #include <stdint.h> */
|
||||
#include <unistd.h>
|
||||
+#include <sys/signal.h>
|
||||
#include <sys/wait.h>
|
||||
#include <config.h>
|
||||
|
||||
@@ -240,7 +241,7 @@ static void plugin_stream_as_file(NPP in
|
||||
|
||||
/* exported functions */
|
||||
|
||||
-NPError NP_GetValue(NPP instance, NPPVariable variable, void *value)
|
||||
+NPError NP_GetValue(void* future, NPPVariable variable, void *value)
|
||||
{
|
||||
NPError err = NPERR_NO_ERROR;
|
||||
|
3
graphics/swfdec/pkg/DESCR
Normal file
3
graphics/swfdec/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
Swfdec is a library for rendering Flash animations and games.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
5
graphics/swfdec/pkg/PFRAG.plugin
Normal file
5
graphics/swfdec/pkg/PFRAG.plugin
Normal file
@ -0,0 +1,5 @@
|
||||
@comment $OpenBSD: PFRAG.plugin,v 1.1.1.1 2003/06/24 08:11:14 jolan Exp $
|
||||
lib/mozilla-plugins/libmozswfdec.a
|
||||
lib/mozilla-plugins/libmozswfdec.la
|
||||
lib/mozilla-plugins/libmozswfdec.so
|
||||
@comment @dirrm lib/mozilla-plugins
|
3
graphics/swfdec/pkg/PFRAG.shared
Normal file
3
graphics/swfdec/pkg/PFRAG.shared
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2003/06/24 08:11:14 jolan Exp $
|
||||
lib/libswfdec.so.0.0
|
||||
DYNLIBDIR(%D/lib)
|
11
graphics/swfdec/pkg/PLIST
Normal file
11
graphics/swfdec/pkg/PLIST
Normal file
@ -0,0 +1,11 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/06/24 08:11:14 jolan Exp $
|
||||
%%plugin%%
|
||||
bin/swf_play
|
||||
include/swfdec/swf.h
|
||||
include/swfdec/swfdec.h
|
||||
lib/libswfdec.a
|
||||
lib/libswfdec.la
|
||||
lib/pkgconfig/swfdec.pc
|
||||
%%SHARED%%
|
||||
@comment @dirrm lib/pkgconfig
|
||||
@dirrm include/swfdec
|
Loading…
x
Reference in New Issue
Block a user