desktop/ffmpegthumbs/PKGBUILD

33 lines
793 B
Bash
Raw Normal View History

source ../kdeapps.conf
pkgname=ffmpegthumbs
pkgver=${_kdever}
pkgrel=3
pkgdesc='FFmpeg-based thumbnail creator for video files'
url='https://projects.kde.org/projects/kde/kdemultimedia/ffmpegthumbs'
arch=('x86_64')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kde-uninstall' 'kde-applications' 'kdemultimedia')
depends=('kio' 'ffmpeg')
makedepends=('cmake' 'extra-cmake-modules')
options=('debug')
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
build() {
2015-08-20 03:25:41 +08:00
cd "${srcdir}"
mkdir build
cd build
2015-08-20 03:25:41 +08:00
cmake ../ffmpegthumbs-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DKDE4_BUILD_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
2015-08-20 03:25:41 +08:00
cd "${srcdir}"/build
make DESTDIR="${pkgdir}" install
}