diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-01-13 08:51:49 +0100 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-01-13 08:56:48 +0100 |
commit | 7476bc310d6abaea84af3521eeb2a652b8ca77aa (patch) | |
tree | 57271b57d10d05e218a535d7a243a6fbb4d001e2 /media-libs/fdk-aac | |
parent | 2bf8e9d5b926228249aa44fd9b1e95ffb14a20f1 (diff) | |
download | gentoo-7476bc310d6abaea84af3521eeb2a652b8ca77aa.tar.gz gentoo-7476bc310d6abaea84af3521eeb2a652b8ca77aa.tar.xz |
media-libs/fdk-aac: bump to 0.1.5
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'media-libs/fdk-aac')
-rw-r--r-- | media-libs/fdk-aac/Manifest | 1 | ||||
-rw-r--r-- | media-libs/fdk-aac/fdk-aac-0.1.5.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/media-libs/fdk-aac/Manifest b/media-libs/fdk-aac/Manifest index 4febcd1f2d5..f9989f5ba26 100644 --- a/media-libs/fdk-aac/Manifest +++ b/media-libs/fdk-aac/Manifest @@ -3,3 +3,4 @@ DIST fdk-aac-0.1.2.tar.gz 1976401 SHA256 e4eefa3e64a5110dd180decf21a255fe1c1e085 DIST fdk-aac-0.1.3.tar.gz 1982695 SHA256 a9cb872802cfb7a2aff7a549c114c547d1e518dd60c2f85942229cc20c0d0c8d SHA512 1cc78bdb31f0896b71de85afbebeb5f8ed97affccf74c20ad2c36e6baead0199f83bf987a28872a1229b116c17c161e4bbe197c5108fd749fd508ebfeeb7df56 WHIRLPOOL 115298bb9fea7317a991da87e6aea9c94575550c5d26678b5edcef62c02d16a143d9d8b3d84264c7437b0f3451cf3b504713d56198eedff317421d86918c8b34 DIST fdk-aac-0.1.4.tar.gz 1986515 SHA256 5910fe788677ca13532e3f47b7afaa01d72334d46a2d5e1d1f080f1173ff15ab SHA512 edb8540aa29cc1b1c98aff67a273771e766b4a30a9292f1cdd9b2beba6659bc3db51b0342c0b0521ce4da29e63ce948dda37fdbb1cc57787f1ec9d8223b2aada WHIRLPOOL aa272566b38c47cf838a99bb8914c3eedd7d0a94a3e104e00376a4b6943bf73760a20a4fce7c57f4665c61188d4e795072a2df40fbcbd77565d24b4f21b05b49 DIST fdk-aac-0.1.4_p20160914-fix-c++14.patch.bz2 5320 SHA256 9c04ce7b470274808ab623b82b5888f24cfcd44b0a3d7cd431ae17e07d761a88 SHA512 cfcf174d8e515065c93a1d0e51aa7fac6112573ff9597b08c47406d6e6ebba493673ee5ae6ab19183fd01459dd6a0dc52e1f8669c6059c6bbdcb86fa2babb71d WHIRLPOOL 45c5b56a8228df4a5a1a14a0a05192d709e32e9a1481a2ed60caf81ddf1829684fd7d0a03a1e712f6be0dd51f396d61df8e038004fe69a548c61d41b8468d9c8 +DIST fdk-aac-0.1.5.tar.gz 2091081 SHA256 2164592a67b467e5b20fdcdaf5bd4c50685199067391c6fcad4fa5521c9b4dd7 SHA512 579e96dae5638cfe2d3d5e84ab24a72ed50ed3b5a9d3c6eb2f434d3a5f4c575877a2ecf6cd7cf7a528eb2811b2014a861eaaac9ea5fc617c6423587525766f00 WHIRLPOOL c62bf973fe3e60193b8799674dedb8e1f2ed7132f45e6c8854bc75f38318dcf50146bc0628b5b9c33d7bc913a1e473ad6f7c64e9dd72324a0c6a3dff5b3c8d4c diff --git a/media-libs/fdk-aac/fdk-aac-0.1.5.ebuild b/media-libs/fdk-aac/fdk-aac-0.1.5.ebuild new file mode 100644 index 00000000000..a61ca3a9df5 --- /dev/null +++ b/media-libs/fdk-aac/fdk-aac-0.1.5.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +if [[ ${PV} == *9999* ]]; then + KEYWORDS="" + SRC_URI="" + EGIT_REPO_URI="git://github.com/mstorsjo/${PN}.git" + [[ ${PV%9999} != "" ]] && EGIT_BRANCH="release/${PV%.9999}" + inherit autotools git-r3 +else + KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x64-macos" + if [[ ${PV%_p*} != ${PV} ]]; then # Gentoo snapshot + SRC_URI="mirror://gentoo/${P}.tar.xz" + else # Official release + SRC_URI="mirror://sourceforge/opencore-amr/${P}.tar.gz" + fi +fi + +inherit multilib-minimal + +DESCRIPTION="Fraunhofer AAC codec library" +HOMEPAGE="https://sourceforge.net/projects/opencore-amr/" +LICENSE="FraunhoferFDK" +# subslot == N where N is libfdk-aac.so.N +SLOT="0/1" + +IUSE="static-libs examples" + +src_prepare() { + default + [[ ${PV} == *9999* ]] && eautoreconf +} + +multilib_src_configure() { + ECONF_SOURCE=${S} econf \ + --enable-shared \ + $(use_enable static-libs static) \ + $(use_enable examples example) +} + +multilib_src_install_all() { + einstalldocs + + if use examples; then + mv "${ED%/}/usr/bin/"{,fdk-}aac-enc || die + fi + + # package provides .pc files + find "${D}" -name '*.la' -delete || die +} + +pkg_postinst() { + use examples && einfo "aac-enc was renamed to fdk-aac-enc to prevent file collision with other packages" +} |