Not ready to add this.

pull/4/head
audiodef 6 years ago
parent bf9e7623e3
commit 0d0855748d

@ -1,8 +0,0 @@
AUX aacgain-1.9-derefptr.patch 589 SHA256 bd89713da9b764f416d1cf9cad5e5d439389f22f73492bead34bd77b6f743da7 SHA512 41c3ba1c989194f2e714dbfdf7078fd17a1a54bc886485e6ac2eb10a22baa30d7f0c31c10f3c27fc7167e1fc2d490d8cccccca40a832be8a2ad69f62efdd536b WHIRLPOOL ad0ed633025b8b2ae019fc6c5a8ed123b59b4a771a70a6be8134b2ed075beeb0d72f678f8a67a1b3f1b7b89120beeb6e40c1c11a607c27cdddc2d12e1d99e4a0
AUX aacgain-1.9-patch-dotdot.patch 620 SHA256 e60b96f9aea9c9b042d23effe4b074c08412632f07b41085eb516a8a832d0751 SHA512 aaf0f22c584b0bf82f0982862ff72e9a8bd21c2057669bf6c374fa8f2272477c83cb7fdf77624482b46dc59932b4a161d36220c09d7ca7fa5a5a8a5f252e5537 WHIRLPOOL ffa63139fd5ea4d6f86a3258964da0df8efcd5814f34d15a67e6fc8a91b2bc82fc7c1993fea69386aa58960ca6a6524343aff54eb15e01f90daa1bb5249c8b50
DIST aacgain-1.9.tar.xz 52824 SHA256 42c97a956b69828e312345c09ee477ce411a40d25bdbb67b184c61afd3be3c91 SHA512 937c1c66feb13dfa869b8868415168c06b20e552577328957230a09b11f5e44ac53643da8e6fe91e476b54fe24c265a589c4a25dbde400f2fd43eebc5916f523 WHIRLPOOL bb006c6476d9f0c73b4e545684d99c8b4f32d9c05125cd48a109d88e59f788055a455a1baa6956ef0dead314dcbbed27e78cecf3526c86d371ddfac5fe91d966
DIST faad2-2.7.tar.gz 1137407 SHA256 ee26ed1e177c0cd8fa8458a481b14a0b24ca0b51468c8b4c8b676fd3ceccd330 SHA512 8135370497dfcfee09094a03a4a9545ebc58b9e532b89c5d6e5037042549e12ddb75f8903aa05866afac9fa28df96320f1ed2eebffc0660578e54392a51c1161 WHIRLPOOL 6e30d466e47de0e06751718005573a632c5aa0cd209445c56c25d859f917265452676ce897ac5ad1cd308d411911aaf232bfc50904469f9434b2cc95b6ae928f
DIST mp3gain-1_5_2-src.zip 129435 SHA256 dbadc7a41a8a3b87d3a21a1989701cfe72d2090c3ead02b0b396a19a8acf6fca SHA512 1a7ac51bf0108c1f6fbd610c513bf7fd2c64d340a2ba23dc9fa5c3b896b279474f31f2d60318f409576e39f7643dd585d3e159e2a4db4553f7c9cc3761b7f388 WHIRLPOOL 4a0584c52090100e9f9fe2c53ac6614965976f1ada9134212734966199a6c116ce2e304ed54ec240c489c293928daf664f109d003d29c5c79c1e3b4a6ee08403
DIST mp4v2-1.9.1.tar.bz2 432943 SHA256 5c381caeab2326fc48cfda0fe202bdb8ba0ae624d9c97ad7680a2b07e2c2e3b4 SHA512 28b6f96c1d44a1601980113767c38f5b5b058e1a1fae25c18632163e948c18fc884af9d146bb68e771303ab3c5c8ef9437f4fffa7d770d29157f2d455ee4b1c8 WHIRLPOOL 7ba33598287002d4227bcc4bfc1e8fe71241b95ed7151704b78a250d0f5f7d5c77cabf0195502d368571f5668f775fdecc09700bea12859c827d0d29aa654f5e
EBUILD aacgain-1.9-r2.ebuild 2053 SHA256 15e0b6601ab6dc306769d8cf6622d4eaee753ebab672b0b0868299cd7ac9682f SHA512 5dd161a204bea4059173ea8a4c7d6e24a3b15fc1c8c53e7b855908839942cb92a6b3785d3cb7df93dc8112a9ec5905d257d2782ff97a33d1cd0db891d64bc4e1 WHIRLPOOL 15236b8c1e5338930df92f90d82f26e2cc92dfc0bb367209967be7da64e19e361ee685bfcf99181d7c51093a3203a0ed8e5fd5762f3619d322fe75fab5633f27
MISC metadata.xml 1058 SHA256 02c16c9201350a8274afd6f512041b2f2d240dc93e56bf7a592ad81bd02f39ef SHA512 762210908209894f10f9455d60a54c2796e88dd3a6cc7b06c5e6582b3287d21a33b57f3c3befb5215ba933050cfbf7e7ce705467e193c55d1886f4326cf25445 WHIRLPOOL a5bc2d5102404c61913e2ce7be443cfd3bca7abc47adca417bf4ed835e45e3ad66b97eb3aa7f1c086a9b2c1bd3c8817646b00c4d52784f56bbc71d3516e828f5

