opt/vorbis-tools/Pkgfile
Fun 4c0305a2e9 remove redundant deps
CRUX System Team:reiserfsprogs: util-linux
UNMAINTAINED:librsvg: gdk-pixbuf gobject-introspection
Jose V Beneyto:gftp: openssl readline
Jose V Beneyto:imlib2: libpng
Jose V Beneyto:libcroco: libxml2
Jose V Beneyto:libgd: libpng
Jose V Beneyto:libwnck-gtk3: intltool
Jose V Beneyto:libwnck: intltool
Jose V Beneyto:pycairo: python
Jose V Beneyto:pygobject: python
Jose V Beneyto:qt4: libpng
Jose V Beneyto:startup-notification: xorg-libsm xorg-libx11
Jose V Beneyto:subversion: apr expat sqlite3
Jose V Beneyto:vorbis-tools: libogg
Jose V Beneyto:vte-gtk3: intltool p5-xml-parser xorg-libxdamage
Jose V Beneyto:vte: intltool p5-xml-parser
Jose V Beneyto:xchat: openssl perl
2017-11-14 18:11:56 +01:00

37 lines
1013 B
Plaintext

# Description: tools used to create/alter ogg/vorbis files
# URL: http://www.vorbis.com/
# Maintainer: Jose V Beneyto, sepen at crux dot nu
# Packager: Matt Housh, jaeger at morpheus dot net
# Depends on: libao libvorbis, curl
name=vorbis-tools
version=1.4.0
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)
build() {
cd $name-$version
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
export LDFLAGS="-lm $LDFLAGS"
./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
}