wok-6.x view libav/receipt @ rev 24354
created recipe for py3k-dbus-1.2.18
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 03 15:11:19 2022 +0100 (2022-02-03) |
parents | ebfc45d562c1 |
children | fb22330086d8 |
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 # What is the latest version available today?
24 current_version()
25 {
26 wget -O - https://github.com/andoma/libav/tags 2>/dev/null | \
27 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 ./configure \
34 --prefix=/usr \
35 --enable-avfilter \
36 --enable-avfilter-lavf \
37 --disable-debug \
38 --disable-doc \
39 --enable-gpl \
40 --enable-nonfree \
41 --enable-postproc \
42 --enable-pthreads \
43 --enable-runtime-cpudetect \
44 --enable-shared \
45 --enable-x11grab \
46 --arch=i486 \
47 --cpu=i486 &&
48 make &&
49 make install
50 }
52 # Rules to gen a SliTaz package suitable for Tazpkg.
53 genpkg_rules()
54 {
55 mkdir -p $fs/usr/lib
57 cp -a $install/usr/bin $fs/usr
58 cp -a $install/usr/lib/*.so* $fs/usr/lib
59 cp -a $install/usr/share $fs/usr
60 }