summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/alac_decoder')
-rw-r--r--media-sound/alac_decoder/Manifest2
-rw-r--r--media-sound/alac_decoder/alac_decoder-0.1.3.ebuild33
-rw-r--r--media-sound/alac_decoder/alac_decoder-0.2.0.ebuild34
-rw-r--r--media-sound/alac_decoder/metadata.xml13
4 files changed, 82 insertions, 0 deletions
diff --git a/media-sound/alac_decoder/Manifest b/media-sound/alac_decoder/Manifest
new file mode 100644
index 000000000000..71325dc67047
--- /dev/null
+++ b/media-sound/alac_decoder/Manifest
@@ -0,0 +1,2 @@
+DIST alac_decoder-0.1.3.tar.gz 15171 SHA256 b0ac203d873cc5746a519970adf095a32bfc4bad3fff2bfdf41bd1d518f09b1d
+DIST alac_decoder-0.2.0.tgz 19019 SHA256 7f8f978a5619e6dfa03dc140994fd7255008d788af848ba6acf9cfbaa3e4122f
diff --git a/media-sound/alac_decoder/alac_decoder-0.1.3.ebuild b/media-sound/alac_decoder/alac_decoder-0.1.3.ebuild
new file mode 100644
index 000000000000..9e22b17495c5
--- /dev/null
+++ b/media-sound/alac_decoder/alac_decoder-0.1.3.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=2
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Basic decoder for Apple Lossless Audio Codec files (ALAC)"
+HOMEPAGE="http://craz.net/programs/itunes/alac.html"
+SRC_URI="http://craz.net/programs/itunes/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~ppc-macos ~x86-solaris"
+IUSE=""
+
+RDEPEND=""
+DEPEND="sys-apps/sed"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ sed -i -e "s:\(-o alac\):\$(LDFLAGS) \1:g" Makefile || die "sed failed"
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ dobin alac || die "dobin failed"
+ dodoc README
+}
diff --git a/media-sound/alac_decoder/alac_decoder-0.2.0.ebuild b/media-sound/alac_decoder/alac_decoder-0.2.0.ebuild
new file mode 100644
index 000000000000..7f237a15a529
--- /dev/null
+++ b/media-sound/alac_decoder/alac_decoder-0.2.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="2"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Basic decoder for Apple Lossless Audio Codec files (ALAC)"
+HOMEPAGE="http://craz.net/programs/itunes/alac.html"
+SRC_URI="http://craz.net/programs/itunes/files/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~ppc-macos ~x86-solaris"
+IUSE=""
+
+RDEPEND=""
+DEPEND="sys-apps/sed"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ sed -i -e "s:\(-o alac\):\$(LDFLAGS) \1:g" Makefile || die "sed failed"
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ dobin alac || die "dobin failed"
+ dodoc README
+}
diff --git a/media-sound/alac_decoder/metadata.xml b/media-sound/alac_decoder/metadata.xml
new file mode 100644
index 000000000000..c733e85706e2
--- /dev/null
+++ b/media-sound/alac_decoder/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>maintainer-needed@gentoo.org</email>
+ </maintainer>
+ <longdescription lang="en">
+ Basic decoder for Apple Lossless Audio Codec files (ALAC). ALAC is a
+ proprietary lossless audio compression scheme. Apple never released any
+ documents on the format. ALAC uses an adaptive FIR prediction algorithm
+ and stores the error values using a modified rice or golumb algorithm.
+ </longdescription>
+</pkgmetadata>