mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
New port:
swfdec-plugin is a Mozilla plugin for rendering flash (.swf) animations using the gstreamer framework and the swfdec library. It should currently play Flash 4 files, and Flash 5 support is under development.
This commit is contained in:
parent
cbcdcfb3d4
commit
9996e95179
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=137574
@ -736,6 +736,7 @@
|
||||
SUBDIR += ssserver
|
||||
SUBDIR += suphp
|
||||
SUBDIR += surfraw
|
||||
SUBDIR += swfdec-plugin
|
||||
SUBDIR += swiggle
|
||||
SUBDIR += swish++
|
||||
SUBDIR += swish-e
|
||||
|
46
www/swfdec-plugin/Makefile
Normal file
46
www/swfdec-plugin/Makefile
Normal file
@ -0,0 +1,46 @@
|
||||
# Ports collection makefile for: swfdec-plugin
|
||||
# Date created: Jun 14, 2005
|
||||
# Whom: anholt
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= swfdec-plugin
|
||||
PORTVERSION= 0.3.5
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://www.schleef.org/swfdec/download/
|
||||
DISTNAME= swfdec-${PORTVERSION}
|
||||
|
||||
MAINTAINER= anholt@FreeBSD.org
|
||||
COMMENT= Flash rendering plugin
|
||||
|
||||
LIB_DEPENDS= swfdec-0.3.0:${PORTSDIR}/graphics/swfdec
|
||||
.if defined(WITH_MOZILLA) && ${WITH_MOZILLA}=="firefox"
|
||||
BUILD_DEPENDS= ${X11BASE}/libdata/pkgconfig/firefox-plugin.pc:${PORTSDIR}/www/firefox
|
||||
RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/firefox-plugin.pc:${PORTSDIR}/www/firefox
|
||||
.else
|
||||
BUILD_DEPENDS= ${X11BASE}/libdata/pkgconfig/mozilla-plugin${HEADERS_SUFX}.pc:${PORTSDIR}/www/mozilla${HEADERS_SUFX}
|
||||
RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/mozilla-plugin${HEADERS_SUFX}.pc:${PORTSDIR}/www/mozilla${HEADERS_SUFX}
|
||||
.endif
|
||||
|
||||
USE_REINPLACE= yes
|
||||
USE_X_PREFIX= yes
|
||||
USE_SDL= sdl
|
||||
USE_GNOME= gnomehack gtk20 libartlgpl2
|
||||
USE_GSTREAMER= gconf
|
||||
USE_GETOPT_LONG= yes
|
||||
USE_REINPLACE= yes
|
||||
USE_LIBTOOL_VER= 15
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib" \
|
||||
MOZILLA_CONFIG="${X11BASE}/lib/mozilla/mozilla-config"
|
||||
INSTALLS_SHLIB= yes
|
||||
INSTALL_WRKSRC= ${WRKSRC}/plugin
|
||||
|
||||
PLIST_SUB= VERSION=${PORTVERSION:R}
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s,int16_t,__int16_t," ${WRKSRC}/libswfdec/swfdec_shape.c
|
||||
|
||||
.include <bsd.port.mk>
|
2
www/swfdec-plugin/distinfo
Normal file
2
www/swfdec-plugin/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (swfdec-0.3.5.tar.gz) = cc40397d7784efee549fb7853b01cac3
|
||||
SIZE (swfdec-0.3.5.tar.gz) = 512041
|
11
www/swfdec-plugin/files/patch-Makefile.in
Normal file
11
www/swfdec-plugin/files/patch-Makefile.in
Normal file
@ -0,0 +1,11 @@
|
||||
--- Makefile.in.orig Tue Jun 14 21:37:46 2005
|
||||
+++ Makefile.in Tue Jun 14 21:43:11 2005
|
||||
@@ -227,7 +227,7 @@
|
||||
@WITH_GLIB_COMPAT_TRUE@glib_compat_subdirs = glib-compat
|
||||
@WITH_GLIB_COMPAT_FALSE@no_glib_compat_subdirs = gimp-loader pixbuf-loader
|
||||
@WITH_GLIB_COMPAT_TRUE@no_glib_compat_subdirs =
|
||||
-SUBDIRS = $(glib_compat_subdirs) libswfdec test player plugin $(no_glib_compat_subdirs)
|
||||
+SUBDIRS = $(glib_compat_subdirs) libswfdec plugin
|
||||
DIST_SUBDIRS = \
|
||||
gimp-loader \
|
||||
glib-compat \
|
15
www/swfdec-plugin/files/patch-ltmain.sh
Normal file
15
www/swfdec-plugin/files/patch-ltmain.sh
Normal file
@ -0,0 +1,15 @@
|
||||
--- ltmain.sh.orig Wed Nov 24 17:28:43 2004
|
||||
+++ ltmain.sh Wed Nov 24 17:28:55 2004
|
||||
@@ -5551,10 +5551,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"
|
8
www/swfdec-plugin/pkg-descr
Normal file
8
www/swfdec-plugin/pkg-descr
Normal file
@ -0,0 +1,8 @@
|
||||
swfdec-plugin is a Mozilla plugin for rendering flash (.swf) animations using
|
||||
the gstreamer framework and the swfdec library. It should currently play Flash
|
||||
4 files, and Flash 5 support is under development.
|
||||
|
||||
WWW: http://www.schleef.org/swfdec/
|
||||
|
||||
- Eric Anholt
|
||||
anholt@FreeBSD.org
|
2
www/swfdec-plugin/pkg-plist
Normal file
2
www/swfdec-plugin/pkg-plist
Normal file
@ -0,0 +1,2 @@
|
||||
bin/swfdec-mozilla-player
|
||||
lib/mozilla/plugins/libswfdecmozilla.so
|
Loading…
Reference in New Issue
Block a user