New package: ffmpegthumbnailer-2.0.10

This commit is contained in:
jbu 2015-05-30 06:57:32 +02:00
parent 87ae98fd6c
commit 820f354f19
3 changed files with 31 additions and 0 deletions

View file

@ -2050,3 +2050,4 @@ libmaa.so.3 libmaa-1.3.2_1
libcodeblocks.so.0 codeblocks-13.12_1
liblept.so.4 leptonica-1.72_1
libtesseract.so.3 tesseract-ocr-3.02.02_1
libffmpegthumbnailer.so.4 ffmpegthumbnailer-2.0.10_1

View file

@ -0,0 +1 @@
ffmpegthumbnailer

View file

@ -0,0 +1,29 @@
# Template file for 'ffmpegthumbnailer'
pkgname=ffmpegthumbnailer
version=2.0.10
revision=1
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"
checksum=a3022c86aa3e704849e424147bd4a319867e18930d66a4a4c93c0baefdd1fc60
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
}
}