summaryrefslogtreecommitdiff
path: root/media-sound/dcaenc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-05-04 11:28:04 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-05-04 11:28:04 +0100
commit47a1d2f184696819152c003a600beb058fbc4420 (patch)
treea85ea2840d8bb2bfaea292c4e2f363b663cc1ea1 /media-sound/dcaenc
parent42564959cad787b3e82c0ebd8a8a6a59958e1370 (diff)
gentoo auto-resync : 04:05:2023 - 11:28:04
Diffstat (limited to 'media-sound/dcaenc')
-rw-r--r--media-sound/dcaenc/Manifest4
-rw-r--r--media-sound/dcaenc/dcaenc-3-r1.ebuild42
-rw-r--r--media-sound/dcaenc/metadata.xml3
3 files changed, 48 insertions, 1 deletions
diff --git a/media-sound/dcaenc/Manifest b/media-sound/dcaenc/Manifest
index ce8f30eb689c..44711c6639cb 100644
--- a/media-sound/dcaenc/Manifest
+++ b/media-sound/dcaenc/Manifest
@@ -1,3 +1,5 @@
DIST dcaenc-2.tar.gz 351199 BLAKE2B 28e0dae58650fcbd9f68823ca0aa2dde121b2376b488067c0977863a22fb83d5b60d04f907cd6b564824a25cb45f25180034d4f9fead12b57805b1c997133443 SHA512 0029f7c3b06199fb8100ce933827013fdc58e5fddf984ddf1744849e5d6cc24ce76e09b868eef19a49e1036a142419c3304c1822492f64301ed4feaa6bea4910
+DIST dcaenc-v3.tar.bz2 48501 BLAKE2B f232225600a22cb018083449dbcef5c7a7f6d12c1edc412098ea07382a2d9dcb553377bd68934d96a91759b32572a6a064b00c583f767e74c1b4940e4253b285 SHA512 032793933da8c100d4e48555605287ca0d6c287aa948635aae6c6b584d902390ca3d02cc5623b59244234183bc3f5a747d48084cf70174903e5ac410dc305700
EBUILD dcaenc-2-r2.ebuild 746 BLAKE2B 9b04c1d1096decd658b3c73e3710363a9a65642b47659ce0f86e195306ebdfe2854559840e65168f524c7fb949725f843e0b4f48048fa2eeb40f0e902eb580bc SHA512 d2c5a326f3691165ef62ddf0112b8b4af4b381a173fdd360c85bcb3d8d7b5822b0c2fd7aabd1e72bab48e16528a3a92344499110e809b40abe263c5b1cb115d9
-MISC metadata.xml 260 BLAKE2B 9945ac40ee60ce67adf51840c3cc2d6d2743dffe4fd2ec965d300c709323f80eb5d35eaeb804414eebb2da1e954ee688067c05093b26499678de524b414ac4ec SHA512 e5b6a2a44cd2a4ea4fb1267eb8f635c079c022853443ad180ca12f2df84492f3ba34db45e4ff5e7e09262a74745f5c0aa04ebccd6f998cf19a6ea2ccd0627701
+EBUILD dcaenc-3-r1.ebuild 909 BLAKE2B b650f27bab1d5ff3e848e4e99223053e063fc1f1fe0e85f5f853e9ed57c948787031e49dd65f2b17f081218f3c086fe68affcee5d0ea121ef8d4087f1d9d9654 SHA512 6fd84f9df7a45868df91307bda904df594a2a43e4b4150aa0e188a69c2f58903493c93322729969ebd67f630948f5fea6b159afe7804a33436637a18e95239eb
+MISC metadata.xml 344 BLAKE2B 55bb27109a06b343b1708a944a3578eda27eaeae090c2c949074f0edc599b4617386b9c6d14c1fbe34dcc76d0899a01ce89d19dec5391cd5320449c026833dec SHA512 87751224d66f34d7dc526046d8d0480967692ea344533090ee9e5c75a0e7d7a16f149765dffa513ee66ab5c07e359c653fd84665fb099e6c0b3298470562b573
diff --git a/media-sound/dcaenc/dcaenc-3-r1.ebuild b/media-sound/dcaenc/dcaenc-3-r1.ebuild
new file mode 100644
index 000000000000..bcf40e35a754
--- /dev/null
+++ b/media-sound/dcaenc/dcaenc-3-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools multilib-minimal
+
+DESCRIPTION="DTS Coherent Acoustics audio encoder"
+HOMEPAGE="https://gitlab.com/patrakov/dcaenc"
+SRC_URI="https://gitlab.com/patrakov/dcaenc/-/archive/v${PV}/${PN}-v${PV}.tar.bz2"
+S="${WORKDIR}/${PN}-v${PV}"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa"
+
+RDEPEND="alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+multilib_src_configure() {
+ local myeconfargs=(
+ --disable-static
+ $(use_enable alsa)
+ )
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ find "${ED}" -type f -name "*.la" -delete || die
+ if use alsa; then
+ dosym ../../../usr/share/alsa/pcm/dca.conf \
+ /etc/alsa/conf.d/dca.conf
+ fi
+}
diff --git a/media-sound/dcaenc/metadata.xml b/media-sound/dcaenc/metadata.xml
index cd1cfc033621..f54a86bbf0b7 100644
--- a/media-sound/dcaenc/metadata.xml
+++ b/media-sound/dcaenc/metadata.xml
@@ -5,4 +5,7 @@
<email>sound@gentoo.org</email>
<name>Gentoo Sound project</name>
</maintainer>
+ <upstream>
+ <remote-id type="gitlab">patrakov/dcaenc</remote-id>
+ </upstream>
</pkgmetadata>