From 41aa5b030150c2b26db936dd21bd389581c26825 Mon Sep 17 00:00:00 2001 From: Andrew Savchenko Date: Sat, 13 Aug 2016 00:47:42 +0300 Subject: 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 --- 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(-) (limited to 'media-libs/fdk-aac') 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" +} -- cgit v1.2.3-65-gdbad