wok view transcode/receipt @ rev 21574
updated arpack-ng and arpack-ng-dev again (3.1.5 -> 3.7.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun May 19 07:49:33 2019 +0100 (2019-05-19) |
parents | 22980cdd8a20 |
children | cfa4f29841ff |
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/achurch_/transcode/wiki/Home"
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 libgnutls"
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 }