git: 81e7d9d9ed9f - main - graphics/gnash: update to 0.8.11
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 01 May 2025 13:03:47 UTC
The branch main has been updated by dinoex:
URL: https://cgit.FreeBSD.org/ports/commit/?id=81e7d9d9ed9f57e48ae369c08c925463655c03cd
commit 81e7d9d9ed9f57e48ae369c08c925463655c03cd
Author: Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2025-05-01 13:03:27 +0000
Commit: Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2025-05-01 13:03:27 +0000
graphics/gnash: update to 0.8.11
use only cairo as renderer
use sdl2 for audio
---
graphics/gnash/Makefile | 49 ++++++++++---------------------------------------
graphics/gnash/distinfo | 6 +++---
2 files changed, 13 insertions(+), 42 deletions(-)
diff --git a/graphics/gnash/Makefile b/graphics/gnash/Makefile
index 3ed95d376eef..98ede0014a43 100644
--- a/graphics/gnash/Makefile
+++ b/graphics/gnash/Makefile
@@ -1,9 +1,9 @@
PORTNAME= gnash
-PORTVERSION= 0.8.10
-PORTREVISION= 68
+PORTVERSION= 0.8.11.20190130
+PORTREVISION= 0
CATEGORIES= graphics multimedia
-MASTER_SITES= http://git.savannah.gnu.org/cgit/gnash.git/snapshot/
-DISTNAME= gnash-2b3bdede0305c4fc3ad21a0a4197330606c9b880
+MASTER_SITES= https://git.savannah.gnu.org/cgit/gnash.git/snapshot/
+DISTNAME= gnash-583ccbc1275c7701dc4843ec12142ff86bb305b4
MAINTAINER= dinoex@FreeBSD.org
COMMENT= GNU Flash movie player
@@ -27,10 +27,9 @@ LIB_DEPENDS= libltdl.so:devel/libltdl \
libvorbis.so:audio/libvorbis \
libdca.so:multimedia/libdca \
libgsm.so:audio/gsm \
+ libcairo.so:graphics/cairo \
libdc1394.so:multimedia/libdc1394
-CONFLICTS= gnash-devel
-
USES= cpe tar:bzip2 compiler:c++11-lang autoreconf gmake libtool \
pkgconfig jpeg gnome gl sdl desktop-file-utils xorg localbase:ldflags
CPE_VENDOR= gnu
@@ -39,7 +38,7 @@ USE_CXXSTD= c++11
USE_XORG= x11 xau xdmcp xext xi xinerama ice sm xv
USE_GNOME= atk gdkpixbuf gtk20 libxml2 pango
USE_GL= egl
-USE_SDL= sdl
+USE_SDL= sound2
GNU_CONFIGURE= yes
SYSCONFIGDIR= ${PREFIX}/etc
@@ -48,12 +47,15 @@ SYSCONFIGDIR= ${PREFIX}/etc
CFLAGS+= -I${LOCALBASE}/ffmpeg4/include
CPPFLAGS+= -I${LOCALBASE}/ffmpeg4/include
LDFLAGS+= -L${LOCALBASE}/ffmpeg4/lib
+CONFIGURE_ENV= SDL_CONFIG=${LOCALBASE}/bin/sdl2-config
CONFIGURE_ARGS= --with-boost-incl="${LOCALBASE}/include" \
--with-boost-lib="${LOCALBASE}/lib" \
--with-plugins-install=prefix \
--sysconfdir="${SYSCONFIGDIR}" \
--enable-gui=gtk \
+ --enable-renderer=cairo \
--enable-media=ffmpeg \
+ --enable-sound=sdl \
--with-ffmpeg-incl="${LOCALBASE}/ffmpeg4/include/libavcodec" \
--with-ffmpeg-lib=${LOCALBASE}/ffmpeg4/lib \
--disable-testsuite \
@@ -73,15 +75,11 @@ USE_LDCONFIG= ${PREFIX}/lib/gnash
OPTIONS_DEFINE= CYGNAL VAAPI DOCS NLS
OPTIONS_SINGLE= MEDIA RENDERER
-OPTIONS_SINGLE_RENDERER=AGG OPENGL CAIRO
-OPTIONS_DEFAULT=AGG VAAPI
+OPTIONS_DEFAULT=VAAPI
NO_OPTIONS_SORT=yes
OPTIONS_SUB= yes
CYGNAL_DESC= Cygnal media server
-AGG_DESC= AGG renderer
-OPENGL_DESC= OpenGL renderer (experimental)
-CAIRO_DESC= Cairo renderer
VAAPI_DESC= VAAPI support
CYGNAL_CONFIGURE_ENABLE= cygnal
@@ -105,33 +103,6 @@ PLIST_SUB+= NLS="@comment "
CONFIGURE_ARGS+= --disable-npapi --disable-kparts4
-#
-# Renderer options processing
-#
-GNASH_RENDERERS=
-
-.if ${PORT_OPTIONS:MAGG}
-LIB_DEPENDS+= libagg.so:graphics/agg
-GNASH_RENDERERS+= agg
-.endif
-
-.if ${PORT_OPTIONS:MOPENGL}
-IGNORE= support for OpenGL is currently broken, use option AGG
-GNASH_RENDERERS+= ogl
-LIB_DEPENDS+= libgdkglext-x11-1.0.so:x11-toolkits/gtkglext
-.endif
-
-.if ${PORT_OPTIONS:MCAIRO}
-LIB_DEPENDS+= libcairo.so:graphics/cairo
-GNASH_RENDERERS+= cairo
-.endif
-
-.if ${GNASH_RENDERERS} == ""
-IGNORE= needs at least one renderer enabled. Please rerun 'make config' and enable AGG, OPENGL or CAIRO
-.endif
-
-CONFIGURE_ARGS+= --enable-renderer=${GNASH_RENDERERS:S/^ //W:S/ /,/gW}
-
#
# Hardware acceleration options processing
#
diff --git a/graphics/gnash/distinfo b/graphics/gnash/distinfo
index 62de312a3b3d..9ee378e54aa6 100644
--- a/graphics/gnash/distinfo
+++ b/graphics/gnash/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1481612892
-SHA256 (gnash-2b3bdede0305c4fc3ad21a0a4197330606c9b880.tar.bz2) = 9a88a623ccb4adab0381d4f97afe3019bab95855dd58685709b7a968fd91bb1d
-SIZE (gnash-2b3bdede0305c4fc3ad21a0a4197330606c9b880.tar.bz2) = 4856961
+TIMESTAMP = 1744962947
+SHA256 (gnash-583ccbc1275c7701dc4843ec12142ff86bb305b4.tar.bz2) = c66214d99778bcf3d03057760d16525c817c6cf4b88acfc3a014950222cd64f2
+SIZE (gnash-583ccbc1275c7701dc4843ec12142ff86bb305b4.tar.bz2) = 4866740