From: Andrew Savchenko Date: Fri, 12 Aug 2016 21:47:42 +0000 (+0300) Subject: media-libs/fdk-aac: fix bug 483040 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=41aa5b030150c2b26db936dd21bd389581c26825;p=gentoo.git 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 --- 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 b5cb38ba51bd..c9fb62e6c147 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 364207767e53..2a013f721bff 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 f7da48059d2d..3923033057d5 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" +}