aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-28 22:46:44 -0300
committerFrancesco Colista <fcolista@alpinelinux.org>2019-05-29 06:50:01 +0000
commite1e5de92ab8be15d1bce4b258f3064787b4f74b7 (patch)
treedab954830c498ab7ab311933dffb15be1790d29f /community
parentc8272ff8b62e97ce1e7633754981bf4adb2141e6 (diff)
downloadaports-e1e5de92ab8be15d1bce4b258f3064787b4f74b7.tar.bz2
aports-e1e5de92ab8be15d1bce4b258f3064787b4f74b7.tar.xz
community/ffmpeg: modernize
Diffstat (limited to 'community')
-rw-r--r--community/ffmpeg/APKBUILD6
1 files changed, 1 insertions, 5 deletions
diff --git a/community/ffmpeg/APKBUILD b/community/ffmpeg/APKBUILD
index c0c6d9a3e8..7887778008 100644
--- a/community/ffmpeg/APKBUILD
+++ b/community/ffmpeg/APKBUILD
@@ -12,14 +12,13 @@ license="LGPL-2.1-or-later GPL-2.0-or-later"
options="!check" # tests/data/hls-lists.append.m3u8 fails
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
makedepends="gnutls-dev lame-dev libvorbis-dev xvidcore-dev zlib-dev libvdpau-dev
- imlib2-dev x264-dev libtheora-dev coreutils bzip2-dev perl-dev libvpx-dev
+ imlib2-dev x264-dev libtheora-dev coreutils bzip2-dev perl-dev
libvpx-dev sdl2-dev libxfixes-dev libva-dev alsa-lib-dev
v4l-utils-dev yasm opus-dev x265-dev libass-dev"
checkdepends="rsync"
source="https://ffmpeg.org/releases/ffmpeg-$pkgver.tar.xz
0001-libavutil-clean-up-unused-FF_SYMVER-macro.patch
"
-builddir="$srcdir/$pkgname-$pkgver"
# secfixes:
# 4.0.2-r0:
@@ -71,7 +70,6 @@ build() {
x86 | arm*) _asm="--disable-asm" ;;
esac
- cd "$builddir"
./configure \
--prefix=/usr \
--enable-avresample \
@@ -106,7 +104,6 @@ build() {
# https://ffmpeg.org/fate.html
check() {
- cd "$builddir"
./configure \
--samples=fate-suite/
make fate-rsync
@@ -115,7 +112,6 @@ check() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install install-man
install -D -m755 tools/qt-faststart "$pkgdir/usr/bin/qt-faststart"
# strip --strip-debug "$pkgdir"/usr/lib/*.a