aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2003-05-12 17:19:32 +0800
committerijliao <ijliao@FreeBSD.org>2003-05-12 17:19:32 +0800
commitcfed23cc713b937489d268f5693130df5991a5cf (patch)
treeaadbdaae0ef3b5557f1b914fafcc16e10bed9b5f /multimedia
parentd3b29eda5922d53f9aea86ff1355847c08617e5d (diff)
downloadfreebsd-ports-gnome-cfed23cc713b937489d268f5693130df5991a5cf.tar.gz
freebsd-ports-gnome-cfed23cc713b937489d268f5693130df5991a5cf.tar.zst
freebsd-ports-gnome-cfed23cc713b937489d268f5693130df5991a5cf.zip
make the browser plugin usable
PR: 52004 Submitted by: maintainer
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/gxine/Makefile6
-rw-r--r--multimedia/gxine/files/patch-browser-plugin::plugin.c10
-rw-r--r--multimedia/gxine/pkg-descr2
-rw-r--r--multimedia/gxine/pkg-plist6
4 files changed, 20 insertions, 4 deletions
diff --git a/multimedia/gxine/Makefile b/multimedia/gxine/Makefile
index 86dcc561d6c4..4289abf59d95 100644
--- a/multimedia/gxine/Makefile
+++ b/multimedia/gxine/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gxine
PORTVERSION= 0.3.3
+PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= xine
@@ -26,7 +27,8 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
MANLANG= "" de
MAN1= gxine.1
-post-patch:
- @${REINPLACE_CMD} -e 's/browser-plugin//' ${WRKSRC}/Makefile.in
+post-install:
+ @${MKDIR} ${PREFIX}/lib/browser_plugins
+ @${LN} -sf ${PREFIX}/lib/gxine/gxineplugin.so ${PREFIX}/lib/browser_plugins
.include <bsd.port.mk>
diff --git a/multimedia/gxine/files/patch-browser-plugin::plugin.c b/multimedia/gxine/files/patch-browser-plugin::plugin.c
new file mode 100644
index 000000000000..239576efdc78
--- /dev/null
+++ b/multimedia/gxine/files/patch-browser-plugin::plugin.c
@@ -0,0 +1,10 @@
+--- browser-plugin/plugin.c.orig Tue May 6 14:20:32 2003
++++ browser-plugin/plugin.c Tue May 6 14:20:50 2003
+@@ -47,6 +47,7 @@
+
+ #include <stdio.h>
+ #include <math.h>
++#include <signal.h>
+
+
+
diff --git a/multimedia/gxine/pkg-descr b/multimedia/gxine/pkg-descr
index 9fba588d9b5b..59a9beaab90d 100644
--- a/multimedia/gxine/pkg-descr
+++ b/multimedia/gxine/pkg-descr
@@ -1,6 +1,4 @@
gxine is a simple but effective GUI for the Xine media player.
It uses the GTK toolkit, so it nicely fits in into a GNOME desktop.
-NOTE: gxine's browser plugin is currently disabled, because it doesn't build.
-
WWW: http://www.xinehq.de
diff --git a/multimedia/gxine/pkg-plist b/multimedia/gxine/pkg-plist
index fc4a1f35c9ab..ef1fd2215ffa 100644
--- a/multimedia/gxine/pkg-plist
+++ b/multimedia/gxine/pkg-plist
@@ -7,5 +7,11 @@ share/gxine/pixmaps/wizards.png
share/gxine/pixmaps/splash.png
share/gxine/mediamarks
share/gnome/apps/Multimedia/gxine.desktop
+lib/gxine/gxineplugin.so
+lib/gxine/gxineplugin.a
+lib/gxine/gxineplugin.la
+lib/browser_plugins/gxineplugin.so
@dirrm share/gxine/pixmaps
@dirrm share/gxine
+@dirrm lib/gxine
+@dirrm lib/browser_plugins