ffmpeg: enable static libraries too.

This commit is contained in:
Juan RP 2015-03-09 20:20:16 +01:00
parent 8c90be615b
commit d262c7c8a8
1 changed files with 11 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'ffmpeg'
pkgname=ffmpeg
version=2.6
revision=1
revision=2
short_desc="Decoding, encoding and streaming software"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
@ -42,12 +42,12 @@ do_configure() {
--enable-libcdio --enable-version3 --enable-runtime-cpudetect \
--enable-libmp3lame --enable-libvorbis --enable-libxvid \
--enable-libx264 --enable-libvpx --enable-libtheora \
--enable-shared --enable-x11grab --enable-librtmp \
--enable-shared --enable-static --enable-x11grab --enable-librtmp \
--enable-libpulse --enable-libfreetype --enable-libmodplug \
--enable-libspeex --enable-libcelt --enable-libass \
--disable-libopencore_amrnb --disable-libopencore_amrwb \
--disable-libschroedinger --disable-libopenjpeg \
--disable-static --enable-postproc ${_args}
--enable-postproc ${_args}
}
do_build() {
make ${makejobs}
@ -61,48 +61,56 @@ libavcodec_package() {
short_desc="FFmpeg codec library"
pkg_install() {
vmove "usr/lib/libavcodec.so.*"
vmove "usr/lib/libavcodec.a"
}
}
libavdevice_package() {
short_desc="FFmpeg device handling library"
pkg_install() {
vmove "usr/lib/libavdevice.so.*"
vmove "usr/lib/libavdevice.a"
}
}
libavformat_package() {
short_desc="FFmpeg file format library"
pkg_install() {
vmove "usr/lib/libavformat.so.*"
vmove "usr/lib/libavformat.a"
}
}
libavutil_package() {
short_desc="FFmpeg utility library"
pkg_install() {
vmove "usr/lib/libavutil.so.*"
vmove "usr/lib/libavutil.a"
}
}
libavfilter_package() {
short_desc="FFmpeg audio/video filter library"
pkg_install() {
vmove "usr/lib/libavfilter.so.*"
vmove "usr/lib/libavfilter.a"
}
}
libpostproc_package() {
short_desc="FFmpeg video postprocessing library"
pkg_install() {
vmove "usr/lib/libpostproc.so.*"
vmove "usr/lib/libpostproc.a"
}
}
libswscale_package() {
short_desc="FFmpeg video scaling library"
pkg_install() {
vmove "usr/lib/libswscale.so.*"
vmove "usr/lib/libswscale.a"
}
}
libswresample_package() {
short_desc="FFmpeg video resampling library"
pkg_install() {
vmove "usr/lib/libswresample.so.*"
vmove "usr/lib/libswresample.a"
}
}
ffmpeg-devel_package() {