pkgsrc/multimedia/libflashsupport/Makefile
tsutsui b49927678d 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
 11ce031e40/

Also take maintainership.

OK from abs@, and no particular objection to PR pkg/49705 and pkgsrc-users@.
2015-10-24 05:30:50 +00:00

40 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.16 2015/10/24 05:30:50 tsutsui Exp $
PKGNAME= libflashsupport-4.2.2011
DISTNAME= libflashsupport-v4.2-build2011
CATEGORIES= multimedia
MASTER_SITES= http://teokurebsd.org/netbsd/packages/distfiles/libflashsupport/
MAINTAINER= tsutsui@NetBSD.org
HOMEPAGE= http://developer.opensound.com/
COMMENT= Additional Interface Support for Linux Flash Player
LICENSE= adobe-flashsupport-license
# 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>=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}
BUILD_DIRS= # empty
INSTALLATION_DIRS= ${EMULSUBDIR}/usr/${FLASH_LIBDIR}
do-install:
${INSTALL_LIB} ${WRKSRC}/${FLASH_ARCH}/libflashsupport.so \
${DESTDIR}${PREFIX}/${EMULSUBDIR}/usr/${FLASH_LIBDIR}
.include "../../mk/bsd.pkg.mk"