summaryrefslogtreecommitdiff
path: root/transcode/Pkgfile
blob: cf3d5656591f7ebb70e43921fec20202ff33d772 (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: imagemagick liba52 libdvdread libmpeg2 lzo mjpegtools
    6 
    7 name=transcode
    8 version=1.1.5
    9 release=1
   10 source=(http://download.berlios.de/tcforge/$name-$version.tar.bz2
   11 	http://download.sourceforge.net/subtitleripper/subtitleripper-0.3-4.tgz)
   12 
   13 build() {
   14 	cd $name-$version
   15 	CFLAGS+=' -pthread'
   16 
   17 	./configure \
   18 		--prefix=/usr \
   19 		--mandir=/usr/man \
   20 		--disable-dependency-tracking \
   21 		--enable-alsa \
   22 		--enable-a52 \
   23 		--enable-freetype2 \
   24 		--enable-imagemagick \
   25 		--enable-libdv \
   26 		--enable-libmpeg2 \
   27 		--enable-libpostproc \
   28 		--enable-libquicktime \
   29 		--enable-libxml2 \
   30 		--enable-lzo \
   31 		--enable-mjpegtools \
   32 		--enable-ogg \
   33 		--enable-sdl \
   34 		--enable-theora \
   35 		--enable-v4l \
   36 		--enable-vorbis \
   37 		--enable-xvid \
   38 		--enable-x264 \
   39 		--enable-faac \
   40 		--enable-libxml2
   41 
   42 	make
   43 	make DESTDIR=$PKG install
   44 	rm -r $PKG/usr/share
   45 
   46 	# Subtitle support (Han Boetes)
   47 	mkdir -p contrib/subrip
   48 	cd contrib/subrip
   49 	cp ../../../subtitleripper/* .
   50 	sed -i -e 's|.*ppm.*||i' Makefile
   51 	make clean all CFLAGS="$CFLAGS -DHAVE_GETLINE"
   52 	install -m 0755 -D srttool subtitle2pgm subtitle2vobsub $PKG/usr/bin
   53 }

Generated by cgit