Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ItachiSan:archlinux
ffmpeg
PKGBUILD
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File PKGBUILD of Package ffmpeg
# Maintainer: Giovanni 'ItachiSan' Santini <giovannisantini93@yahoo.it> # Contributor: Maxime Gauduin <alucryd@archlinux.org> # Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> # Contributor: Ionut Biru <ibiru@archlinux.org> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> # Contributor: Paul Mattal <paul@archlinux.org> pkgname=ffmpeg pkgver=6.0 pkgrel=0 epoch=1 pkgdesc='Complete solution to record, convert and stream audio and video - OBS compliant version' arch=(x86_64) url=https://ffmpeg.org/ license=(GPL3) # Modified PKGBUILD to be compliant with openSUSE legal standards. # See the issue here: https://github.com/openSUSE/open-build-service/issues/2601 # Packages to be removed are found here: # https://build.opensuse.org/package/view_file/multimedia:libs/ffmpeg-5/ffmpeg-5.spec?expand=1 # in the "bcond_with" prefixed with BUILD_ORIG. # Packages to be removed are: # amf_sdk: done (makedepends) # cuda: done (build flag) # fdk_aac_dlopen: none, seems # opencore: done (depends and build flag) # x264: done (depends and build flag) # x265: done (depends and build flag) # xvid: done (depends and build flag) # Do not re-add: #libx264.so #libx265.so #libxvidcore.so #opencore-amr depends=( alsa-lib aom bzip2 fontconfig fribidi gmp gnutls gsm jack lame libass.so libavc1394 libbluray.so libbs2b.so libdav1d.so libdrm libfreetype.so libgl libiec61883 libjxl.so libmodplug libopenmpt.so libpulse librav1e.so libraw1394 librsvg-2.so libsoxr libssh libtheora libva.so libva-drm.so libva-x11.so libvdpau libvidstab.so libvorbisenc.so libvorbis.so libvpx.so libwebp libx11 libxcb libxext libxml2 libxv libzimg.so ocl-icd onevpl openjpeg2 opus sdl2 speex srt svt-av1 v4l-utils vmaf vulkan-icd-loader xz zlib ) # Do not re-add: #amf-headers makedepends=( avisynthplus clang ffnvcodec-headers git ladspa mesa nasm opencl-headers vulkan-headers ) optdepends=( 'avisynthplus: AviSynthPlus support' 'intel-media-sdk: Intel QuickSync support (legacy)' 'onevpl-intel-gpu: Intel QuickSync support' 'ladspa: LADSPA filters' 'nvidia-utils: Nvidia NVDEC/NVENC support' ) provides=( libavcodec.so libavdevice.so libavfilter.so libavformat.so libavutil.so libpostproc.so libswresample.so libswscale.so ) source=( "$pkgname-$pkgver.tar" "https://gitlab.archlinux.org/archlinux/packaging/packages/ffmpeg/-/raw/main/add-av_stream_get_first_dts-for-chromium.patch" ) b2sums=('SKIP' '555274228e09a233d92beb365d413ff5c718a782008075552cafb2130a3783cf976b51dfe4513c15777fb6e8397a34122d475080f2c4483e8feea5c0d878e6de') validpgpkeys=(DD1EC9E8DE085C629B3E1846B18E8928B3948D64) # Michael Niedermayer <michael@niedermayer.cc> prepare() { cd $pkgname-$pkgver # FS#79281: fix assembling with binutil as >= 2.41 git cherry-pick -n effadce6c756247ea8bae32dc13bb3e6f464f0eb # FS#77813: fix playing ogg files with mplayer git cherry-pick -n cbcc817353a019da4332ad43deb7bbc4e695d02a patch -Np1 -i ../add-av_stream_get_first_dts-for-chromium.patch # https://crbug.com/1251779 # use non-deprecated nvenc GUID for conftest git cherry-pick -n 03823ac0c6a38bd6ba972539e3203a592579792f git cherry-pick -n d2b46c1ef768bc31ba9180f6d469d5b8be677500 # Fix texinfo build (to remove in 6.1) git cherry-pick -n f01fdedb69e4accb1d1555106d8f682ff1f1ddc7 } build() { cd $pkgname-$pkgver # Removed flags #--enable-amf \ #--enable-cuda-llvm \ #--enable-libopencore_amrnb \ #--enable-libopencore_amrwb \ #--enable-libx264 \ #--enable-libx265 \ #--enable-libxvid \ ./configure \ --prefix=/usr \ --disable-debug \ --disable-static \ --disable-stripping \ --enable-avisynth \ --enable-cuda-llvm \ --enable-lto \ --enable-fontconfig \ --enable-gmp \ --enable-gnutls \ --enable-gpl \ --enable-ladspa \ --enable-libaom \ --enable-libass \ --enable-libbluray \ --enable-libbs2b \ --enable-libdav1d \ --enable-libdrm \ --enable-libfreetype \ --enable-libfribidi \ --enable-libgsm \ --enable-libiec61883 \ --enable-libjack \ --enable-libjxl \ --enable-libmodplug \ --enable-libmp3lame \ --enable-libopenjpeg \ --enable-libopenmpt \ --enable-libopus \ --enable-libpulse \ --enable-librav1e \ --enable-librsvg \ --enable-libsoxr \ --enable-libspeex \ --enable-libsrt \ --enable-libssh \ --enable-libsvtav1 \ --enable-libtheora \ --enable-libv4l2 \ --enable-libvidstab \ --enable-libvmaf \ --enable-libvorbis \ --enable-libvpl \ --enable-libvpx \ --enable-libwebp \ --enable-libxcb \ --enable-libxml2 \ --enable-libzimg \ --enable-nvdec \ --enable-nvenc \ --enable-opencl \ --enable-opengl \ --enable-shared \ --enable-version3 \ --enable-vulkan make make tools/qt-faststart make doc/ff{mpeg,play}.1 } package() { make DESTDIR="${pkgdir}" -C $pkgname-$pkgver install install-man install -Dm 755 $pkgname-$pkgver/tools/qt-faststart "${pkgdir}"/usr/bin/ } # vim: ts=2 sw=2 et:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor