From 01475bc20e5d2fc2d3ee35c26481145baef689d0 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Mon, 25 Jan 2016 16:46:40 +0000
Subject: dcadec: initial inclusion. dep of ffmpeg

---
 abs/extra/dcadec/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 abs/extra/dcadec/PKGBUILD

diff --git a/abs/extra/dcadec/PKGBUILD b/abs/extra/dcadec/PKGBUILD
new file mode 100644
index 0000000..5e52ae8
--- /dev/null
+++ b/abs/extra/dcadec/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
+# Contributor: Yamashita Ren <lemaitre.lotus@gmail.com>
+
+pkgname=dcadec
+pkgver=0.2.0
+pkgrel=1
+pkgdesc='DTS Coherent Acoustics decoder with support for HD extensions'
+arch=('i686' 'x86_64')
+url='https://github.com/foo86/dcadec.git'
+license=('LGPL2.1')
+depends=('glibc')
+provides=('libdcadec.so')
+source=("dcadec-${pkgver}.tar.gz::https://github.com/foo86/dcadec/archive/v${pkgver}.tar.gz")
+sha256sums=('ed9d207fde3e8d576f3af8b0d1235b3371e315175757173689104efcaebf0d44')
+
+build() {
+  cd dcadec-${pkgver}
+
+  export CONFIG_SHARED='TRUE'
+
+  make
+}
+
+package() {
+  cd dcadec-${pkgver}
+
+  export CONFIG_SHARED='TRUE'
+  export PREFIX='/usr'
+
+  make DESTDIR="${pkgdir}" install
+  mv "${pkgdir}"/usr/bin/dcadec{,-hd}
+}
+
+# vim: ts=2 sw=2 et:
-- 
cgit v0.12