diff options
author | Ulrich Müller <ulm@gentoo.org> | 2009-04-10 13:15:11 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2009-04-10 13:15:11 +0000 |
commit | d338d1a6a8615d220e2b3cdb66d327e3115a5132 (patch) | |
tree | 46ecf5f808aca92d3fed6090c4c65477da9a4a25 /www-plugins/libflashsupport | |
parent | Package moved from net-www/netscape-flash to www-plugins/adobe-flash, bug 265... (diff) | |
download | gentoo-2-d338d1a6a8615d220e2b3cdb66d327e3115a5132.tar.gz gentoo-2-d338d1a6a8615d220e2b3cdb66d327e3115a5132.tar.bz2 gentoo-2-d338d1a6a8615d220e2b3cdb66d327e3115a5132.zip |
Package moved from net-www to www-plugins, bug 265569.
(Portage version: 2.2_rc28/cvs/Linux i686)
Diffstat (limited to 'www-plugins/libflashsupport')
-rw-r--r-- | www-plugins/libflashsupport/ChangeLog | 21 | ||||
-rw-r--r-- | www-plugins/libflashsupport/libflashsupport-1.2.ebuild | 91 | ||||
-rw-r--r-- | www-plugins/libflashsupport/metadata.xml | 9 |
3 files changed, 121 insertions, 0 deletions
diff --git a/www-plugins/libflashsupport/ChangeLog b/www-plugins/libflashsupport/ChangeLog new file mode 100644 index 000000000000..b95146cb7e7b --- /dev/null +++ b/www-plugins/libflashsupport/ChangeLog @@ -0,0 +1,21 @@ +# ChangeLog for www-plugins/libflashsupport +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/libflashsupport/ChangeLog,v 1.1 2009/04/10 13:15:11 ulm Exp $ + + 10 Apr 2009; Ulrich Mueller <ulm@gentoo.org> +metadata.xml, + +libflashsupport-1.2.ebuild: + Package moved from net-www to www-plugins, bug 265569. + + 30 Nov 2008; Markus Meier <maekke@gentoo.org> libflashsupport-1.2.ebuild: + add ~amd64, bug #249073 + + 26 Apr 2008; Jim Ramsay <lack@gentoo.org> libflashsupport-1.2.ebuild: + Changed socket path (Bug #203141) + +*libflashsupport-1.2 (14 May 2007) + + 14 May 2007; Jim Ramsay <lack@gentoo.org> +metadata.xml, + +libflashsupport-1.2.ebuild: + Libflashsupport - Adds optional features such as pulseaudio, esd, oss, and + ssl to the netscape-flash binary. + diff --git a/www-plugins/libflashsupport/libflashsupport-1.2.ebuild b/www-plugins/libflashsupport/libflashsupport-1.2.ebuild new file mode 100644 index 000000000000..ead16de57e8d --- /dev/null +++ b/www-plugins/libflashsupport/libflashsupport-1.2.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/libflashsupport/libflashsupport-1.2.ebuild,v 1.1 2009/04/10 13:15:11 ulm Exp $ + +inherit multilib + +DESCRIPTION="Adds pulseaudio/esd/oss audio output and HTTPS/RTMPS support to +Adobe Flash 9" +HOMEPAGE="http://pulseaudio.revolutionlinux.com/PulseAudio" +SRC_URI="https://svn.revolutionlinux.com/MILLE/XTERM/trunk/libflashsupport/Tarballs/${P}.tar.bz2" + +LICENSE="Adobe-SourceCode" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# Note: gnutls overrides 'ssl' if both are set. If only 'ssl' is set, openssl +# is used. +IUSE="pulseaudio esd oss ssl gnutls" + +DEPEND="gnutls? ( net-libs/gnutls ) + !gnutls? ( ssl? ( dev-libs/openssl ) )" + +RDEPEND="${DEPEND} + pulseaudio? ( media-sound/pulseaudio ) + esd? ( media-sound/esound )" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i -e 's:/var/lib/run/pulse/native:/var/run/pulse/native:' \ + README flashsupport.c || die "sed failed" +} + +src_compile() { + if use pulseaudio; then + export LIBPULSEPATH="-DLIBPULSEPATH='\"libpulse-simple.so.0\"'" + export PULSE="-DPULSEAUDIO" + else + export LIBPULSEPATH="" + export PULSE="" + fi + + if use esd; then + export LIBESDPATH="-DLIBESDPATH='\"libesd.so.0\"'" + export ESD="-DESD" + else + export LIBESDPATH="" + export ESD="" + fi + + if use oss; then + export OSS="-DOSS" + else + export OSS="" + fi + + if use gnutls; then + if use ssl; then + ewarn "You have enabled both 'ssl' and 'gnutls', so we will use" + ewarn "gnutls and not openssl for HTTPS/RTMPS support" + fi + export SSL="-DGNUTLS" + export SSLLIBS="-lgnutls" + elif use ssl; then + export SSL="-DOPENSSL" + export SSLLIBS="-lssl" + else + export SSL="" + export SSLLIBS="" + fi + + # Force internal alsa + export ALSA="-DALSA_INTERNAL" + export ALSALIBS="" + + # ICU and V4L support is commented out in the makefile, ensure it is off. + export ICULIBS="" + export V4L="" + + # General overrides + export CFLAGS="${CFLAGS} -fPIC -shared" + export LIBDIR="/usr/$(get_libdir)" + + # Override Makefile options with environment exported above: + emake -e || die "Make failed" +} + +src_install() { + dolib.so libflashsupport.so + dodoc README +} diff --git a/www-plugins/libflashsupport/metadata.xml b/www-plugins/libflashsupport/metadata.xml new file mode 100644 index 000000000000..24f1e9f83097 --- /dev/null +++ b/www-plugins/libflashsupport/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-misc</herd> + <maintainer> + <email>lack@gentoo.org</email> + <name>Jim Ramsay</name> + </maintainer> +</pkgmetadata> |