diff options
author | Don Seiler <rizzo@gentoo.org> | 2003-08-23 04:00:37 +0000 |
---|---|---|
committer | Don Seiler <rizzo@gentoo.org> | 2003-08-23 04:00:37 +0000 |
commit | 279ddeaa79e12d07e71af999dd0a58362217afa1 (patch) | |
tree | 384c321f9cd4443f4b35e0ad680133042ae6de84 | |
parent | Initial import. (diff) | |
download | gentoo-2-279ddeaa79e12d07e71af999dd0a58362217afa1.tar.gz gentoo-2-279ddeaa79e12d07e71af999dd0a58362217afa1.tar.bz2 gentoo-2-279ddeaa79e12d07e71af999dd0a58362217afa1.zip |
Initial import.
-rw-r--r-- | media-libs/swfdec/ChangeLog | 10 | ||||
-rw-r--r-- | media-libs/swfdec/Manifest | 4 | ||||
-rw-r--r-- | media-libs/swfdec/files/digest-swfdec-0.2.2 | 1 | ||||
-rw-r--r-- | media-libs/swfdec/files/swfdec-mozilla.patch | 32 | ||||
-rw-r--r-- | media-libs/swfdec/metadata.xml | 12 | ||||
-rw-r--r-- | media-libs/swfdec/swfdec-0.2.2.ebuild | 46 |
6 files changed, 103 insertions, 2 deletions
diff --git a/media-libs/swfdec/ChangeLog b/media-libs/swfdec/ChangeLog new file mode 100644 index 000000000000..72ca1220529b --- /dev/null +++ b/media-libs/swfdec/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for media-libs/swfdec +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/swfdec/ChangeLog,v 1.1 2003/08/23 04:00:25 rizzo Exp $ + +*swfdec-0.2.2 (22 Aug 2003) + + 22 Aug 2003; Don Seiler <rizzo@gentoo.org>; swfdec-0.2.2.ebuild, + files/swfdec-mozilla.patch: + Initial check-in. Ebuild by me. + diff --git a/media-libs/swfdec/Manifest b/media-libs/swfdec/Manifest index cde01488bd62..8e85c3bd2175 100644 --- a/media-libs/swfdec/Manifest +++ b/media-libs/swfdec/Manifest @@ -1,5 +1,5 @@ -MD5 f1af757728a1035b721aa6499d5fafce swfdec-0.2.2.ebuild 851 -MD5 b571833f5971f4831eaf01bff4b5a412 ChangeLog 288 +MD5 67fc00365b6ae591126e572c49840546 swfdec-0.2.2.ebuild 950 +MD5 540e948d0e2e99e4e89c55839d94ddac ChangeLog 377 MD5 970fa1848d327776a795ebe2c7f5e74d metadata.xml 527 MD5 12bdd91b6d3b97f0fc97d097da17c087 files/digest-swfdec-0.2.2 64 MD5 a0b799b2f641cbbf734d8bfae023e3c5 files/swfdec-mozilla.patch 988 diff --git a/media-libs/swfdec/files/digest-swfdec-0.2.2 b/media-libs/swfdec/files/digest-swfdec-0.2.2 new file mode 100644 index 000000000000..610e809824fb --- /dev/null +++ b/media-libs/swfdec/files/digest-swfdec-0.2.2 @@ -0,0 +1 @@ +MD5 08c60d18f350c68c4b938dc29e9b1191 swfdec-0.2.2.tar.gz 332280 diff --git a/media-libs/swfdec/files/swfdec-mozilla.patch b/media-libs/swfdec/files/swfdec-mozilla.patch new file mode 100644 index 000000000000..1c05ca816ccf --- /dev/null +++ b/media-libs/swfdec/files/swfdec-mozilla.patch @@ -0,0 +1,32 @@ +diff -ruN swfdec-0.2.2.orig/player/swf_play.c swfdec-0.2.2/player/swf_play.c +--- swfdec-0.2.2.orig/player/swf_play.c 2003-04-03 22:11:57.000000000 -0600 ++++ swfdec-0.2.2/player/swf_play.c 2003-08-22 22:33:48.000000000 -0500 +@@ -390,7 +390,7 @@ + static gboolean input(GIOChannel *chan, GIOCondition cond, gpointer ignored) + { + char *data; +- int bytes_read; ++ gsize bytes_read; + GError *error = NULL; + int ret; + +diff -ruN swfdec-0.2.2.orig/plugin/plugin.c swfdec-0.2.2/plugin/plugin.c +--- swfdec-0.2.2.orig/plugin/plugin.c 2002-11-21 02:51:38.000000000 -0600 ++++ swfdec-0.2.2/plugin/plugin.c 2003-08-22 22:33:23.000000000 -0500 +@@ -10,6 +10,7 @@ + #include <X11/Intrinsic.h> + + #define XP_UNIX 1 ++#define MOZ_X11 1 + #include "npapi.h" + #include "npupp.h" + +@@ -240,7 +241,7 @@ + + /* exported functions */ + +-NPError NP_GetValue(NPP instance, NPPVariable variable, void *value) ++NPError NP_GetValue(void *future, NPPVariable variable, void *value) + { + NPError err = NPERR_NO_ERROR; + diff --git a/media-libs/swfdec/metadata.xml b/media-libs/swfdec/metadata.xml new file mode 100644 index 000000000000..c63c79b9c670 --- /dev/null +++ b/media-libs/swfdec/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>rizzo@gentoo.org</email> + <name>Don Seiler</name> +</maintainer> +<longdescription> + Swfdec is a library for rendering Flash® animations and games. It was originally designed as a basis library for creating Flash plugins for GStreamer, but it is a fully standalone library which only use the libart library for drawing. +</longdescription> +</pkgmetadata> diff --git a/media-libs/swfdec/swfdec-0.2.2.ebuild b/media-libs/swfdec/swfdec-0.2.2.ebuild new file mode 100644 index 000000000000..f0f6de5423e5 --- /dev/null +++ b/media-libs/swfdec/swfdec-0.2.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/swfdec/swfdec-0.2.2.ebuild,v 1.1 2003/08/23 04:00:25 rizzo Exp $ + +DESCRIPTION="Macromedia Flash decoding library" +HOMEPAGE="http://swfdec.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~alpha" + +IUSE="X mozilla" + +DEPEND=">=x11-libs/gtk+-2.0 + gnome-base/gnome-libs + >=sys-libs/zlib-1.1.4 + media-sound/mad + mozilla? ( >=net-www/mozilla-1.0.0 )" +#RDEPEND="" + +S=${WORKDIR}/${P} + +src_unpack() { + unpack ${P}.tar.gz + cd ${P} + use mozilla && { + epatch ${FILESDIR}/swfdec-mozilla.patch + } +} + +src_compile() { + local myconf + + use X && myconf="$myconf --with-x" + + use mozilla && { + PATH=/usr/lib/mozilla:$PATH + } + econf $myconf || die "econfig failed" + emake || die "emake failed" +} + +src_install() { + einstall || die +} |