summarylogtreecommitdiffstats
path: root/PKGBUILD
AgeCommit message (Collapse)Author
2018-07-21Temporarily disable libvmaf due to compile errorDaniel Bermond
ffmpeg fails to build with the newly released vmaf 1.3.7. Disabling vmaf support until upstream ffmpeg fixes this.
2018-06-27depends: switch libaom to aom (aom is now in official repositories)Daniel Bermond
References ---------- https://www.archlinux.org/packages/extra/x86_64/aom/
2018-06-26depends: switch aom-git to libaomDaniel Bermond
libaom 1.0.0 was released and now upstream ffmpeg is accepting to compile with this stable version, which was not possible with libaom 0.1.0. This will remove the dependency on a -git package, which is good and desirable when possible.
2018-06-16Explicitly disable mbedtlsDaniel Bermond
In order to follow the official repository package, gnutls is used for providing https support. Upstream ffmpeg can use only one library at configure time to provide https support, and we have been explicitly disabling all them (except for gnutls, of course) in previous package commits. References ---------- http://git.videolan.org/?p=ffmpeg.git;a=commit;h=62f5c9d68bf6e0f2c1a47cf002629a70a82274fc
2018-06-16Remove -lpthread from --extra-libsDaniel Bermond
-lpthread was previously required for building with libaom support. Currently it seems that upstream aom git master has handled this missing library to its linkage, and this option is not needed here anymore. References ---------- https://aur.archlinux.org/cgit/aur.git/commit/?h=ffmpeg-full-git&id=a57553ab08c7af23735921498c4393e320b0553b
2018-06-16depends: change dependencies for opencl and openglDaniel Bermond
opencl: opencl-icd-loader was replaced by ocl-icd. Although ocl-icd currently provides opencl-icd-loader, let's use the newer approach by depending directly on ocl-icd. opengl: it seems that the best approach for depending on libGL is to use libgl instead of mesa. Currently it is provided by libglvnd package (or by nvidia-340xx-utils for legacy nvidia users).
2018-06-05New upstream option: --enable-libtensorflowDaniel Bermond
References ---------- http://git.videolan.org/?p=ffmpeg.git;a=commit;h=d8c0bbb0aa45eed61b159c4842473fe27e77ac12
2018-05-12New upstream option: --enable-vapoursynthDaniel Bermond
Note: this creates a circular dependency between ffmpeg and vapoursynth, which I do not consider to be a good thing when dealing with AUR (user controlled) packages. Let's use it since it's currently working fine. References ---------- http://git.videolan.org/?p=ffmpeg.git;a=commit;h=7074a7ccd9a4d4e445252780fd182aa0b3778b79
2018-05-09makedepends_x86_64: switch back vmaf-git to vmafDaniel Bermond
We previously needed to use vmaf version git master to compile, and it was necessary to change vmaf dependency to vmaf-git. Otherwise, a compile error would appear. It now compiles fine with the latest vmaf stable release version 1.3.4. References ---------- https://aur.archlinux.org/cgit/aur.git/commit/?h=ffmpeg-full-git&id=5ebce0c7d4eadc99db17b79f56053bdb02e567e7
2018-05-09depends: change xlib dependencies to match uptream changesDaniel Bermond
Enabling xlib requires libXv.so, libX11.so and libXext.so. References ---------- http://git.videolan.org/?p=ffmpeg.git;a=commit;h=0736f32a4facddbd953977ca614a3ee6d8a6e1d7
2018-05-02depends_x86_64: remove nvidia-utils (now provided by cuda)Daniel Bermond
nvidia-utils is now a dependency for cuda, so we do not need to specify it here anymore. Although I prefer to explicitly list dependencies, nvidia-utils is a cuda component because it provides 'libcuda.so.1'. So it makes sense to let it only with cuda. References ---------- https://bugs.archlinux.org/task/58408 https://git.archlinux.org/svntogit/community.git/commit/trunk?h=packages/cuda&id=b9d76ab707c8deb25cd9734e99e15e965f05f570
2018-04-20pkgdesc: update description to match official repositoriesDaniel Bermond
Also on this commit: - Cosmetic changes: place prepare() before pkgver()
2018-04-16Move intel-media-sdk from makedepends_x86_64 to depends_x86_64Daniel Bermond
Since intel-media-sdk is needed not only for building with Intel QSV support but also for Intel QSV to work during runtime, it makes sense to stay in depends as a needed component. Forgot to do it in previous commit. Another option instead of placing it only in depends would be to place it in makedepends + optdepends because ffmpeg runs without intel-media-sdk installed (libmfx.a is a static dispatcher library that calls other sdk components at runtime). Currently I'm sticking with the depends-only solution.
2018-04-15makedepends: switch libmfx to intel-media-sdkDaniel Bermond
intel-media-sdk, the open source version of intel-media-server-studio, has now reached an acceptable stable release that can be used here to provide libmfx. This brings 2 important results: 1) The experimental state can be removed from the Intel QSV support, since intel-media-sdk also provides libmfxhw64 and plugins for hardware accelerated decode and encode. 2) Finally we can get rid of the unsecure rpath in ffmpeg binaries! intel-media-sdk is now a makedepend, instead of an optdepend as previously. If fact, I should have switched it to intel-media-server-studio in optdepends some time ago when it has changed to the open source version, but I letted this way while waiting for an acceptable stable release of, which taked a while to happen. Users should remove the libmfx{-git} package and stay only with intel-media-sdk{-git} package, since the former is the complete solution with the dispatcher library (libmfx.a), libmfxhw64 and plugins. Note1: ------ For the proper use of Intel QSV in ffmpeg the user must set the vaapi/libva driver to 'iHD' through the 'LIBVA_DRIVER_NAME' environment variable. The 'iHD' vaapi/libva driver is provided by intel-media-driver{-git} package, which at the current time is already a dependency of intel-media-sdk{-git} package. Setting the vaapi/libva driver to 'iHD' can be done, for example, by uncommenting the proper line in '/etc/profile.d/intel-media.sh'. Note2: ------ intel-media-sdk is currently at a pre-release state. This can lead to bugs when using Intel QSV. Note3: ------ Not all Intel platforms are supported by intel-media-sdk. At the current time, it claims to support only 5th and 6th Generation Intel® Core™ processors (Broadwell and Skylake). For details, please see the MediaSDK and media-driver documentation: - https://github.com/Intel-Media-SDK/MediaSDK/ - https://github.com/intel/media-driver/ Note4: ------ Intel QSV is available in x86_64 systems only. Also in this commit: -------------------- - depends: moved 'libbs2b' and 'sndio' from the AUR section to the official repositories section, since they are now at the [community] official repository.
2018-03-30New upstream options: --enable-libaom and --enable-libsrtDaniel Bermond
Note ---- Currently, using -lpthread is needed for compiling with libaom. References ---------- http://git.videolan.org/?p=ffmpeg.git;a=commit;h=c438899a706422b8362a13714580e988be4d638b http://git.videolan.org/?p=ffmpeg.git;a=commit;h=a2fc8dbae85339d1b418d296f2982b6c04c53c57
2018-03-13Temporarily disable libopencv due to upstream compile errorDaniel Bermond
There is a know upstream ffmpeg compile error when enabling libopencv. It should compile opencv code in C++ mode but it is compiling in C mode. Disabling libopencv support while a fix is not provided either by upstream ffmpeg or by opencv repository package. References: ----------- http://trac.ffmpeg.org/ticket/7059 https://github.com/opencv/opencv/issues/10963 https://bugs.archlinux.org/task/57811
2018-03-07Readd libflite by using the improved flite1-patched packgeDaniel Bermond
libflite was temporarily disabled in ffmpeg-full-git by a previous commit due to an issue in AUR package flite1 that was exposed by upstream ffmpeg git commit 6dfcbd8. The linking in AUR package flite1 needs to be fixed, otherwise ffmpeg versions 3.5 and later (and the current ffmpeg git master) will not compile, failing to detect libflite. flite1 can also have other improvements, as follows. flite version 1 is an old software from 2009. Since there, many issues have been discovered, including the security issue CVE-2014-0027. There are patches out there that addresses many of the discovered issues, and also adds some fixes and enhancements. I have already asked the flite1 AUR package maintainer to patch it in order to fix these issues, but after almost five months I got no response from him. Now I think that it's more than the time to readd the --enable-libflite option by using the fixed AUR flite1-patched package. References: ----------- http://git.videolan.org/?p=ffmpeg.git;a=commit;h=6dfcbd80ad446ff163b47f2bf432bbf706436ea8 https://aur.archlinux.org/cgit/aur.git/commit/?h=ffmpeg-full-git&id=5fa7781fe4fe6e074af0eb34b24b0279efb2e94d
2018-03-06Correctly disable libvmaf on i686 buildsDaniel Bermond
Previous commit was missing this build options part. References: ----------- https://aur.archlinux.org/cgit/aur.git/commit/?h=ffmpeg-full-git&id=80181d111a0a7c0045007627dd68d0da610eba48
2018-03-06libvmaf: move vmaf from makedepends to makedepends_x86_64Daniel Bermond
It seems that vmaf needs x86_64. As a result, i686 builds will not have libvmaf enabled. References: ----------- https://aur.archlinux.org/cgit/aur.git/commit/?h=vmaf-git&id=6b0252294ad37c2435622a4ba31e5b5af33b2f2f
2018-03-06Improve options for i686Daniel Bermond
Removed cuvid and ffnvcodec from the x86_64 specific options (it can be build with them on i686). Only cuda_sdk and libnpp seems to be x86_64 specific (at least from the build perspective). also on this commit: - pkgver(): switched cut command to awk - improved command to detect presence of nvidia-340xx-utils - removed nvidia-304xx-utils from being searched (not maintained anymore, was dropped from official repositories and currently there is no AUR package for it). - moved the nvcc path configuration to a prepare() function - cosmetic changes
2018-03-05Upstream option rename: --enable-cuda to --enable-ffnvcodecDaniel Bermond
References ---------- http://git.videolan.org/?p=ffmpeg.git;a=commit;h=5787908e8c63bcb9206a59961031bdb54682ab0a
2018-02-27makedepends: add ffnvcodec-headers to match upstream changesDaniel Bermond
Upstream ffmpeg stopped to provide the nvidia headers on their internal source tree. Now they require it to be installed as an external separated package. References ---------- http://git.videolan.org/?p=ffmpeg.git;a=commit;h=27cbbbb33f259de7c795d2b75edf7b240f0f82e6
2018-02-25New upstream option: --enable-libcodec2Daniel Bermond
References ---------- http://git.videolan.org/?p=ffmpeg.git;a=commit;h=f958f431eced497f42220d8f9890506215742512
2018-02-12Add NewTek's libndi to the build (with --enable-libndi_newtek)Daniel Bermond
Package ndi-sdk has now an automated source download process (no more manual source download required, at least currently). It will be necessary to remove support for NewTek's libndi if package ndi-sdk will break this automated source download process in the future.
2018-02-12makedepends: switch libvmaf-git to vmaf-git (package was renamed)Daniel Bermond
2018-02-03depends: switch back zimg-git to zimgDaniel Bermond
A while ago it was needed zimg version git master to compile, and it was necessary to change zimg dependency to zimg-git. Otherwise, a compile error would appear. It now compiles fine with the latest zimg stable release version 2.7.3 from the official repositories. References ---------- https://aur.archlinux.org/cgit/aur.git/commit/?h=ffmpeg-full-git&id=55f217543e8d37587f280b7193a13bfcc41b7328
2017-12-26New upstream options: --enable-{lv2,nvdec,v4l2-m2m}Daniel Bermond
Also, explicitly added --disable-libtls.
2017-12-22depends: temporarily switch libvmaf to libvmaf-gitDaniel Bermond
ffmpeg git master currently requires libvmaf git master to compile. Currently it does not compile with libvmaf stable release version. As soon as ffmpeg compiles with libvmaf stable release version it will be switched back to libvmaf dependency.
2017-12-06depends: temporarily switch zimg to zimg-gitDaniel Bermond
ffmpeg git master currently requires zimg git master to compile. Currently it does not compile with zimg stable release version. As soon as ffmpeg compiles with zimg stable release version it will be switched back to zimg dependency.
2017-11-09Fix build in i686 architectureDaniel Bermond
2017-11-09Disable rpathDaniel Bermond
It should be used only to allow installing libraries in paths not part of the dynamic linker search path.
2017-11-02Disable openssl (upstream now prevents using gnutls + openssl)Daniel Bermond
gnutls and openssl cannot be used together anymore. Otherwise, configure script will fail with the following message: "GnuTLS and OpenSSL must not be enabled at the same time" Now it's necessary to use only one of them. Quote directly from ffmpeg upstream commit that originated this: "Both libraries provide similar functionality and cannot be used together. When both are enabled one is used and the other ignored arbitrarily. Error out instead and have the user choose which library to use." Since ffmpeg from Arch official repositories uses gnutls, let's stick with it. References ---------- http://git.videolan.org/?p=ffmpeg.git;a=commit;h=4600b0619afc58b58de1a21d7a2c472e0d788282 http://git.videolan.org/?p=ffmpeg.git;a=commit;h=ed434be106a4615e0419b3ac7664220741afda2d
2017-10-24New upstream option: --enable-rkmppDaniel Bermond
RockChip Media Process Platform (MPP). References ---------- http://git.videolan.org/?p=ffmpeg.git;a=commit;h=f3aefb3e1c3c6afeaca889d4fd2648458fd74dfe
2017-10-24Upstream option switch: --enable-jack to --enable-libjackDaniel Bermond
References ---------- http://git.videolan.org/?p=ffmpeg.git;a=commit;h=a2a7b02fbd9d96ff12280cfa03bbce6b8c797932
2017-10-24Temporarily disable libflite due to flite1 package issueDaniel Bermond
flite1 package has some problems that were exposed by upstream ffmpeg git commit 6dfcbd8. The linking in flite1 needs to be fixed, otherwise ffmpeg git master will not compile, failing to detect libflite. I have already asked the flite1 package maintainer to patch it in order to fix the issue, also pointing the directions. Until this moment I got no response from him, but let's give some more time to see if he fixes it, at least one month counting from my request. References ---------- http://git.videolan.org/?p=ffmpeg.git;a=commit;h=6dfcbd80ad446ff163b47f2bf432bbf706436ea8 https://aur.archlinux.org/packages/flite1/
2017-10-15cuda 9.0 rebuildDaniel Bermond
2017-10-11New upstream options: --enable-libxml2 and --enable-libdrmDaniel Bermond
2017-09-13Added Intel Media SDK plugins path for hw-accelerated QSV encodersDaniel Bermond
This seems to not work currently with the Intel binary version of Media SDK. But the correct is to provide this path for ffmpeg to try the hardware accelerated encoders before falling back to software mode. Only software mode seems to be working currently, and then intel-media-sdk optdepend will still remain marked as experimental.
2017-09-13Readded cuda-sdk after cuda fix for glibc 2.26Daniel Bermond
References ---------- https://aur.archlinux.org/cgit/aur.git/commit/?h=ffmpeg-full-git&id=f37bcddcbca31ed3b2be95e2cfa422f2e2f5b4d9 https://git.archlinux.org/svntogit/community.git/commit/trunk?h=packages/cuda&id=ae90e4d243510e9565e66e9e8e08c509f5719fe0 https://bugs.archlinux.org/task/55580
2017-09-09Temporarily disable cuda-sdk option due to glibc 2.26 compile errorDaniel Bermond
The newly released glibc 2.26 is currently producing a compile error with vf_scale_cuda. Disabling cuda_sdk makes it to build fine. This option will be enabled again when there is an upstream fix. References ---------- https://trac.ffmpeg.org/ticket/6648
2017-09-09Removed --enable-videotoolboxDaniel Bermond
This option is Apple (MacOSX) specific. Recent upstream changes makes the build to fail when using it on Linux. References ---------- http://git.videolan.org/?p=ffmpeg.git;a=commit;h=260ea7a7b395891b12eeddbd9042e0a4d3c72db9 http://git.videolan.org/?p=ffmpeg.git;a=commit;h=1cf23e3fddd1a804281b9ffc1b80c62151a46753
2017-09-03New upstream options: --enable-alsa, --enable-jack and --enable-sndioDaniel Bermond
ALSA, JACK and sndio audio backends were already enabled in the build. These new upstream options now only makes a strict specification of them. References ---------- http://git.videolan.org/?p=ffmpeg.git;a=commit;h=b447629093d75f18d0a8fc44ec768022322b2182 http://git.videolan.org/?p=ffmpeg.git;a=commit;h=b7fbb3516a99ebfa511143bdd8f63d8bd0d89385 http://git.videolan.org/?p=ffmpeg.git;a=commit;h=e090e750bac863f066515cff6fd363c157ea3c21
2017-09-03Added note about enabling new upstream option --enable-libndi_newtekDaniel Bermond
This instructs the user on how to enable support for the new upstream option '--enable-libndi_newtek'. Unfortunately, the package 'ndi-sdk' needs registration at the upstream webiste and manual download to be built. This breaks ffmpeg-full-git automated builds by AUR helpers. In this way, libndi support in ffmpeg-full-git should be manually enabled by the user too. References ---------- http://git.videolan.org/?p=ffmpeg.git;a=commit;h=2634927fe30ea4a821db515c6b7f77458f5c4bc5
2017-08-25opencv 3.3.0 rebuildDaniel Bermond
2017-08-16libvmaf 1.3.1 rebuildDaniel Bermond
2017-08-16x265 2.5 rebuildDaniel Bermond
2017-07-18libmfx 1.23 rebuildDaniel Bermond
2017-07-16New upstream option: --enable-libvmafDaniel Bermond
References: ----------- http://git.videolan.org/?p=ffmpeg.git;a=commit;h=615479d51c6a76275c114888b5600b929309f4c4 http://git.videolan.org/?p=ffmpeg.git;a=commit;h=d8f198263975f45fab1f9b44f870131abc1d6e36
2017-07-16PIE static libraries rebuild / Recent toolchain changes rebuildDaniel Bermond
The recent toolchain changes (PIE and SSP enabled by default in gcc) makes the need to rebuild packages that uses static libraries as makedepends. A static library that is in makedepends of ffmpeg-full-git triggered a rebuild (libmfx). Also, packages that uses hardening-wrapper will need a rebuild without it since it is being dropped from official repositories due to the recent toolchain changes. The ffmpeg from oficial repositories uses hardening-wrapper. Although hardening-wrapper was not being used in ffmpeg-full-git, it seems a good practice to rebuild against the recent toolchain changes. References: ----------- https://lists.archlinux.org/pipermail/arch-dev-public/2017-July/028909.html https://www.archlinux.org/todo/pie-rebuild/ https://www.archlinux.org/todo/hardening-wrapper-removal/
2017-07-11Atempt to fix FS#54758Daniel Bermond
This commit in attempt to fix the issue described in bug report FS#54758 (optdepends are displayed in red in some AUR packages). A commit seems necessary to regenerate the AUR database. References: ----------- https://bugs.archlinux.org/task/54758 https://bbs.archlinux.org/viewtopic.php?id=228091