summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authortsutsui <tsutsui@pkgsrc.org>2015-10-24 05:30:50 +0000
committertsutsui <tsutsui@pkgsrc.org>2015-10-24 05:30:50 +0000
commitcb04044796ed774383575602580daaf4a0b3de77 (patch)
treed0145c828d2e128ad68bf04e007a23930a506f37 /multimedia
parent232b00c188ddb1c5642df2248a1cd690350f2568 (diff)
downloadpkgsrc-cb04044796ed774383575602580daaf4a0b3de77.tar.gz
Update libflashsupport-4.2.2011.
The binaries in distfiles in this packages seem built by pkgsrc developers, but I'm not sure which sources were used to build the previous version. In this "4.2.2011" version all binaries are built by me (tsutsui@) using libflashsupport.c in Open Sounde System oss v4.2-2011 distribution http://www.opensound.com/ http://www.4front-tech.com/developer/sources/stable/gpl/oss-v4.2-build2011-src- gpl.tar.bz2 on openSUSE 12.1 on both 32 bit (i386) and 64 bit (x86_64) on VirtualBox. Notable visible changes from previous libflashsupport-1.1: - provide not only i386 version but also x86_64 native binary, which allows sound via oss with 64 bit native adobe-flash-plugin and nspluginwrapper binaries - resolve a sound noise problem on some flash videos http://sourceforge.net/p/opensound/git/ci/11ce031e405061de11fca4032caadfcfc8e27f6d/ Also take maintainership. OK from abs@, and no particular objection to PR pkg/49705 and pkgsrc-users@.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libflashsupport/DESCR5
-rw-r--r--multimedia/libflashsupport/Makefile40
-rw-r--r--multimedia/libflashsupport/PLIST4
-rw-r--r--multimedia/libflashsupport/distinfo8
4 files changed, 36 insertions, 21 deletions
diff --git a/multimedia/libflashsupport/DESCR b/multimedia/libflashsupport/DESCR
index 17676c24b5d..aa9070a12c9 100644
--- a/multimedia/libflashsupport/DESCR
+++ b/multimedia/libflashsupport/DESCR
@@ -1,4 +1,5 @@
This is an shared library built from source provided by Adobe which
-enables the use of OSS audio in the multimedia/ns-flash package
+enables the use of OSS audio in the multimedia/adobe-flash-plugin11 package.
+See README.txt in the distfile archive for details.
-Non Linux platforms will probably also need www/nspluginwrapper
+Non Linux platforms will probably also need www/nspluginwrapper.
diff --git a/multimedia/libflashsupport/Makefile b/multimedia/libflashsupport/Makefile
index ecb638f2e78..970484bf5e7 100644
--- a/multimedia/libflashsupport/Makefile
+++ b/multimedia/libflashsupport/Makefile
@@ -1,26 +1,40 @@
-# $NetBSD: Makefile,v 1.15 2015/10/23 23:05:37 tsutsui Exp $
+# $NetBSD: Makefile,v 1.16 2015/10/24 05:30:50 tsutsui Exp $
-DISTNAME= libflashsupport-1.1
+PKGNAME= libflashsupport-4.2.2011
+DISTNAME= libflashsupport-v4.2-build2011
CATEGORIES= multimedia
-MASTER_SITES= ftp://ftp.NetBSD.org/pub/pkgsrc/distfiles/
-EXTRACT_SUFX= .tbz
+MASTER_SITES= http://teokurebsd.org/netbsd/packages/distfiles/libflashsupport/
-MAINTAINER= abs@NetBSD.org
-HOMEPAGE= http://labs.adobe.com/wiki/index.php/Flash_Player:Additional_Interface_Support_for_Linux
+MAINTAINER= tsutsui@NetBSD.org
+HOMEPAGE= http://developer.opensound.com/
COMMENT= Additional Interface Support for Linux Flash Player
-LICENSE= adobe-flashsupport-license
+LICENSE= adobe-flashsupport-license
-EMUL_PLATFORMS= linux-i386
+# On NetBSD, requires sufficiently new compat_linux.
+NOT_FOR_PLATFORM= NetBSD-[0-4]*-* NetBSD-5.[0-9].*-* Linux-*-*
+
+EMUL_PLATFORMS= linux-i386 linux-x86_64
EMUL_MODULES.linux= base openssl
-EMUL_REQD= suse>=11.3
+EMUL_REQD= suse>=12.1
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${EMUL_PLATFORM} == "linux-i386"
+FLASH_ARCH= i386
+FLASH_LIBDIR= lib
+.elif ${EMUL_PLATFORM} == "linux-x86_64"
+FLASH_ARCH= x86_64
+FLASH_LIBDIR= lib64
+.endif
+
+PLIST_SUBST+= LIBDIR=${FLASH_LIBDIR}
-WRKSRC= ${WRKDIR}
BUILD_DIRS= # empty
-INSTALLATION_DIRS= ${EMULSUBDIR}/usr/lib
+INSTALLATION_DIRS= ${EMULSUBDIR}/usr/${FLASH_LIBDIR}
do-install:
- ${INSTALL_LIB} ${WRKDIR}/libflashsupport.so \
- ${DESTDIR}${PREFIX}/${EMULSUBDIR}/usr/lib
+ ${INSTALL_LIB} ${WRKSRC}/${FLASH_ARCH}/libflashsupport.so \
+ ${DESTDIR}${PREFIX}/${EMULSUBDIR}/usr/${FLASH_LIBDIR}
.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/libflashsupport/PLIST b/multimedia/libflashsupport/PLIST
index 2f306c990d2..af2a9c66e39 100644
--- a/multimedia/libflashsupport/PLIST
+++ b/multimedia/libflashsupport/PLIST
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.5 2011/08/05 15:12:20 abs Exp $
-${EMULSUBDIRSLASH}usr/lib/libflashsupport.so
+@comment $NetBSD: PLIST,v 1.6 2015/10/24 05:30:50 tsutsui Exp $
+${EMULSUBDIRSLASH}usr/${LIBDIR}/libflashsupport.so
diff --git a/multimedia/libflashsupport/distinfo b/multimedia/libflashsupport/distinfo
index 7e2a521ff1e..33114641225 100644
--- a/multimedia/libflashsupport/distinfo
+++ b/multimedia/libflashsupport/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2011/08/05 15:12:20 abs Exp $
+$NetBSD: distinfo,v 1.3 2015/10/24 05:30:50 tsutsui Exp $
-SHA1 (libflashsupport-1.1.tbz) = 7d482f10b6a4b569fce0e5d981f5dd2876755f06
-RMD160 (libflashsupport-1.1.tbz) = 030311126d076040d11b67c12a2da37c0afc3ab6
-Size (libflashsupport-1.1.tbz) = 8799 bytes
+SHA1 (libflashsupport-v4.2-build2011.tar.gz) = c052a9297ec4ff28598d908d9f2ce59596453821
+RMD160 (libflashsupport-v4.2-build2011.tar.gz) = 5a731f85fa258ecc38e3c2d267a0eee04b8fe60d
+Size (libflashsupport-v4.2-build2011.tar.gz) = 12812 bytes