commit: db61e10d2a4b10fc06967ddc272a087ede6a05db Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> AuthorDate: Thu May 4 09:32:26 2023 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> CommitDate: Thu May 4 09:33:43 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db61e10d
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 <AT> gentoo.org> media-sound/dcaenc/{dcaenc-3.ebuild => dcaenc-3-r1.ebuild} | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/media-sound/dcaenc/dcaenc-3.ebuild b/media-sound/dcaenc/dcaenc-3-r1.ebuild similarity index 88% rename from media-sound/dcaenc/dcaenc-3.ebuild rename to 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 }
