2007-04-30 04:46:40 +02:00
|
|
|
# Description: Command line utilities for transcoding various media formats.
|
|
|
|
# URL: http://www.transcoding.org/cgi-bin/transcode
|
|
|
|
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
|
|
|
|
# Packager: Martin Opel, mo at obbl-net dot de
|
2007-06-25 11:09:16 +02:00
|
|
|
# Depends on: imagemagick libavifile libdvdread libfame lzo mjpegtools mpeg2dec mplayer xorg-libxaw xorg-libxpm xorg-libxv
|
2007-04-30 04:46:40 +02:00
|
|
|
|
|
|
|
name=transcode
|
2007-06-25 10:39:32 +02:00
|
|
|
version=20070625
|
2007-04-30 04:46:40 +02:00
|
|
|
release=1
|
|
|
|
source=(http://romster.shortcircuit.net.au/crux/source/transcode-snapshot-$version.tar.bz2 \
|
|
|
|
http://dl.sourceforge.net/subtitleripper/subtitleripper-0.3-4.tgz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd transcode
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2007-06-25 10:39:32 +02:00
|
|
|
--disable-experimental \
|
|
|
|
--enable-alsa \
|
2007-04-30 04:46:40 +02:00
|
|
|
--enable-avifile \
|
|
|
|
--enable-ogg \
|
|
|
|
--enable-vorbis \
|
|
|
|
--enable-libdv \
|
2007-06-25 10:39:32 +02:00
|
|
|
--enable-libquicktime \
|
|
|
|
--enable-lzo \
|
2007-04-30 04:46:40 +02:00
|
|
|
--enable-a52 \
|
2007-06-25 10:39:32 +02:00
|
|
|
--enable-faac \
|
2007-04-30 04:46:40 +02:00
|
|
|
--enable-libxml2 \
|
|
|
|
--enable-mjpegtools \
|
|
|
|
--enable-libfame \
|
|
|
|
--enable-imagemagick \
|
|
|
|
--enable-netstream \
|
|
|
|
--enable-freetype2 \
|
|
|
|
--enable-libpostproc \
|
|
|
|
--enable-theora
|
2007-06-25 10:39:32 +02:00
|
|
|
|
2007-04-30 04:46:40 +02:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/share
|
|
|
|
|
|
|
|
# Subtitle support (Han Boetes)
|
|
|
|
mkdir -p contrib/subrip
|
|
|
|
cd contrib/subrip
|
|
|
|
cp ../../../subtitleripper/* .
|
|
|
|
sed -i 's|.*ppm.*||i' Makefile
|
|
|
|
make clean all
|
|
|
|
install -D srttool subtitle2pgm subtitle2vobsub $PKG/usr/bin
|
|
|
|
}
|
|
|
|
|