wok-current rev 19896
Add transcode
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 06 19:38:29 2017 +0200 (2017-04-06) |
parents | 1b0c9ef3c8cf |
children | ad4116239ed1 |
files | transcode/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/transcode/receipt Thu Apr 06 19:38:29 2017 +0200 1.3 @@ -0,0 +1,38 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="transcode" 1.7 +VERSION="1.1.7" 1.8 +CATEGORY="multimedia" 1.9 +SHORT_DESC="A text-console utility for video stream processing." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="GPL2" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.13 +WEB_SITE="https://bitbucket.org/france/transcode-tcforge" 1.14 +WGET_URL="$WEB_SITE/downloads/$TARBALL" 1.15 +EXTRA_SOURCE_FILES="http://www.linuxfromscratch.org/patches/blfs/7.6/transcode-1.1.7-ffmpeg2-1.patch" 1.16 + 1.17 +DEPENDS="libav lame ibdvdread jpeg libvorbis alsa-lib" 1.18 +BUILD_DEPENDS="ffmpeg-dev lame-dev libdvdread-dev jpeg-dev libvorbis-dev \ 1.19 +imagemagick-dev alsa-lib-dev xorg-libXv-dev" 1.20 + 1.21 +# Rules to configure and make the package. 1.22 +compile_rules() 1.23 +{ 1.24 + [ -s "$SOURCES_REPOSITORY/$(basename $EXTRA_SOURCE_FILES)" ] || 1.25 + wget -P $SOURCES_REPOSITORY $EXTRA_SOURCE_FILES 1.26 + patch -p1 < $SOURCES_REPOSITORY/$(basename $EXTRA_SOURCE_FILES) 1.27 + sed -i 's/av_close_input_file(/avformat_close_input(\&/' import/probe_ffmpeg.c 1.28 + ./configure --prefix=/usr --infodir=/usr/share/info \ 1.29 + --mandir=/usr/share/man \ 1.30 + $CONFIGURE_ARGS && 1.31 + make && 1.32 + make DESTDIR=$DESTDIR install 1.33 +} 1.34 + 1.35 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.36 +genpkg_rules() 1.37 +{ 1.38 + mkdir -p $fs/usr 1.39 + cp -a $install/usr/bin $fs/usr 1.40 + cp -a $install/usr/lib $fs/usr 1.41 +}