36 lines
948 B
Text
Executable file
36 lines
948 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/2.2.2.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
|
|
"
|