void-packages/srcpkgs/ffmpegthumbnailer/template
Jürgen Buchmüller 5aa9ce6427
ffmpegthumbnailer: update to 2.2.1
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2019-09-30 11:37:27 +02:00

28 lines
866 B
Bash

# Template file for 'ffmpegthumbnailer'
pkgname=ffmpegthumbnailer
version=2.2.1
revision=1
build_style=cmake
hostmakedepends="pkg-config"
makedepends="libpng-devel libjpeg-turbo-devel ffmpeg-devel"
depends="ffmpeg"
short_desc="Lightweight video thumbnailer"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2.0-or-later"
homepage="https://github.com/dirkvdb/${pkgname}"
distfiles="${homepage}/releases/download/${version}/${pkgname}-${version}.tar.bz2"
checksum=c71d0aeb0558f0b72d951b36da9bb76bfc2e8780715dd7744a4d1b8eca16c8f1
post_install() {
vinstall dist/ffmpegthumbnailer.thumbnailer 644 usr/share/thumbnailers
}
ffmpegthumbnailer-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove "usr/lib/*.so"
vmove usr/include
vmove usr/lib/pkgconfig
}
}