diff options
author | Jason A. Donenfeld <zx2c4@gentoo.org> | 2018-01-03 12:04:33 +0100 |
---|---|---|
committer | Jason A. Donenfeld <zx2c4@gentoo.org> | 2018-01-03 12:04:47 +0100 |
commit | 112ada9496bbee10b51cc9eacaf383d2bd60ce47 (patch) | |
tree | 8e866d382d2204a54e42f1b261af66769213610f /media-sound | |
parent | media-sound/aacgain: fix obvious bug and recent gcc issue (diff) | |
download | gentoo-112ada9496bbee10b51cc9eacaf383d2bd60ce47.tar.gz gentoo-112ada9496bbee10b51cc9eacaf383d2bd60ce47.tar.bz2 gentoo-112ada9496bbee10b51cc9eacaf383d2bd60ce47.zip |
media-sound/aacgain: stable fix
If the previous garbage was stable, then this certainly is.
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/aacgain/aacgain-1.9-r1.ebuild | 104 | ||||
-rw-r--r-- | media-sound/aacgain/aacgain-1.9-r2.ebuild | 2 | ||||
-rw-r--r-- | media-sound/aacgain/aacgain-1.9.ebuild | 100 |
3 files changed, 1 insertions, 205 deletions
diff --git a/media-sound/aacgain/aacgain-1.9-r1.ebuild b/media-sound/aacgain/aacgain-1.9-r1.ebuild deleted file mode 100644 index d278711d59b5..000000000000 --- a/media-sound/aacgain/aacgain-1.9-r1.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils autotools - -FAAD2_PV="2.7" -MP4V2_PV="1.9.1" -MP3GAIN_PV="1.5.2" - -DESCRIPTION="AACGain normalizes the volume of music files using the Replay Gain algorithm" -HOMEPAGE="http://aacgain.altosdesign.com/" -SRC_URI="http://sbriesen.de/gentoo/distfiles/${P}.tar.xz - https://mp4v2.googlecode.com/files/mp4v2-${MP4V2_PV}.tar.bz2 - mirror://sourceforge/mp3gain/mp3gain-${MP3GAIN_PV//./_}-src.zip - mirror://sourceforge/faac/faad2-${FAAD2_PV}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="" -DEPEND="" - -DOCS="${PN}/README" - -src_unpack() { - mkdir -p "${S}" - for X in ${A}; do - case "${X}" in - mp3gain*) - mkdir -p "${S}/${X%%-*}" - cd "${S}/${X%%-*}" - unpack "${X}" - ;; - *) - cd "${S}" - unpack "${X}" - [ -d "${X%%-*}" ] || mv -f "${X%%-*}"-* "${X%%-*}" - ;; - esac - done -} - -PATCHES=( - ${PN}/mp4v2.patch - "${FILESDIR}"/${P}-patch-dotdot.patch -) - -src_prepare() { - default - - sed -i -e 's:iquote :I:' faad2/libfaad/Makefile.am || die - sed -i -e 's:../\(mp4v2/\):\1:g' ${PN}/mp4v2.patch || die - sed -i -e 's:\(libmp4v2\|libfaad/libfaad\)\.la:README:g' \ - -e 's:^\(autoreconf\|pushd\|popd\):# \1:g' aacgain/linux/prepare.sh || die - - cd "${S}/${PN}/linux" - sh prepare.sh || die "prepare failed!" - - cd "${S}" - eautoreconf - - cd "${S}/faad2" - eautoreconf - - cd "${S}/mp4v2" - elibtoolize -} - -src_configure() { - local myconf="--disable-dependency-tracking" - local myconf2="${myconf} --disable-shared --enable-static" - - cd "${S}/faad2" - econf ${myconf2} --without-xmms --without-mpeg4ip - - cd "${S}/mp4v2" - econf ${myconf2} --disable-gch - - cd "${S}" - econf ${myconf} -} - -src_compile() { - cd "${S}/faad2/libfaad" - emake - - cd "${S}/mp4v2" - emake - - cd "${S}" - emake -} - -pkg_postinst() { - ewarn - ewarn "BACK UP YOUR MUSIC FILES BEFORE USING AACGAIN!" - ewarn "THIS IS EXPERIMENTAL SOFTWARE. THERE HAVE BEEN" - ewarn "BUGS IN PAST RELEASES THAT CORRUPTED MUSIC FILES." - ewarn -} diff --git a/media-sound/aacgain/aacgain-1.9-r2.ebuild b/media-sound/aacgain/aacgain-1.9-r2.ebuild index 6db52b1805e7..a08a2bfff469 100644 --- a/media-sound/aacgain/aacgain-1.9-r2.ebuild +++ b/media-sound/aacgain/aacgain-1.9-r2.ebuild @@ -18,7 +18,7 @@ SRC_URI="http://sbriesen.de/gentoo/distfiles/${P}.tar.xz LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="" RDEPEND="" diff --git a/media-sound/aacgain/aacgain-1.9.ebuild b/media-sound/aacgain/aacgain-1.9.ebuild deleted file mode 100644 index d48172721789..000000000000 --- a/media-sound/aacgain/aacgain-1.9.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit eutils autotools - -FAAD2_PV="2.7" -MP4V2_PV="1.9.1" -MP3GAIN_PV="1.5.2" - -DESCRIPTION="AACGain normalizes the volume of music files using the Replay Gain algorithm" -HOMEPAGE="http://aacgain.altosdesign.com/" -SRC_URI="http://sbriesen.de/gentoo/distfiles/${P}.tar.xz - https://mp4v2.googlecode.com/files/mp4v2-${MP4V2_PV}.tar.bz2 - mirror://sourceforge/mp3gain/mp3gain-${MP3GAIN_PV//./_}-src.zip - mirror://sourceforge/faac/faad2-${FAAD2_PV}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -RDEPEND="" -DEPEND="" - -DOCS="${PN}/README" - -src_unpack() { - mkdir -p "${S}" - for X in ${A}; do - case "${X}" in - mp3gain*) - mkdir -p "${S}/${X%%-*}" - cd "${S}/${X%%-*}" - unpack "${X}" - ;; - *) - cd "${S}" - unpack "${X}" - [ -d "${X%%-*}" ] || mv -f "${X%%-*}"-* "${X%%-*}" - ;; - esac - done -} - -src_prepare() { - sed -i -e 's:iquote :I:' faad2/libfaad/Makefile.am - sed -i -e 's:../\(mp4v2/\):\1:g' ${PN}/mp4v2.patch - sed -i -e 's:\(libmp4v2\|libfaad/libfaad\)\.la:README:g' \ - -e 's:^\(autoreconf\|pushd\|popd\):# \1:g' aacgain/linux/prepare.sh - - epatch ${PN}/mp4v2.patch - epatch "${FILESDIR}"/${P}-patch-dotdot.patch - - cd "${S}/${PN}/linux" - sh prepare.sh || die "prepare failed!" - - cd "${S}" - eautoreconf - - cd "${S}/faad2" - eautoreconf - - cd "${S}/mp4v2" - elibtoolize -} - -src_configure() { - local myconf="--disable-dependency-tracking" - local myconf2="${myconf} --disable-shared --enable-static" - - cd "${S}/faad2" - econf ${myconf2} --without-xmms --without-mpeg4ip - - cd "${S}/mp4v2" - econf ${myconf2} --disable-gch - - cd "${S}" - econf ${myconf} -} - -src_compile() { - cd "${S}/faad2/libfaad" - emake - - cd "${S}/mp4v2" - emake - - cd "${S}" - emake -} - -pkg_postinst() { - ewarn - ewarn "BACK UP YOUR MUSIC FILES BEFORE USING AACGAIN!" - ewarn "THIS IS EXPERIMENTAL SOFTWARE. THERE HAVE BEEN" - ewarn "BUGS IN PAST RELEASES THAT CORRUPTED MUSIC FILES." - ewarn -} |