void-packages/srcpkgs/ffmpegthumbnailer/template

30 lines
933 B
Bash
Raw Normal View History

2015-05-30 06:57:32 +02:00
# Template file for 'ffmpegthumbnailer'
pkgname=ffmpegthumbnailer
2016-03-02 15:12:24 +01:00
version=2.1.1
revision=1
2015-05-30 06:57:32 +02:00
build_style=cmake
hostmakedepends="cmake 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"
homepage="https://github.com/dirkvdb/${pkgname}"
distfiles="${homepage}/releases/download/${version}/${pkgname}-${version}.tar.bz2"
2016-03-02 15:12:24 +01:00
checksum=51bca83c0cfae283e8e2f323aa49e0c6ced206c5a068332b4be974d3905cf055
2015-05-30 06:57:32 +02:00
post_configure() {
# Patch wrong man1 path
sed -e 's;DESTINATION "/usr/man/man1";DESTINATION "/usr/share/man/man1";' \
-i ${wrksrc}/build/cmake_install.cmake
}
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
}
}