aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2016-12-16 16:32:26 +0800
committerdinoex <dinoex@FreeBSD.org>2016-12-16 16:32:26 +0800
commiteab604cdc8ca16ff2c6c00e9d6afa3b1e1ea25cf (patch)
tree64c31d898d61b2599f59439b28e75dd059c28a03 /graphics
parent41193bce30aa0761a851ba11183a012ab3088918 (diff)
downloadfreebsd-ports-gnome-eab604cdc8ca16ff2c6c00e9d6afa3b1e1ea25cf.tar.gz
freebsd-ports-gnome-eab604cdc8ca16ff2c6c00e9d6afa3b1e1ea25cf.tar.zst
freebsd-ports-gnome-eab604cdc8ca16ff2c6c00e9d6afa3b1e1ea25cf.zip
- add missing direct dependecies
- fix option CYGNAL
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gnash/Makefile12
-rw-r--r--graphics/gnash/pkg-plist2
2 files changed, 9 insertions, 5 deletions
diff --git a/graphics/gnash/Makefile b/graphics/gnash/Makefile
index 2a9b82a2955c..f3c67bca7db9 100644
--- a/graphics/gnash/Makefile
+++ b/graphics/gnash/Makefile
@@ -3,9 +3,8 @@
PORTNAME= gnash
PORTVERSION= 0.8.10
-PORTREVISION= 21
+PORTREVISION= 22
CATEGORIES= graphics
-MASTER_SITES= GNU/${PORTNAME}/${PORTVERSION}/
MASTER_SITES= http://git.savannah.gnu.org/cgit/gnash.git/snapshot/
DISTNAME= gnash-2b3bdede0305c4fc3ad21a0a4197330606c9b880
@@ -34,6 +33,7 @@ GNU_CONFIGURE= yes
WANT_GSTREAMER= yes
USE_GNOME= libxml2
USE_XORG= x11 xau xdmcp xext xi xinerama ice sm xv
+USE_GL= egl
INSTALLS_ICONS= yes
SYSCONFIGDIR= ${PREFIX}/etc
@@ -160,7 +160,6 @@ GNASH_RENDERERS+= agg
.if ${PORT_OPTIONS:MOPENGL}
IGNORE= support for OpenGL is currently broken, use option AGG
-USE_GL= yes
GNASH_RENDERERS+= ogl
.if ${PORT_OPTIONS:MGTK2}
LIB_DEPENDS+= libgdkglext-x11-1.0.so:x11-toolkits/gtkglext
@@ -199,14 +198,17 @@ CONFIGURE_ARGS+= --enable-device=egl,x11
# Media handler options processing
#
.if ${PORT_OPTIONS:MFFMPEG} && empty(PORT_OPTIONS:MGSTREAMER)
-LIB_DEPENDS+= libavcodec.so:multimedia/ffmpeg
+LIB_DEPENDS+= libavcodec.so:multimedia/ffmpeg \
+ libtheora.so:multimedia/libtheora \
+ libogg.so:audio/libogg \
+ libvorbis.so:audio/libvorbis
CONFIGURE_ARGS+= --enable-media=ffmpeg \
--with-ffmpeg-incl=${LOCALBASE}/include/libavcodec \
--with-ffmpeg-lib=${LOCALBASE}/lib
USE_SDL+= sdl
MAKE_ARGS+= INCLUDES="-I${LOCALBASE}/include/ffmpeg"
.elif ${PORT_OPTIONS:MGSTREAMER} && empty(PORT_OPTIONS:MFFMPEG)
-USE_GSTREAMER= yes
+USE_GSTREAMER= ffmpeg mad vorbis
CONFIGURE_ARGS+= --enable-media=gst
USE_SDL+= sdl
.else
diff --git a/graphics/gnash/pkg-plist b/graphics/gnash/pkg-plist
index 5e5ccf5a3523..fda72ed7306f 100644
--- a/graphics/gnash/pkg-plist
+++ b/graphics/gnash/pkg-plist
@@ -152,6 +152,7 @@ include/gnash/asobj/movie_root.h
include/gnash/asobj/namedStrings.h
include/gnash/display_pkg.h
include/gnash/dsodefs.h
+%%CYGNAL%%include/gnash/extension.h
include/gnash/external_pkg.h
include/gnash/filters_pkg.h
include/gnash/geom_pkg.h
@@ -164,6 +165,7 @@ include/gnash/noseek_fd_adapter.h
include/gnash/parser/movie_definition.h
include/gnash/rc.h
include/gnash/ref_counted.h
+%%CYGNAL%%include/gnash/sharedlib.h
include/gnash/snappingrange.h
include/gnash/string_table.h
include/gnash/text_pkg.h