void-packages/srcpkgs/ffmpegthumbnailer/template

29 lines
866 B
Bash

# Template file for 'ffmpegthumbnailer'
pkgname=ffmpegthumbnailer
version=2.2.2
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=1cb24059c38223f657b300c84dd80491b7040d4b69471c4fea69be862bc99b5b
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
}
}