wok-6.x view transcode/receipt @ rev 19985
Up zstd (1.2.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 01 15:39:55 2017 +0200 (2017-07-01) |
parents | 5239ed5d79bb |
children | 22980cdd8a20 |
line source
1 # SliTaz package receipt.
3 PACKAGE="transcode"
4 VERSION="1.1.7"
5 CATEGORY="multimedia"
6 SHORT_DESC="A text-console utility for video stream processing."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://bitbucket.org/france/transcode-tcforge"
11 WGET_URL="$WEB_SITE/downloads/$TARBALL"
12 EXTRA_SOURCE_FILES="http://www.linuxfromscratch.org/patches/blfs/7.6/transcode-1.1.7-ffmpeg2-1.patch"
14 DEPENDS="libav lame libdvdread jpeg libvorbis alsa-lib"
15 BUILD_DEPENDS="ffmpeg-dev lame-dev libdvdread-dev jpeg-dev libvorbis-dev \
16 imagemagick-dev alsa-lib-dev xorg-libXv-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 [ -s "$SOURCES_REPOSITORY/$(basename $EXTRA_SOURCE_FILES)" ] ||
22 wget -P $SOURCES_REPOSITORY $EXTRA_SOURCE_FILES
23 patch -p1 < $SOURCES_REPOSITORY/$(basename $EXTRA_SOURCE_FILES)
24 sed -i 's/av_close_input_file(/avformat_close_input(\&/' import/probe_ffmpeg.c
25 ./configure --prefix=/usr --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib $fs/usr
38 }