summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-libs/dcadec/dcadec-scm.ebuild28
-rw-r--r--media-tv/kodi/kodi-scm.ebuild1
2 files changed, 29 insertions, 0 deletions
diff --git a/media-libs/dcadec/dcadec-scm.ebuild b/media-libs/dcadec/dcadec-scm.ebuild
new file mode 100644
index 0000000..0774c6f
--- /dev/null
+++ b/media-libs/dcadec/dcadec-scm.ebuild
@@ -0,0 +1,28 @@
+#copypast from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=libcrossguid-git
+
+EAPI=5
+
+inherit base eutils git-r3
+
+DESCRIPTION="dcadec is a free DTS Coherent Acoustics decoder with support for HD extensions."
+HOMEPAGE="https://github.com/foo86/dcadec"
+SRC_URI=""
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+
+EGIT_REPO_URI="https://github.com/foo86/dcadec.git"
+
+src_unpack() {
+ git-r3_src_unpack
+}
+
+src_compile() {
+ cd "${S}"
+ emake
+}
+
+src_install() {
+#TODO: multilib
+ emake DESTDIR="${D}" install
+}
diff --git a/media-tv/kodi/kodi-scm.ebuild b/media-tv/kodi/kodi-scm.ebuild
index 69a8604..6ccb963 100644
--- a/media-tv/kodi/kodi-scm.ebuild
+++ b/media-tv/kodi/kodi-scm.ebuild
@@ -109,6 +109,7 @@ RDEPEND="${COMMON_DEPEND}
DEPEND="${COMMON_DEPEND}
virtual/jre
dev-libs/libcrossguid
+ media-libs/dcadec
app-arch/xz-utils
dev-lang/swig
dev-util/gperf