From 14cdfed3979cda7202da9f81247cfc0d1db77994 Mon Sep 17 00:00:00 2001 From: Tony Vroon Date: Sun, 14 Nov 2004 14:07:16 +0000 Subject: Initial commit. Ebuild based on the ones submitted by Sebastian Droege and --- media-plugins/bmp-musepack/ChangeLog | 11 +++++++ media-plugins/bmp-musepack/Manifest | 4 +++ .../bmp-musepack/bmp-musepack-1.1_alpha10.ebuild | 37 ++++++++++++++++++++++ .../bmp-musepack/files/1.1_alpha10-makefile.patch | 23 ++++++++++++++ .../files/digest-bmp-musepack-1.1_alpha10 | 1 + media-plugins/bmp-musepack/metadata.xml | 5 +++ 6 files changed, 81 insertions(+) create mode 100644 media-plugins/bmp-musepack/ChangeLog create mode 100644 media-plugins/bmp-musepack/Manifest create mode 100644 media-plugins/bmp-musepack/bmp-musepack-1.1_alpha10.ebuild create mode 100644 media-plugins/bmp-musepack/files/1.1_alpha10-makefile.patch create mode 100644 media-plugins/bmp-musepack/files/digest-bmp-musepack-1.1_alpha10 create mode 100644 media-plugins/bmp-musepack/metadata.xml (limited to 'media-plugins/bmp-musepack') diff --git a/media-plugins/bmp-musepack/ChangeLog b/media-plugins/bmp-musepack/ChangeLog new file mode 100644 index 000000000000..8afc9f993f41 --- /dev/null +++ b/media-plugins/bmp-musepack/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for media-plugins/bmp-musepack +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/bmp-musepack/ChangeLog,v 1.1 2004/11/14 14:07:16 chainsaw Exp $ + +*bmp-musepack-1.1_alpha10 (14 Nov 2004) + + 14 Nov 2004; Tony Vroon + +bmp-musepack-1.1_alpha10.ebuild: + Initial commit. Ebuild based on the ones submitted by Sebastian Droege and + Giacomo Perale in bug #64148. + diff --git a/media-plugins/bmp-musepack/Manifest b/media-plugins/bmp-musepack/Manifest new file mode 100644 index 000000000000..8c6e80b59072 --- /dev/null +++ b/media-plugins/bmp-musepack/Manifest @@ -0,0 +1,4 @@ +MD5 5cc70fe35227149181e861b2ae34a9f0 ChangeLog 362 +MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 +MD5 797a7d3bfeb119db2a2f2111d8fee09a bmp-musepack-1.1_alpha10.ebuild 767 +MD5 280179d514956a7eaecc7b65d7c61414 files/digest-bmp-musepack-1.1_alpha10 76 diff --git a/media-plugins/bmp-musepack/bmp-musepack-1.1_alpha10.ebuild b/media-plugins/bmp-musepack/bmp-musepack-1.1_alpha10.ebuild new file mode 100644 index 000000000000..aa3aad8a17fe --- /dev/null +++ b/media-plugins/bmp-musepack/bmp-musepack-1.1_alpha10.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/bmp-musepack/bmp-musepack-1.1_alpha10.ebuild,v 1.1 2004/11/14 14:07:16 chainsaw Exp $ + +inherit eutils +IUSE="" + +MY_P="${P/_alpha/-alpha}" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="Beep Media Player plugin to play audio files encoded with Andree Buschmann's encoder Musepack (mpc, mp+, mpp)" +HOMEPAGE="http://www.musepack.net" +SRC_URI="http://www.musepack.net/downloads/linux/plugins/${MY_P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~x86" + +DEPEND="media-sound/beep-media-player + >=media-libs/libmusepack-1.0.2" + +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/${PV}-makefile.patch +} + +src_compile() { + emake || die "make failed" +} + +src_install() { + exeinto `beep-config --input-plugin-dir` + doexe libmpc.so + dodoc README +} diff --git a/media-plugins/bmp-musepack/files/1.1_alpha10-makefile.patch b/media-plugins/bmp-musepack/files/1.1_alpha10-makefile.patch new file mode 100644 index 000000000000..5cfb8c048213 --- /dev/null +++ b/media-plugins/bmp-musepack/files/1.1_alpha10-makefile.patch @@ -0,0 +1,23 @@ +--- Makefile.orig 2004-09-24 18:54:09.000000000 +0100 ++++ Makefile 2004-11-14 13:45:06.804421168 +0000 +@@ -2,9 +2,9 @@ + VERSION = 1.1-alpha10 + + CC = g++ +-CPPFLAGS = -Wall -fPIC -DPIC -O2 -march=i686 -pipe -DPOSIX -D_REENTRANT -DVERSION=\"$(VERSION)\" +-INCLUDE = -I/usr/include/musepack `pkg-config --cflags gtk+-2.0` -pthread +-LIBS = `pkg-config --cflags --libs gtk+-2.0` -lpthread -lm -lmusepack ++CPPFLAGS = -Wall -fPIC -DPIC ${CXXFLAGS} -DPOSIX -D_REENTRANT -DVERSION=\"$(VERSION)\" ++INCLUDE = $(shell pkg-config --cflags bmp) -pthread -I/usr/include/musepack ++LIBS = $(shell pkg-config --libs bmp) -lpthread -lmusepack + + SOURCES :=$(wildcard *.cpp) + HEADERS :=$(wildcard *.h) +@@ -21,6 +21,6 @@ + rm -f libmpc.so + + install: libmpc.so +- install ${installopts} libmpc.so /usr/lib/bmp/Input/. ++ install ${installopts} libmpc.so $(shell pkg-config --variable=input_plugin_dir bmp) + + #END OF FILE diff --git a/media-plugins/bmp-musepack/files/digest-bmp-musepack-1.1_alpha10 b/media-plugins/bmp-musepack/files/digest-bmp-musepack-1.1_alpha10 new file mode 100644 index 000000000000..1042ee8b4350 --- /dev/null +++ b/media-plugins/bmp-musepack/files/digest-bmp-musepack-1.1_alpha10 @@ -0,0 +1 @@ +MD5 6c44c475c9a87a34a5e5343f2fcc6aff bmp-musepack-1.1-alpha10.tar.bz2 14991 diff --git a/media-plugins/bmp-musepack/metadata.xml b/media-plugins/bmp-musepack/metadata.xml new file mode 100644 index 000000000000..e1774e3d9ad7 --- /dev/null +++ b/media-plugins/bmp-musepack/metadata.xml @@ -0,0 +1,5 @@ + + + +sound + -- cgit v1.2.3-65-gdbad