From 643249dbdfb5bd70a1d53e213da40a706884300a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Alexandre=20Silva=20Delgado?= Date: Mon, 19 Nov 2012 17:32:38 -0200 Subject: libav: updating package --- pcr/libav-static/PKGBUILD | 120 ----------------------------- pcr/libav-static/avconv-static | 2 - pcr/libav-static/avplay-static | 2 - pcr/libav-static/avprobe-static | 2 - pcr/libav-static/avserver-static | 2 - pcr/libav-static/ffmpeg-libav-static | 2 - pcr/libav-static/qt-faststart-libav-static | 2 - pcr/libav/PKGBUILD | 114 +++++++++++++++++++++++++++ pcr/libav/avconv-static | 2 + pcr/libav/avplay-static | 2 + pcr/libav/avprobe-static | 2 + pcr/libav/avserver-static | 2 + pcr/libav/ffmpeg-libav-static | 2 + pcr/libav/qt-faststart-libav-static | 2 + 14 files changed, 126 insertions(+), 132 deletions(-) delete mode 100644 pcr/libav-static/PKGBUILD delete mode 100644 pcr/libav-static/avconv-static delete mode 100644 pcr/libav-static/avplay-static delete mode 100644 pcr/libav-static/avprobe-static delete mode 100644 pcr/libav-static/avserver-static delete mode 100644 pcr/libav-static/ffmpeg-libav-static delete mode 100644 pcr/libav-static/qt-faststart-libav-static create mode 100644 pcr/libav/PKGBUILD create mode 100644 pcr/libav/avconv-static create mode 100644 pcr/libav/avplay-static create mode 100644 pcr/libav/avprobe-static create mode 100644 pcr/libav/avserver-static create mode 100644 pcr/libav/ffmpeg-libav-static create mode 100644 pcr/libav/qt-faststart-libav-static diff --git a/pcr/libav-static/PKGBUILD b/pcr/libav-static/PKGBUILD deleted file mode 100644 index 932213a3e..000000000 --- a/pcr/libav-static/PKGBUILD +++ /dev/null @@ -1,120 +0,0 @@ -# $Id$ -# Maintainer : Ionut Biru -# Contributor: Tom Newsom -# Contributor: Paul Mattal -# Maintainer (Parabola): Márcio Silva - -pkgbase=libav -pkgname=libav-static -pkgflag=-static -pkgver=0.8.4 -pkgrel=2 -pkgdesc='Complete and free Internet live audio and video broadcasting solution for GNU/Linux, with static library' -arch=( - i686 - x86_64 - mips64el -) -url="http://$pkgbase.org/" -license=( - GPL -) -depends=( - alsa-lib - bzip2 - gsm - lame - libpulse - libtheora - libva - libvorbis - libvpx - opencore-amr - openjpeg - rtmpdump - schroedinger - sdl - speex - x264 - xvidcore - zlib -) -makedepends=( - yasm - libvdpau -) -source=( - http://$pkgbase.org/releases/$pkgbase-$pkgver.tar.gz - avconv$pkgflag - avplay$pkgflag - avprobe$pkgflag - avserver$pkgflag - ffmpeg-$pkgname - qt-faststart-$pkgname -) -sha512sums=( - d402c7d586708e29b92340c4d03d8431fe607f0b88c2762cc95671786cdb9a7221968164b571e11086b53b2169f3a657c6106dc769c04a1a035429d011e72610 - 4a98c459df5f5bc5e42580b5f2081509719c057fdf55693b3554006b21adcaa29ee59ac0debfe0486fe1df8b9a937135d99e4ccc2df894a2634dd314eed93114 - afd2eadd0a0522cd3665ccd2b819f06a99cc50e3bdac3a0ef200861664c7084cc5990a3c1a860f2f0cc9f835c33c09cb5c57a25dbab0673eb74ba0f4c980e539 - 4e557c9eab6a97a3206df1dd49a516ae7be9490c894ff212cb5286ee097ae606c0b7a650c75278a71e4c91d0325eaee729937e1ae659ce0887c3c20ea8fe6333 - f0fa50711d19babf3f485189fb37b17a87f31849dad9cf6a7324601bdde0856fe47d55a4d82c6839c93f39e970edcbeecfbcb70a8b4e7570250fa4c7bb6975fb - 8101ec9c3e0a945ea89f85f81ace52ce67159661e3440668726a5767ba6250a91533494f1aa8fc30ee97ff9af5d64636d0f0dbcb2da862124d35b6b5ec571f5b - 0133fae31e1df586317deb7235f5e74d22abd007038f82b9df10ea3eea6748945c50a0bbe8f588e8a5d1b7874b3fa2639430e1efa32b0cfe16383a32751d3245 -) - -build() { - cd $pkgbase-$pkgver - - ./configure \ - --prefix=/opt/$pkgname \ - --enable-libmp3lame \ - --enable-libvorbis \ - --enable-libxvid \ - --enable-libx264 \ - --enable-libvpx \ - --enable-libtheora \ - --enable-libgsm \ - --enable-libspeex \ - --enable-postproc \ - --enable-shared \ - --enable-x11grab \ - --enable-libopencore_amrnb \ - --enable-libopencore_amrwb \ - --enable-libschroedinger \ - --enable-libopenjpeg \ - --enable-librtmp \ - --enable-libpulse \ - --enable-gpl \ - --enable-version3 \ - --enable-runtime-cpudetect \ - --disable-debug \ - --enable-static - - make - make tools/qt-faststart - make doc/ffmpeg.1 - make doc/av{play,server}.1 -} - -package() { - cd $pkgbase-$pkgver - make DESTDIR=$pkgdir install install-man - install -m755 -d $pkgdir/etc/ld.so.conf.d - install -m755 -d $pkgdir/usr/bin - install -m755 -d $pkgdir/usr/share/man/man1 - install -Dm755 tools/qt-faststart $pkgdir/opt/$pkgname/bin - ln -s /opt/$pkgname/bin/avconv $pkgdir/usr/bin/avconv$pkgflag - ln -s /opt/$pkgname/bin/avplay $pkgdir/usr/bin/avplay$pkgflag - ln -s /opt/$pkgname/bin/avprobe $pkgdir/usr/bin/avprobe$pkgflag - ln -s /opt/$pkgname/bin/avserver $pkgdir/usr/bin/avserver$pkgflag - ln -s /opt/$pkgname/bin/ffmpeg $pkgdir/usr/bin/ffmpeg-$pkgname - ln -s /opt/$pkgname/bin/qt-faststart $pkgdir/usr/bin/qt-faststart-$pkgname - ln -s /opt/$pkgname/share/man/man1/avconv.1 $pkgdir/usr/share/man/man1/avconv$pkgflag.1 - ln -s /opt/$pkgname/share/man/man1/avplay.1 $pkgdir/usr/share/man/man1/avplay$pkgflag.1 - ln -s /opt/$pkgname/share/man/man1/avprobe.1 $pkgdir/usr/share/man/man1/avprobe$pkgflag.1 - ln -s /opt/$pkgname/share/man/man1/avserver.1 $pkgdir/usr/share/man/man1/avserver$pkgflag.1 - ln -s /opt/$pkgname/share/man/man1/ffmpeg.1 $pkgdir/usr/share/man/man1/ffmpeg-$pkgname.1 - echo /opt/libav-static/lib > $pkgdir/etc/ld.so.conf.d/libav-static.conf -} - -# vim:set ts=2 sw=2 et: diff --git a/pcr/libav-static/avconv-static b/pcr/libav-static/avconv-static deleted file mode 100644 index 5f632bec0..000000000 --- a/pcr/libav-static/avconv-static +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/libav-static/lib /opt/libav-static/bin/avconv $* diff --git a/pcr/libav-static/avplay-static b/pcr/libav-static/avplay-static deleted file mode 100644 index 8db2da816..000000000 --- a/pcr/libav-static/avplay-static +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/libav-static/lib /opt/libav-static/bin/avplay $* diff --git a/pcr/libav-static/avprobe-static b/pcr/libav-static/avprobe-static deleted file mode 100644 index 44b730287..000000000 --- a/pcr/libav-static/avprobe-static +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/libav-static/lib /opt/libav-static/bin/avprobe $* diff --git a/pcr/libav-static/avserver-static b/pcr/libav-static/avserver-static deleted file mode 100644 index 642d4722c..000000000 --- a/pcr/libav-static/avserver-static +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/libav-static/lib /opt/libav-static/bin/avserver $* diff --git a/pcr/libav-static/ffmpeg-libav-static b/pcr/libav-static/ffmpeg-libav-static deleted file mode 100644 index 3f9ef6d52..000000000 --- a/pcr/libav-static/ffmpeg-libav-static +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/libav-static/lib /opt/libav-static/bin/ffmpeg $* diff --git a/pcr/libav-static/qt-faststart-libav-static b/pcr/libav-static/qt-faststart-libav-static deleted file mode 100644 index 8613091c4..000000000 --- a/pcr/libav-static/qt-faststart-libav-static +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/libav-static/lib /opt/libav-static/bin/qt-faststart $* diff --git a/pcr/libav/PKGBUILD b/pcr/libav/PKGBUILD new file mode 100644 index 000000000..6da6f14bd --- /dev/null +++ b/pcr/libav/PKGBUILD @@ -0,0 +1,114 @@ +# $Id$ +# Maintainer : Ionut Biru +# Contributor: Tom Newsom +# Contributor: Paul Mattal +# Maintainer (Parabola): Márcio Silva + +static=false +pkgbase=libav +if [[ $static == true ]] || [[ $static == 1 ]] || [[ $static == enable ]]; then + pkgname=libav-static + pkgflag=-static + staticdesc=', with static library' +elif [[ $static == false ]] || [[ $static == 0 ]] || [[ $static == disable ]]; then + pkgname=libav +fi +pkgver=0.8.4 +pkgrel=3 +pkgdesc="Complete and free Internet live audio and video broadcasting solution for GNU/Linux$staticdesc" +arch=( + i686 + x86_64 + mips64el +) +url="http://$pkgbase.org/" +license=( + GPL +) +depends=( + alsa-lib + bzip2 + gsm + lame + libpulse + libtheora + libva + libvorbis + libvpx + opencore-amr + openjpeg + rtmpdump + schroedinger + sdl + speex + x264 + xvidcore + zlib +) +makedepends=( + yasm + libvdpau +) +source=( + http://$pkgbase.org/releases/$pkgbase-$pkgver.tar.gz +) +sha512sums=( + d402c7d586708e29b92340c4d03d8431fe607f0b88c2762cc95671786cdb9a7221968164b571e11086b53b2169f3a657c6106dc769c04a1a035429d011e72610 +) + +build() { + cd $pkgbase-$pkgver + + ./configure \ + --prefix=/opt/$pkgname \ + --enable-libmp3lame \ + --enable-libvorbis \ + --enable-libxvid \ + --enable-libx264 \ + --enable-libvpx \ + --enable-libtheora \ + --enable-libgsm \ + --enable-libspeex \ + --enable-postproc \ + --enable-shared \ + --enable-x11grab \ + --enable-libopencore_amrnb \ + --enable-libopencore_amrwb \ + --enable-libschroedinger \ + --enable-libopenjpeg \ + --enable-librtmp \ + --enable-libpulse \ + --enable-gpl \ + --enable-version3 \ + --enable-runtime-cpudetect \ + --disable-debug \ + --enable-static + + make + make tools/qt-faststart + make doc/ffmpeg.1 + make doc/av{play,server}.1 +} + +package() { + cd $pkgbase-$pkgver + make DESTDIR=$pkgdir install install-man + install -m755 -d $pkgdir/etc/ld.so.conf.d + install -m755 -d $pkgdir/usr/bin + install -m755 -d $pkgdir/usr/share/man/man1 + install -Dm755 tools/qt-faststart $pkgdir/opt/$pkgname/bin + ln -s /opt/$pkgname/bin/avconv $pkgdir/usr/bin/avconv$pkgflag + ln -s /opt/$pkgname/bin/avplay $pkgdir/usr/bin/avplay$pkgflag + ln -s /opt/$pkgname/bin/avprobe $pkgdir/usr/bin/avprobe$pkgflag + ln -s /opt/$pkgname/bin/avserver $pkgdir/usr/bin/avserver$pkgflag + ln -s /opt/$pkgname/bin/ffmpeg $pkgdir/usr/bin/ffmpeg-$pkgname + ln -s /opt/$pkgname/bin/qt-faststart $pkgdir/usr/bin/qt-faststart-$pkgname + ln -s /opt/$pkgname/share/man/man1/avconv.1 $pkgdir/usr/share/man/man1/avconv$pkgflag.1 + ln -s /opt/$pkgname/share/man/man1/avplay.1 $pkgdir/usr/share/man/man1/avplay$pkgflag.1 + ln -s /opt/$pkgname/share/man/man1/avprobe.1 $pkgdir/usr/share/man/man1/avprobe$pkgflag.1 + ln -s /opt/$pkgname/share/man/man1/avserver.1 $pkgdir/usr/share/man/man1/avserver$pkgflag.1 + ln -s /opt/$pkgname/share/man/man1/ffmpeg.1 $pkgdir/usr/share/man/man1/ffmpeg-$pkgname.1 + echo /opt/libav$pkgflag/lib > $pkgdir/etc/ld.so.conf.d/libav$pkgflag.conf +} + +# vim:set ts=2 sw=2 et: diff --git a/pcr/libav/avconv-static b/pcr/libav/avconv-static new file mode 100644 index 000000000..5f632bec0 --- /dev/null +++ b/pcr/libav/avconv-static @@ -0,0 +1,2 @@ +#!/bin/bash +LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/libav-static/lib /opt/libav-static/bin/avconv $* diff --git a/pcr/libav/avplay-static b/pcr/libav/avplay-static new file mode 100644 index 000000000..8db2da816 --- /dev/null +++ b/pcr/libav/avplay-static @@ -0,0 +1,2 @@ +#!/bin/bash +LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/libav-static/lib /opt/libav-static/bin/avplay $* diff --git a/pcr/libav/avprobe-static b/pcr/libav/avprobe-static new file mode 100644 index 000000000..44b730287 --- /dev/null +++ b/pcr/libav/avprobe-static @@ -0,0 +1,2 @@ +#!/bin/bash +LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/libav-static/lib /opt/libav-static/bin/avprobe $* diff --git a/pcr/libav/avserver-static b/pcr/libav/avserver-static new file mode 100644 index 000000000..642d4722c --- /dev/null +++ b/pcr/libav/avserver-static @@ -0,0 +1,2 @@ +#!/bin/bash +LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/libav-static/lib /opt/libav-static/bin/avserver $* diff --git a/pcr/libav/ffmpeg-libav-static b/pcr/libav/ffmpeg-libav-static new file mode 100644 index 000000000..3f9ef6d52 --- /dev/null +++ b/pcr/libav/ffmpeg-libav-static @@ -0,0 +1,2 @@ +#!/bin/bash +LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/libav-static/lib /opt/libav-static/bin/ffmpeg $* diff --git a/pcr/libav/qt-faststart-libav-static b/pcr/libav/qt-faststart-libav-static new file mode 100644 index 000000000..8613091c4 --- /dev/null +++ b/pcr/libav/qt-faststart-libav-static @@ -0,0 +1,2 @@ +#!/bin/bash +LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/libav-static/lib /opt/libav-static/bin/qt-faststart $* -- cgit v1.2.3-2-g168b