@ -1,105 +0,0 @@
# Copyright 1999-2018 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
"${FILESDIR}"/${P}-derefptr.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
}

@ -1,11 +0,0 @@
--- aacgain-1.9/mp4v2/src/rtphint.cpp 2017-07-14 17:54:58.230117921 +0200
+++ aacgain-1.9/mp4v2/src/rtphint.cpp 2017-07-14 17:58:57.441883719 +0200
@@ -345,7 +345,7 @@
pSlash = strchr(pSlash, '/');
if (pSlash != NULL) {
pSlash++;
- if (pSlash != '\0') {
+ if (*pSlash != '\0') {
length = strlen(pRtpMap) - (pSlash - pRtpMap);
*ppEncodingParams = (char *)MP4Calloc(length + 1);
strncpy(*ppEncodingParams, pSlash, length);

@ -1,16 +0,0 @@
diff -ru aacgain-1.9-orig/aacgain/linux/prepare.sh aacgain-1.9/aacgain/linux/prepare.sh
--- aacgain-1.9-orig/aacgain/linux/prepare.sh 2013-02-19 07:00:54.313006065 +0100
+++ aacgain-1.9/aacgain/linux/prepare.sh 2013-02-19 07:01:42.849006331 +0100
@@ -51,7 +51,11 @@
#remove obsolete config.h; a correct one will be created by automake's configure
rm -f ../../mp3gain/mpglibDBL/config.h
#correct header include paths
-patch -p0 -N <mp3gain.patch
+sed -i 's:../../::' mp3gain.patch
+old="$(pwd)"
+cd ../..
+patch -p0 -N <"${old}/mp3gain.patch"
+cd "$old"
echo Creating the configure script
cp -p configure.ac ../..

@ -1,20 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>webmaster@gentoostudio.org</email>
<name>Gentoo Studio/Damien Moody</name>
</maintainer>
<longdescription lang="en">AACGain is a modification to Glen Sawyer's excellent mp3gain program.
It supports AAC (mp4/m4a/QuickTime) audio files in addtion to mp3 files.
If you are not familiar with mp3gain, stop reading this, and go to
http://mp3gain.sourceforge.net. AACGain normalizes the volume of digital
music files using the ReplayGain algorithm. It works by modifying the
global_gain fields in the mp4 samples. Free-form metadata tags are added
to the file to save undo information, making the normalization process
reversable. AACGain uses the same command-line user interface as mp3gain.</longdescription>
<upstream>
<remote-id type="google-code">mp4v2</remote-id>
<remote-id type="sourceforge">faac</remote-id>
</upstream>
</pkgmetadata>
Loading…
Cancel
Save