commit: 41aa5b030150c2b26db936dd21bd389581c26825 Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> AuthorDate: Fri Aug 12 21:47:42 2016 +0000 Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> CommitDate: Fri Aug 12 21:47:42 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41aa5b03
media-libs/fdk-aac: fix bug 483040 Rename aac-enc to avoid file collisions with other packages. Package-Manager: portage-2.3.0 Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org> media-libs/fdk-aac/fdk-aac-0.1.2.ebuild | 11 ++++++++++- media-libs/fdk-aac/fdk-aac-0.1.3.ebuild | 11 ++++++++++- media-libs/fdk-aac/fdk-aac-0.1.4.ebuild | 11 ++++++++++- 3 files changed, 30 insertions(+), 3 deletions(-) diff --git a/media-libs/fdk-aac/fdk-aac-0.1.2.ebuild b/media-libs/fdk-aac/fdk-aac-0.1.2.ebuild index b5cb38b..c9fb62e 100644 --- a/media-libs/fdk-aac/fdk-aac-0.1.2.ebuild +++ b/media-libs/fdk-aac/fdk-aac-0.1.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -39,3 +39,12 @@ src_configure() { ) autotools-multilib_src_configure } + +src_install() { + autotools-multilib_src_install + use examples && mv "${ED}/usr/bin/aac-enc" "${ED}/usr/bin/fdk-aac-enc" +} + +pkg_postinst() { + use examples && einfo "aac-enc was renamed to fdk-aac-enc to prevent file collision with other packages" +} diff --git a/media-libs/fdk-aac/fdk-aac-0.1.3.ebuild b/media-libs/fdk-aac/fdk-aac-0.1.3.ebuild index 3642077..2a013f7 100644 --- a/media-libs/fdk-aac/fdk-aac-0.1.3.ebuild +++ b/media-libs/fdk-aac/fdk-aac-0.1.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -39,3 +39,12 @@ src_configure() { ) autotools-multilib_src_configure } + +src_install() { + autotools-multilib_src_install + use examples && mv "${ED}/usr/bin/aac-enc" "${ED}/usr/bin/fdk-aac-enc" +} + +pkg_postinst() { + use examples && einfo "aac-enc was renamed to fdk-aac-enc to prevent file collision with other packages" +} diff --git a/media-libs/fdk-aac/fdk-aac-0.1.4.ebuild b/media-libs/fdk-aac/fdk-aac-0.1.4.ebuild index f7da480..3923033 100644 --- a/media-libs/fdk-aac/fdk-aac-0.1.4.ebuild +++ b/media-libs/fdk-aac/fdk-aac-0.1.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -40,3 +40,12 @@ src_configure() { ) autotools-multilib_src_configure } + +src_install() { + autotools-multilib_src_install + use examples && mv "${ED}/usr/bin/aac-enc" "${ED}/usr/bin/fdk-aac-enc" +} + +pkg_postinst() { + use examples && einfo "aac-enc was renamed to fdk-aac-enc to prevent file collision with other packages" +}