[proaudio] [1816] mpadec-9999: initial ebuild ebuild referenced from csound-wii overlay

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Revision: 1816
Author:   keenblade
Date:     2010-12-04 02:31:11 +0100 (Sat, 04 Dec 2010)
Log Message:
-----------
mpadec-9999: initial ebuild ebuild referenced from csound-wii overlay

Added Paths:
-----------
    trunk/overlays/proaudio/media-sound/mpadec/
    trunk/overlays/proaudio/media-sound/mpadec/ChangeLog
    trunk/overlays/proaudio/media-sound/mpadec/Manifest
    trunk/overlays/proaudio/media-sound/mpadec/metadata.xml
    trunk/overlays/proaudio/media-sound/mpadec/mpadec-9999.ebuild

Added: trunk/overlays/proaudio/media-sound/mpadec/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/mpadec/ChangeLog	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/mpadec/ChangeLog	2010-12-04 01:31:11 UTC (rev 1816)
@@ -0,0 +1,10 @@
+# ChangeLog for media-sound/mpadec
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*mpadec-9999 (04 Dec 2010)
+
+  04 Dec 2010; Hakan Demiralp <keenblade@xxxxxxxxxxxxx> +mpadec-9999.ebuild,
+  +metadata.xml:
+  mpadec-9999: initial ebuild ebuild referenced from csound-wii overlay
+

Added: trunk/overlays/proaudio/media-sound/mpadec/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/mpadec/Manifest	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/mpadec/Manifest	2010-12-04 01:31:11 UTC (rev 1816)
@@ -0,0 +1,3 @@
+EBUILD mpadec-9999.ebuild 915 RMD160 661b58f2ec7aa9aa418d027fe44caf5d91ec0523 SHA1 3d2a399861cbf764bfaddc3354db45af57c0840d SHA256 eb085842a84aee9d65fca5b831e28010306157f279a68a1e0176599da75b2c39
+MISC ChangeLog 314 RMD160 f3f4a57f7361d2a905acd121d95d9ff4e0315227 SHA1 76043983c944ff96dd02bdaf1f0a6cea226bc0b1 SHA256 0be1d1d1e18e100c3e82051a9df37e839135d0cd711131cfd63285df6d51ae4b
+MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89

Added: trunk/overlays/proaudio/media-sound/mpadec/metadata.xml
===================================================================
--- trunk/overlays/proaudio/media-sound/mpadec/metadata.xml	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/mpadec/metadata.xml	2010-12-04 01:31:11 UTC (rev 1816)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+	<herd>no-herd</herd>
+	<maintainer>
+		<email>proaudio@xxxxxxxxxxxxx</email>
+		<name>pro-audio overlay team</name>
+	</maintainer>
+</pkgmetadata>

Added: trunk/overlays/proaudio/media-sound/mpadec/mpadec-9999.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/mpadec/mpadec-9999.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/mpadec/mpadec-9999.ebuild	2010-12-04 01:31:11 UTC (rev 1816)
@@ -0,0 +1,53 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit cvs
+
+DESCRIPTION="MPEG audio decoder."
+HOMEPAGE="http://mpadec.sourceforge.net/";
+SRC_URI=""
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=""
+
+DEPEND="${RDEPEND}
+	dev-vcs/cvs"
+
+S="${WORKDIR}/${PN}"
+
+src_unpack() {
+	ECVS_SERVER="mpadec.cvs.sourceforge.net:/cvsroot/mpadec"
+	ECVS_USER="anonymous"
+	ECVS_PASS=""
+	ECVS_AUTH="pserver"
+	ECVS_MODULE="mpadec"
+	ECVS_TOP_DIR="${DISTDIR}/cvs-src/${ECVS_MODULE}"
+	cvs_src_unpack
+}
+
+src_prepare() {
+	if use amd64; then
+		sed -i "s@#define ARCH_X86@//#define ARCH_X86@" config.h
+		sed -i "s@//#define ARCH_AMD64@#define ARCH_AMD64@" config.h
+	fi
+}
+
+src_compile() {
+	emake || die
+}
+
+src_install() {
+	dobin mpadec
+	insinto /usr/include
+	doins include/*.h
+	dolib.a libmpadec/*.a
+	dolib.so libmpadec/*.so
+	dodoc README
+}


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/