summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2023-05-04 11:32:26 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2023-05-04 11:33:43 +0200
commitdb61e10d2a4b10fc06967ddc272a087ede6a05db (patch)
tree955898c295b66440e29bcd30a8ab4510cd8bf42b
parentxfce-extra/xfce4-screensaver: Stabilize 4.18.1 x86, #905674 (diff)
downloadgentoo-db61e10d2a4b10fc06967ddc272a087ede6a05db.tar.gz
gentoo-db61e10d2a4b10fc06967ddc272a087ede6a05db.tar.bz2
gentoo-db61e10d2a4b10fc06967ddc272a087ede6a05db.zip
media-sound/dcaenc: put dosym behind if use alsa
otherwise the configuration file does not exist so the symlink is broken Closes: https://bugs.gentoo.org/905694 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
-rw-r--r--media-sound/dcaenc/dcaenc-3-r1.ebuild (renamed from media-sound/dcaenc/dcaenc-3.ebuild)6
1 files changed, 4 insertions, 2 deletions
diff --git a/media-sound/dcaenc/dcaenc-3.ebuild b/media-sound/dcaenc/dcaenc-3-r1.ebuild
index bc296e9146cb..bcf40e35a754 100644
--- a/media-sound/dcaenc/dcaenc-3.ebuild
+++ b/media-sound/dcaenc/dcaenc-3-r1.ebuild
@@ -35,6 +35,8 @@ multilib_src_configure() {
multilib_src_install_all() {
einstalldocs
find "${ED}" -type f -name "*.la" -delete || die
- dosym ../../../usr/share/alsa/pcm/dca.conf \
- /etc/alsa/conf.d/dca.conf
+ if use alsa; then
+ dosym ../../../usr/share/alsa/pcm/dca.conf \
+ /etc/alsa/conf.d/dca.conf
+ fi
}