wok-current view libav/receipt @ rev 25124
updated apache-mod-perl (2.0.8 -> 2.0.11)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 28 16:23:55 2022 +0100 (2022-06-28) |
parents | fb22330086d8 |
children | 7f7bd3c9775e |
line source
1 # SliTaz package receipt.
3 PACKAGE="libav"
4 VERSION="12.3"
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"
16 WGET_URL="https://github.com/libav/libav/archive/refs/tags/v$VERSION.tar.gz"
18 DEPENDS="libsdl xorg-libXfixes zlib"
19 BUILD_DEPENDS="binutils bzlib coreutils-file-format faac-dev
20 faad2-dev lame-dev libsdl-dev libtheora-dev libvorbis-dev
21 libvpx-dev netatalk-dev nut opencore-amr-dev openjpeg-dev
22 schroedinger-dev speex-dev x264 xvidcore-dev zlib-dev"
24 # What is the latest version available today?
25 current_version()
26 {
27 wget -O - https://github.com/libav/libav/tags 2>/dev/null | \
28 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
29 }
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 ./configure \
35 --prefix=/usr \
36 --enable-avfilter \
37 --disable-debug \
38 --disable-doc \
39 --enable-gpl \
40 --enable-nonfree \
41 --enable-pthreads \
42 --enable-runtime-cpudetect \
43 --enable-shared \
44 --arch=i486 \
45 --cpu=i486 &&
46 make &&
47 make install
48 }
50 # Rules to gen a SliTaz package suitable for Tazpkg.
51 genpkg_rules()
52 {
53 mkdir -p $fs/usr/lib
55 cp -a $install/usr/bin $fs/usr
56 cp -a $install/usr/lib/*.so* $fs/usr/lib
57 cp -a $install/usr/share $fs/usr
58 }