wok view libav/receipt @ rev 22144

updated x264 and x264-dev (20160517-2245 -> 20191105-2245)
author Hans-G?nter Theisgen
date Wed Nov 06 15:16:51 2019 +0100 (2019-11-06)
parents 01010da01a4a
children ebfc45d562c1
line source
1 # SliTaz package receipt.
3 PACKAGE="libav"
4 VERSION="0.6.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="clone of git://git.libav.org/libav"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2 GPL3 LGPL2.1 LGPL3"
9 WEB_SITE="https://www.libav.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="git|git://github.com/andoma/libav.git"
12 BRANCH="v$VERSION"
14 DEPENDS="libsdl xorg-libXfixes zlib"
15 BUILD_DEPENDS="git coreutils-file-format \
16 libsdl-dev faac-dev faad2-dev lame-dev nut opencore-amr-dev openjpeg-dev \
17 netatalk-dev schroedinger-dev speex-dev libtheora-dev libvorbis-dev \
18 libvpx-dev x264 xvidcore-dev \
19 zlib-dev bzlib binutils "
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure \
25 --prefix=/usr \
26 --enable-shared \
27 --enable-gpl \
28 --enable-nonfree \
29 --enable-runtime-cpudetect \
30 --disable-doc \
31 --enable-postproc \
32 --enable-avfilter \
33 --enable-avfilter-lavf \
34 --enable-pthreads \
35 --enable-x11grab \
36 --disable-debug \
37 --arch=i486 \
38 --cpu=i486 && \
39 make && \
40 make install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/usr/lib/*.so* $fs/usr/lib
49 cp -a $install/usr/share $fs/usr
50 }