36 lines
951 B
Text
Executable file
36 lines
951 B
Text
Executable file
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"
|
|
|
|
build() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
|
|
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
|
|
"
|