#Maintainer: Thorsten Muehlfelder pkgname=transcode pkgver=1.1.1 pkgrel=3tm arch=x86_64 source=("http://download.berlios.de/tcforge/transcode-$pkgver.tar.bz2") url="http://www.transcoding.org/" docs=(AUTHORS COPYING ChangeLog INSTALL README TODO) slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (utilities for transcoding video and audio codecs)" "Transcode is a suite of command line utilities for transcoding" "video and audio codecs, and for converting beween different" "container formats. Transcode can decode and encode many audio" "and video formats: * MPEG-1/2" " * MPEG-4(-part 3) (also DivX and XviD variants)" " * Quicktime / MPEG-PS (dvd) (decode only)" " * MPEG-1-layer-1/2/3 audio" " * AC3 audio" ) build() { cd $startdir/src/${pkgname}-${pkgver} ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static \ --enable-v4l \ --enable-oss \ --enable-alsa \ --disable-nuv \ --enable-libpostproc \ --enable-freetype2 \ --enable-lame="yes" \ --enable-xvid="yes" \ --enable-x264="yes" \ --enable-ogg="yes" \ --enable-vorbis="yes" \ --enable-theora="yes" \ --enable-lzo="yes" \ --enable-a52="yes" \ --enable-faac="yes" \ --enable-libdv="yes" \ --enable-libxml2="yes" \ --enable-mjpegtools="yes" \ --enable-libquicktime="yes" \ --enable-sdl="yes" \ --enable-imagemagick="yes" \ --build=$arch-slackware-linux || return 1 LANG=en_US make -j3 || return 1 make DESTDIR=$startdir/pkg/ install || return 1 # fix doc location mkdir -p $startdir/pkg/usr/doc/$pkgname-$pkgver/ mv $startdir/pkg/usr/share/doc/$pkgname/* $startdir/pkg/usr/doc/$pkgname-$pkgver/ rm -r $startdir/pkg/usr/share/doc/ }