summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-02-23 13:22:54 -0500
committerMike Frysinger <vapier@gentoo.org>2016-02-23 14:31:11 -0500
commitca7d810eb017cddfe3fa80d97e2a5faf43a479ed (patch)
tree319879a89fae4b34f6aed9203caaed892b617bae /media-sound/dcadec
parentprofiles/updates: rename xbmc to kodi for transparent upgrades (diff)
downloadgentoo-ca7d810eb017cddfe3fa80d97e2a5faf43a479ed.tar.gz
gentoo-ca7d810eb017cddfe3fa80d97e2a5faf43a479ed.tar.bz2
gentoo-ca7d810eb017cddfe3fa80d97e2a5faf43a479ed.zip
media-sound/dcadec: new package #559348
Diffstat (limited to 'media-sound/dcadec')
-rw-r--r--media-sound/dcadec/Manifest1
-rw-r--r--media-sound/dcadec/dcadec-0.2.0.ebuild37
-rw-r--r--media-sound/dcadec/metadata.xml10
3 files changed, 48 insertions, 0 deletions
diff --git a/media-sound/dcadec/Manifest b/media-sound/dcadec/Manifest
new file mode 100644
index 00000000000..d1c9fddf6b5
--- /dev/null
+++ b/media-sound/dcadec/Manifest
@@ -0,0 +1 @@
+DIST dcadec-0.2.0.tar.gz 225305 SHA256 ed9d207fde3e8d576f3af8b0d1235b3371e315175757173689104efcaebf0d44 SHA512 94edcc0b4449882ebeb08f8b39fe44a5302731df2dad3a3e0b0f787fd7c2c3e3992fed95e6f594af516e982cec34b057aab30e6457c098df61f495a487125acb WHIRLPOOL 33aa735fed95dcb5cb97fec767971bc151c7925f40589beb9c10fca57e0871da66b800fc9a23613a14e8ffbec2758a5e516debf3bb600e2c2c9f1fcad14b66e4
diff --git a/media-sound/dcadec/dcadec-0.2.0.ebuild b/media-sound/dcadec/dcadec-0.2.0.ebuild
new file mode 100644
index 00000000000..d93dc26aa6d
--- /dev/null
+++ b/media-sound/dcadec/dcadec-0.2.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit toolchain-funcs multilib
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="git://github.com/foo86/dcadec.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/foo86/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
+fi
+
+DESCRIPTION="DTS Coherent Acoustics decoder with support for HD extensions"
+HOMEPAGE="https://github.com/foo86/dcadec"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE=""
+
+src_configure() {
+ tc-export AR CC
+ sed -i \
+ -e "/^PREFIX /s:=.*:= ${EPREFIX}/usr:" \
+ -e "/^LIBDIR /s:/lib:/$(get_libdir):" \
+ -e '/^CFLAGS/s:-O3::' \
+ Makefile || die
+}
+
+src_install() {
+ default
+ # Rename the executable since it conflicts with libdca.
+ mv "${ED}"/usr/bin/dcadec{,-new} || die
+}
diff --git a/media-sound/dcadec/metadata.xml b/media-sound/dcadec/metadata.xml
new file mode 100644
index 00000000000..7294e2a4987
--- /dev/null
+++ b/media-sound/dcadec/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>sound@gentoo.org</email>
+</maintainer>
+<upstream>
+ <remote-id type="github">foo86/dcadec</remote-id>
+</upstream>
+</pkgmetadata>