mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
add swfdec 0.2.1
Flash Rendering Library
This commit is contained in:
parent
826a3e61e4
commit
66e1c102b4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=78404
@ -340,6 +340,7 @@
|
||||
SUBDIR += stamp
|
||||
SUBDIR += svg2swf
|
||||
SUBDIR += svgalib
|
||||
SUBDIR += swfdec
|
||||
SUBDIR += swftools
|
||||
SUBDIR += synaesthesia
|
||||
SUBDIR += tcm
|
||||
|
34
graphics/swfdec/Makefile
Normal file
34
graphics/swfdec/Makefile
Normal file
@ -0,0 +1,34 @@
|
||||
# ex:ts=8
|
||||
# Ports collection makefile for: swfdec
|
||||
# Date created: Apr 5, 2003
|
||||
# Whom: ijliao
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= swfdec
|
||||
PORTVERSION= 0.2.1
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Flash Rendering Library
|
||||
|
||||
LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \
|
||||
mad.1:${PORTSDIR}/audio/mad
|
||||
|
||||
USE_X_PREFIX= yes
|
||||
USE_REINPLACE= yes
|
||||
USE_GNOME= gtk20 libartlgpl2
|
||||
SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
INSTALLS_SHLIB= yes
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s|sdl-config|${SDL_CONFIG}|" ${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e "s|malloc\.h|stdlib.h|" ${WRKSRC}/libswfdec/jpeg/sl_types.h
|
||||
|
||||
.include <bsd.port.mk>
|
1
graphics/swfdec/distinfo
Normal file
1
graphics/swfdec/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (swfdec-0.2.1.tar.gz) = 69ae7c0dc1fc62432ee7be23aa7e3726
|
11
graphics/swfdec/files/patch-clipconv_f32_s16.h
Normal file
11
graphics/swfdec/files/patch-clipconv_f32_s16.h
Normal file
@ -0,0 +1,11 @@
|
||||
--- libswfdec/mpglib/clipconv_f32_s16.h.orig Sat Apr 5 15:54:30 2003
|
||||
+++ libswfdec/mpglib/clipconv_f32_s16.h Sat Apr 5 15:57:36 2003
|
||||
@@ -34,7 +34,7 @@
|
||||
//#include <sl_altivec.h>
|
||||
#define f32 float
|
||||
#define s16 short
|
||||
-#define HAVE_IEEE754_H
|
||||
+#undef HAVE_IEEE754_H
|
||||
|
||||
|
||||
/* storage class */
|
41
graphics/swfdec/files/patch-ltmain.sh
Normal file
41
graphics/swfdec/files/patch-ltmain.sh
Normal file
@ -0,0 +1,41 @@
|
||||
--- ltmain.sh.orig Sun Apr 6 15:09:32 2003
|
||||
+++ ltmain.sh Sun Apr 6 15:09:58 2003
|
||||
@@ -1065,14 +1065,14 @@
|
||||
# These systems don't actually have a C library (as such)
|
||||
test "X$arg" = "X-lc" && continue
|
||||
;;
|
||||
- *-*-openbsd* | *-*-freebsd*)
|
||||
+ *-*-openbsd*)
|
||||
# Do not include libc due to us having libc/libc_r.
|
||||
test "X$arg" = "X-lc" && continue
|
||||
;;
|
||||
esac
|
||||
elif test "X$arg" = "X-lc_r"; then
|
||||
case $host in
|
||||
- *-*-openbsd* | *-*-freebsd*)
|
||||
+ *-*-openbsd*)
|
||||
# Do not include libc_r directly, use -pthread flag.
|
||||
continue
|
||||
;;
|
||||
@@ -2495,7 +2495,7 @@
|
||||
*-*-netbsd*)
|
||||
# Don't link with libc until the a.out ld.so is fixed.
|
||||
;;
|
||||
- *-*-openbsd* | *-*-freebsd*)
|
||||
+ *-*-openbsd*)
|
||||
# Do not include libc due to us having libc/libc_r.
|
||||
;;
|
||||
*)
|
||||
@@ -4325,10 +4325,12 @@
|
||||
fi
|
||||
|
||||
# Install the pseudo-library for information purposes.
|
||||
+ if /usr/bin/false ; then
|
||||
name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
|
||||
instname="$dir/$name"i
|
||||
$show "$install_prog $instname $destdir/$name"
|
||||
$run eval "$install_prog $instname $destdir/$name" || exit $?
|
||||
+ fi
|
||||
|
||||
# Maybe install the static library, too.
|
||||
test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
|
6
graphics/swfdec/pkg-descr
Normal file
6
graphics/swfdec/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
Swfdec is a library for rendering Flash animations and games. It was
|
||||
originally designed as a basis library for creating Flash plugins for
|
||||
GStreamer, but it is a fully standalone library which only use the
|
||||
libart library for drawing.
|
||||
|
||||
WWW: http://swfdec.sourceforge.net/
|
10
graphics/swfdec/pkg-plist
Normal file
10
graphics/swfdec/pkg-plist
Normal file
@ -0,0 +1,10 @@
|
||||
bin/swf_play
|
||||
include/swfdec/swf.h
|
||||
include/swfdec/swfdec.h
|
||||
@dirrm include/swfdec
|
||||
lib/gtk-2.0/2.2.0/loaders/swf_loader.a
|
||||
lib/gtk-2.0/2.2.0/loaders/swf_loader.so
|
||||
lib/libswfdec.a
|
||||
lib/libswfdec.so
|
||||
lib/libswfdec.so.0
|
||||
lib/pkgconfig/swfdec.pc
|
Loading…
Reference in New Issue
Block a user