From d787a7949c15df9df44663afafc89fab2ee80fb3 Mon Sep 17 00:00:00 2001 From: Achim Gottinger Date: Thu, 5 Jul 2001 00:06:17 +0000 Subject: open source flash lib with some utilities --- media-libs/ming/files/digest-ming-0.1.1 | 1 + media-libs/ming/files/ming-0.1.1-gentoo.diff | 11 +++++++++ media-libs/ming/ming-0.1.1.ebuild | 37 ++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 media-libs/ming/files/digest-ming-0.1.1 create mode 100644 media-libs/ming/files/ming-0.1.1-gentoo.diff create mode 100644 media-libs/ming/ming-0.1.1.ebuild (limited to 'media-libs/ming') diff --git a/media-libs/ming/files/digest-ming-0.1.1 b/media-libs/ming/files/digest-ming-0.1.1 new file mode 100644 index 000000000000..ce9b288e7d7a --- /dev/null +++ b/media-libs/ming/files/digest-ming-0.1.1 @@ -0,0 +1 @@ +MD5 d3da8902e238266d2d8f7c1ec8e1668a ming-0.1.1.tgz diff --git a/media-libs/ming/files/ming-0.1.1-gentoo.diff b/media-libs/ming/files/ming-0.1.1-gentoo.diff new file mode 100644 index 000000000000..27423d0d510e --- /dev/null +++ b/media-libs/ming/files/ming-0.1.1-gentoo.diff @@ -0,0 +1,11 @@ +--- listmp3.c~ Sat Apr 14 04:52:22 2001 ++++ listmp3.c Thu Jul 5 01:56:00 2001 +@@ -67,7 +67,7 @@ + unsigned long flags; + int frameLen, numFrames = 0; + int bitrate, bitrate_idx, samplerate, samplerate_idx; +- int version, layer, channels, padding; ++ int version, layer, channels, padding, stereo; + int bitrateSum = 0; + int length; + diff --git a/media-libs/ming/ming-0.1.1.ebuild b/media-libs/ming/ming-0.1.1.ebuild new file mode 100644 index 000000000000..7aa7c7240be8 --- /dev/null +++ b/media-libs/ming/ming-0.1.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Your Name +# $Header: /var/cvsroot/gentoo-x86/media-libs/ming/ming-0.1.1.ebuild,v 1.1 2001/07/05 00:06:17 achim Exp $ + +A=${P}.tgz +S=${WORKDIR}/${P} +DESCRIPTION="A OpenSource library from flash movie generation" +SRC_URI="http://www.opaque.net/ming/${A}" +HOMEPAGE="http://www.opaque.net/ming/" + +DEPEND="virtual/glibc" +src_unpack() { + unpack ${A} + cd ${S}/util + patch -p0 < ${FILESDIR}/${PF}-gentoo.diff +} + +src_compile() { + + try make + cd util + try make bindump hexdump listswf listfdb listmp3 listjpeg makefdb swftophp +} + +src_install () { + + dolib.so libming.so + insinto /usr/include + doins ming.h + exeinto /usr/lib/ming + doexe util/{bindump,hexdump,listswf,listfdb,listmp3,listjpeg,makefdb,swftophp} + dodoc CHANGES CREDITS LICENSE README TODO + newdoc util/README README.util + newdoc util/TODO TODO.util +} + -- cgit v1.2.3-65-gdbad