blob: f0a8f0226efaad88647512901e52e92ffcfb15c8 (
plain)
1 # Description: Command line utilities for transcoding various media formats.
2 # URL: http://www.transcoding.org/cgi-bin/transcode
3 # Maintainer: Danny Rawlins, monster dot romster at gmail dot com
4 # Packager: Martin Opel, mo at obbl-net dot de
5 # Depends on: e2fsprogs imagemagick libdvdnav lzo mjpegtools mpeg2dec liba52
6
7 name=transcode
8 version=1.1.2
9 release=1
10 source=(http://download.berlios.de/tcforge/$name-$version.tar.bz2
11 http://dl.sourceforge.net/subtitleripper/subtitleripper-0.3-4.tgz
12 transcode-1.1.0-xvid.patch)
13
14 build() {
15 cd $name-$version
16 patch -p 1 -i $SRC/transcode-1.1.0-xvid.patch
17 autoreconf -i -I m4
18 CFLAGS+=' -pthread'
19
20 ./configure \
21 --prefix=/usr \
22 --mandir=/usr/man \
23 --disable-dependency-tracking \
24 --enable-alsa \
25 --enable-a52 \
26 --enable-freetype2 \
27 --enable-imagemagick \
28 --enable-libdv \
29 --enable-libpostproc \
30 --enable-libquicktime \
31 --enable-libxml2 \
32 --enable-lzo \
33 --enable-mjpegtools \
34 --enable-ogg \
35 --enable-sdl \
36 --enable-theora \
37 --enable-v4l \
38 --enable-vorbis \
39 --enable-xvid \
40 --enable-x264 \
41 --enable-faac \
42 --enable-libxml2
43
44 make
45 make DESTDIR=$PKG install
46 rm -r $PKG/usr/share
47
48 # Subtitle support (Han Boetes)
49 mkdir -p contrib/subrip
50 cd contrib/subrip
51 cp ../../../subtitleripper/* .
52 sed -i -e 's|.*ppm.*||i' Makefile
53 make clean all
54 install -m 0755 -D srttool subtitle2pgm subtitle2vobsub $PKG/usr/bin
55 }
|