# Maintainer: PktSurf 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=/usr \ -DCMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES=/usr/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 "