2007-04-30 12:46:40 +10:00
|
|
|
# Description: Command line utilities for transcoding various media formats.
|
|
|
|
# URL: http://www.transcoding.org/cgi-bin/transcode
|
2008-03-26 13:45:31 +11:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
2007-04-30 12:46:40 +10:00
|
|
|
# Packager: Martin Opel, mo at obbl-net dot de
|
2009-11-04 01:09:29 +11:00
|
|
|
# Depends on: imagemagick liba52 libdvdread libmpeg2 lzo mjpegtools
|
2007-04-30 12:46:40 +10:00
|
|
|
|
|
|
|
name=transcode
|
2009-11-04 01:09:29 +11:00
|
|
|
version=1.1.5
|
2007-04-30 12:46:40 +10:00
|
|
|
release=1
|
2009-04-08 08:36:07 +10:00
|
|
|
source=(http://download.berlios.de/tcforge/$name-$version.tar.bz2
|
2009-11-04 01:09:29 +11:00
|
|
|
http://downloads.sourceforge.net/subtitleripper/subtitleripper-0.3-4.tgz)
|
2007-04-30 12:46:40 +10:00
|
|
|
|
|
|
|
build() {
|
2008-08-03 01:22:01 +10:00
|
|
|
cd $name-$version
|
2009-01-24 19:06:43 +11:00
|
|
|
CFLAGS+=' -pthread'
|
2008-06-12 04:57:19 +10:00
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2009-01-24 19:06:43 +11:00
|
|
|
--mandir=/usr/man \
|
|
|
|
--disable-dependency-tracking \
|
|
|
|
--enable-alsa \
|
2008-06-12 04:57:19 +10:00
|
|
|
--enable-a52 \
|
2008-08-03 01:22:01 +10:00
|
|
|
--enable-freetype2 \
|
|
|
|
--enable-imagemagick \
|
2008-06-12 04:57:19 +10:00
|
|
|
--enable-libdv \
|
2009-11-04 01:09:29 +11:00
|
|
|
--enable-libmpeg2 \
|
2008-08-03 01:22:01 +10:00
|
|
|
--enable-libpostproc \
|
2008-06-12 04:57:19 +10:00
|
|
|
--enable-libquicktime \
|
2008-08-03 01:22:01 +10:00
|
|
|
--enable-libxml2 \
|
2008-06-12 04:57:19 +10:00
|
|
|
--enable-lzo \
|
|
|
|
--enable-mjpegtools \
|
2008-08-03 01:22:01 +10:00
|
|
|
--enable-ogg \
|
|
|
|
--enable-sdl \
|
|
|
|
--enable-theora \
|
|
|
|
--enable-v4l \
|
|
|
|
--enable-vorbis \
|
2009-01-24 19:06:43 +11:00
|
|
|
--enable-xvid \
|
|
|
|
--enable-x264 \
|
|
|
|
--enable-faac \
|
|
|
|
--enable-libxml2
|
2007-06-25 18:39:32 +10:00
|
|
|
|
2007-04-30 12:46:40 +10:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/share
|
|
|
|
|
|
|
|
# Subtitle support (Han Boetes)
|
|
|
|
mkdir -p contrib/subrip
|
|
|
|
cd contrib/subrip
|
|
|
|
cp ../../../subtitleripper/* .
|
2008-04-11 11:35:27 +10:00
|
|
|
sed -i -e 's|.*ppm.*||i' Makefile
|
2009-11-04 01:09:29 +11:00
|
|
|
make clean all CFLAGS="$CFLAGS -DHAVE_GETLINE"
|
2008-04-11 11:35:27 +10:00
|
|
|
install -m 0755 -D srttool subtitle2pgm subtitle2vobsub $PKG/usr/bin
|
2007-04-30 12:46:40 +10:00
|
|
|
}
|