opt/transcode/Pkgfile
2006-02-23 15:26:10 +00:00

45 lines
1.3 KiB
Plaintext

# Description: Command line utilities for transcoding various media formats
# URL: http://www.transcoding.org/cgi-bin/transcode
# Maintainer: Matt Housh, jaeger at morpheus dot net
# Packager: Martin Opel, mo at obbl-net dot de
# Depends on: ffmpeg, glib, libogg, libvorbis, libxvid, mjpegtools, liba52, libdv, libavifile, lame, toolame, libdvdread, libxml2, libdivx, libfame, mplayer, freetype, libjpeg-mmx, imagemagick, mpeg2dec, freetype, libtheora
name=transcode
version=1.0.2
release=1
source=(http://www.jakemsr.com/$name/$name-$version.tar.gz \
http://dl.sourceforge.net/subtitleripper/subtitleripper-0.3-4.tgz)
build() {
cd $name-$version
./configure \
--prefix=/usr \
--disable-v4l \
--enable-avifile \
--enable-ogg \
--enable-vorbis \
--enable-libdv \
--enable-a52 \
--enable-libxml2 \
--enable-mjpegtools \
--enable-libfame \
--enable-imagemagick \
--enable-netstream \
--enable-libavcodec \
--enable-freetype2 \
--enable-libpostproc \
--with-libpostproc-includes=/usr/include/postproc \
--enable-theora
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share
# Subtitle support (Han Boetes)
cd contrib/subrip
cp ../../../subtitleripper/* .
sed -i 's|.*ppm.*||i' Makefile
make clean all
install -D srttool subtitle2pgm subtitle2vobsub $PKG/usr/bin
}