Created
August 26, 2021 17:58
-
-
Save dausruddin/f86ec571dcb1daddb3ea10fd8711fe40 to your computer and use it in GitHub Desktop.
Install this for displaying embedded cover are picture in your video in Dolphin.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you are using paru, just do `paru -Ui` | |
Then open Dolphin, go to Configure Dolphin > Preview, and tick `Video filed (kffmpegthumbnailer) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_pkgname=kffmpegthumbnailer | |
pkgname=$_pkgname-svn | |
pkgver=r493 | |
pkgrel=1 | |
pkgdesc='a video thumbnailer for kde based on ffmpegthumbnailer' | |
arch=('x86_64') | |
url='https://github.com/dirkvdb/ffmpegthumbnailer/tree/master/kffmpegthumbnailer' | |
depends=('ffmpeg' 'ffmpegthumbnailer' 'extra-cmake-modules') | |
makedepends=('subversion' 'cmake') | |
license=('MIT') | |
source=("svn+https://github.com/dirkvdb/ffmpegthumbnailer/trunk/kffmpegthumbnailer") | |
sha256sums=('SKIP') | |
pkgver() { | |
cd "$_pkgname" | |
local ver="$(svnversion)" | |
printf "r%s" "${ver//[[:alpha:]]}" | |
} | |
build() { | |
cd "$_pkgname" | |
cmake . -DCMAKE_INSTALL_PREFIX=/usr | |
make | |
} | |
package() { | |
cd "$_pkgname" | |
make DESTDIR="${pkgdir}/" install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment