wok view libav/receipt @ rev 24226
updated perl-io-tty (1.14 -> 1.16)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 17:52:39 2021 +0100 (2021-12-31) |
parents | a78610b2eb47 |
children | 095836df71b7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libav"
4 VERSION="0.6.6"
5 CATEGORY="multimedia"
6 SHORT_DESC="Audio and video conversion library."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2 GPL3 LGPL2.1 LGPL3"
9 WEB_SITE="https://www.libav.org/"
11 #TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 #WGET_URL="git|git://github.com/andoma/libav.git"
13 #BRANCH="v$VERSION"
14 TARBALL="$PACKAGE-$VERSION.tar.gz"
15 WGET_URL="${WEB_SITE}releases/$TARBALL"
17 DEPENDS="libsdl xorg-libXfixes zlib"
18 BUILD_DEPENDS="binutils bzlib coreutils-file-format faac-dev
19 faad2-dev lame-dev libsdl-dev libtheora-dev libvorbis-dev
20 libvpx-dev netatalk-dev nut opencore-amr-dev openjpeg-dev
21 schroedinger-dev speex-dev x264 xvidcore-dev zlib-dev"
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --prefix=/usr \
28 --enable-avfilter \
29 --enable-avfilter-lavf \
30 --disable-debug \
31 --disable-doc \
32 --enable-gpl \
33 --enable-nonfree \
34 --enable-postproc \
35 --enable-pthreads \
36 --enable-runtime-cpudetect \
37 --enable-shared \
38 --enable-x11grab \
39 --arch=i486 \
40 --cpu=i486 &&
41 make &&
42 make install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr/lib
50 cp -a $install/usr/bin $fs/usr
51 cp -a $install/usr/lib/*.so* $fs/usr/lib
52 cp -a $install/usr/share $fs/usr
53 }