[arch-commits] Commit in ffmpegthumbnailer/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue May 19 08:22:30 UTC 2020
Date: Tuesday, May 19, 2020 @ 08:22:29
Author: felixonmars
Revision: 386265
archrelease: copy trunk to staging-x86_64
Added:
ffmpegthumbnailer/repos/staging-x86_64/
ffmpegthumbnailer/repos/staging-x86_64/PKGBUILD
(from rev 386262, ffmpegthumbnailer/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: ffmpegthumbnailer/repos/staging-x86_64/PKGBUILD (from rev 386262, ffmpegthumbnailer/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-05-19 08:22:29 UTC (rev 386265)
@@ -0,0 +1,31 @@
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: boromil at gmail.com
+
+pkgname=ffmpegthumbnailer
+pkgver=2.2.2
+pkgrel=2
+pkgdesc="Lightweight video thumbnailer that can be used by file managers."
+url="https://github.com/dirkvdb/ffmpegthumbnailer"
+license=('GPL2')
+arch=('x86_64')
+depends=('ffmpeg' 'libjpeg' 'libpng')
+makedepends=('cmake')
+optdepends=('gvfs: support for gio uris')
+source=("https://github.com/dirkvdb/$pkgname/archive/$pkgver.tar.gz")
+sha1sums=('1b35a8afc94edd9135baef9e5259a40b4c0d4d79')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ mkdir -p build
+ cd build
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DENABLE_GIO=ON \
+ -DENABLE_THUMBNAILER=ON
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"/build
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list