summaryrefslogtreecommitdiff
path: root/www/nspluginwrapper
diff options
context:
space:
mode:
authortsutsui <tsutsui@pkgsrc.org>2016-10-15 15:18:01 +0000
committertsutsui <tsutsui@pkgsrc.org>2016-10-15 15:18:01 +0000
commit8fb660e71a8b40915967c17b5bbb459a3f447631 (patch)
tree286da0714533bd032f7437c166387f7e8bc6a95b /www/nspluginwrapper
parentf1f2a8eb80a0b63dd947a1984983227d851ecfcd (diff)
downloadpkgsrc-8fb660e71a8b40915967c17b5bbb459a3f447631.tar.gz
Make npplayer search default pkgsrc dirs.
Now npplayer works without MOZ_PLUGIN_PATH env as /usr/pkg/lib/nspluginwrapper/i386/netbsd/npplayer \ src=https://helpx.adobe.com/content/dam/help/en/flash-player/assets/flash_tree.swf etc. Bump PKGREVISION. XXX: probably we should move the default dir for adobe-flash-plugins11 from historical ${PREFIX}/lib/netscape to ${PREFIX}/lib/mozilla
Diffstat (limited to 'www/nspluginwrapper')
-rw-r--r--www/nspluginwrapper/Makefile4
-rw-r--r--www/nspluginwrapper/distinfo3
-rw-r--r--www/nspluginwrapper/patches/patch-src_npw-player.c26
3 files changed, 30 insertions, 3 deletions
diff --git a/www/nspluginwrapper/Makefile b/www/nspluginwrapper/Makefile
index 92f32687518..e22d638ca09 100644
--- a/www/nspluginwrapper/Makefile
+++ b/www/nspluginwrapper/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.51 2016/10/07 18:26:12 adam Exp $
+# $NetBSD: Makefile,v 1.52 2016/10/15 15:18:01 tsutsui Exp $
#
DISTNAME= nspluginwrapper-1.4.4
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= www
MASTER_SITES= http://nspluginwrapper.org/download/ \
http://teokurebsd.org/netbsd/packages/distfiles/nspluginwrapper/
diff --git a/www/nspluginwrapper/distinfo b/www/nspluginwrapper/distinfo
index e7b1be15650..ebc22b6a7ea 100644
--- a/www/nspluginwrapper/distinfo
+++ b/www/nspluginwrapper/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.14 2016/09/17 19:02:52 tsutsui Exp $
+$NetBSD: distinfo,v 1.15 2016/10/15 15:18:01 tsutsui Exp $
SHA1 (nspluginwrapper-1.4.4-suse121-generic.i386.tar.gz) = cc093d1c6d6729434ec90e216afeae1601e0b3b4
RMD160 (nspluginwrapper-1.4.4-suse121-generic.i386.tar.gz) = a9d79dcd31efc4b1a9b71e29694eff9c8555b10d
@@ -16,4 +16,5 @@ SHA1 (patch-aa) = b39ff156d0a769e44140a713b8ffc2b50a8022d4
SHA1 (patch-ab) = 20dc1b6ff4036a0946dd469860eb9b6c129fdb7a
SHA1 (patch-ac) = 87cb838f6b203947d9efc4350313e410d06d486e
SHA1 (patch-src_npw-config-template.h) = 01af56f639ce88f7896fb733107bb4436cd299a5
+SHA1 (patch-src_npw-player.c) = c054f19e7067aafee347e0398673345fe56ae12e
SHA1 (patch-src_npw-viewer.c) = eb8855ae6d1015eb7627ada5c39af5e0d80f0e75
diff --git a/www/nspluginwrapper/patches/patch-src_npw-player.c b/www/nspluginwrapper/patches/patch-src_npw-player.c
new file mode 100644
index 00000000000..6d4d074acd5
--- /dev/null
+++ b/www/nspluginwrapper/patches/patch-src_npw-player.c
@@ -0,0 +1,26 @@
+$NetBSD: patch-src_npw-player.c,v 1.3 2016/10/15 15:18:01 tsutsui Exp $
+
+- add and use proper pkgsrc libdir.
+
+--- src/npw-player.c.orig 2011-07-01 03:18:57.000000000 +0000
++++ src/npw-player.c
+@@ -2012,12 +2012,17 @@ get_plugin_dirs (void)
+ }
+
+ path = g_build_filename
+- (G_DIR_SEPARATOR_S "usr", "lib", "mozilla", "plugins", NULL);
++ (G_DIR_SEPARATOR_S LIBDIR, "mozilla", "plugins", NULL);
+ dirs = g_list_prepend_if_path_exists (dirs, path);
+ g_free (path);
+
+ path = g_build_filename
+- (G_DIR_SEPARATOR_S "usr", "lib", "browser", "plugins", NULL);
++ (G_DIR_SEPARATOR_S LIBDIR, "browser", "plugins", NULL);
++ dirs = g_list_prepend_if_path_exists (dirs, path);
++ g_free (path);
++
++ path = g_build_filename
++ (G_DIR_SEPARATOR_S LIBDIR, "netscape", "plugins", NULL);
+ dirs = g_list_prepend_if_path_exists (dirs, path);
+ g_free (path);
+