summaryrefslogtreecommitdiff
path: root/multimedia/libflashsupport/Makefile
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/libflashsupport/Makefile
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/libflashsupport/Makefile')
-rw-r--r--multimedia/libflashsupport/Makefile40
1 files changed, 27 insertions, 13 deletions
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"