smlinux/extra/ffmpegthumbnailer/ffmpegthumbnailer.SMBuild
PktSurf b84f8a4a14 Upgraded base/chrony to version 4.4
Upgraded base/cmake to version 3.27.7
Upgraded base/glib to 2.78.1
Upgraded base/libvpx to 1.10.0
Added AMDGPU and BPF build targets to base/llvm
Added a patch to extra/ffmpegthumbnailer for fixing a build error against ffmpeg 5.X versions
Upgraded gtk/libwnck3 to 3.36.0
Upgraded heavybuilds/firefox to 115.5.0
Added some patches to base/wpa-supplicant
Added glslang to xorg
2023-12-10 23:23:41 +05:30

42 lines
No EOL
1.2 KiB
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=ffmpegthumbnailer
version=2.2.2
build=1sml
homepage="https://github.com/dirkvdb/ffmpegthumbnailer/"
download="https://github.com/dirkvdb/ffmpegthumbnailer/archive/refs/tags/$version.tar.gz"
desc="Utility to create video thumbnails for file managers"
requires="cmake libpng libjpeg-turbo ffmpeg"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
applypatch $srcdir/ffmpeg5.patch
}
build() {
mkdir -p smbuild && cd smbuild
cmake .. \
-DCMAKE_INSTALL_PREFIX= \
-DCMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES=/include \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release \
-DENABLE_GIO=True \
-DENABLE_THUMBNAILER=True
make
make install DESTDIR=$pkg
cp ../COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
cbfb8ce4eebb0331260b060592322566075862182bc6f4b7410e686b4260395ea64ab341330212bcd08b1889f4fc9da13bf50b45ce800466d5d1e05a08cc722e ffmpegthumbnailer-2.2.2.tar.lz
f4a28c49ab4b6c3d740d9c0df47e670cfbeff77889f149762d8509dcf10b3fe67107f00615aadef1d7ee1029f99aaed415b1bbf7dc9b14ac332c17b85e79608c ffmpeg5.patch
"