2006-02-23 15:26:10 +00:00
|
|
|
# Description: tools used to create/alter ogg/vorbis files
|
2020-06-21 20:21:42 +10:00
|
|
|
# URL: https://www.xiph.org/vorbis/
|
2012-06-21 09:00:56 +02:00
|
|
|
# Maintainer: Jose V Beneyto, sepen at crux dot nu
|
2017-10-31 17:18:55 +01:59
|
|
|
# Depends on: libao libvorbis, curl
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=vorbis-tools
|
2010-03-26 14:56:19 +01:00
|
|
|
version=1.4.0
|
2017-05-14 17:11:34 +02:00
|
|
|
release=3
|
|
|
|
source=(http://downloads.xiph.org/releases/vorbis/$name-$version.tar.gz
|
|
|
|
vcut-fix-segfault.diff
|
|
|
|
vorbis-tools-r19117-CVE-2014-9640.patch
|
|
|
|
vorbis-tools-oggenc-CVE-2014-9639.patch
|
|
|
|
vorbis-tools-CVE-2015-6749.patch)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build() {
|
2017-05-14 17:11:34 +02:00
|
|
|
cd $name-$version
|
2006-11-16 21:45:22 +01:00
|
|
|
|
2017-05-14 17:11:34 +02:00
|
|
|
patch -p1 -i $SRC/vcut-fix-segfault.diff
|
|
|
|
patch -p1 -i $SRC/$name-r19117-CVE-2014-9640.patch
|
|
|
|
patch -p1 -i $SRC/$name-oggenc-CVE-2014-9639.patch
|
|
|
|
patch -p1 -i $SRC/$name-CVE-2015-6749.patch
|
2016-01-21 00:36:05 +00:00
|
|
|
|
2017-05-14 17:11:34 +02:00
|
|
|
export LDFLAGS="-lm $LDFLAGS"
|
2006-02-23 15:26:10 +00:00
|
|
|
|
2017-05-14 17:11:34 +02:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--disable-nls \
|
|
|
|
--enable-vcut
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
mkdir $PKG/usr/etc
|
|
|
|
mv $PKG/usr/share/doc/$name-$version/ogg123rc-example $PKG/usr/etc
|
|
|
|
rm -rf $PKG/usr/share/doc
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|