https://bugs.kde.org/show_bug.cgi?id=522678

--- Comment #7 from Andras H. <[email protected]> ---
I'm unsure whether it's pertinent to mention, but in case the 
implementation takes time, I whipped up a little snippet to make the 
same changes the PR does. Granted, a local fix is fickle and not 
ideal, but I figured it might be helpful if anybody needs it, and 
it's a fairly simple change. 

Additionally, I tried to make it so that changes aren't made if the 
PR is merged, but it's a very rudimentary check, and far from 
fool-proof. My apologies if this is outside the scope of this 
discussion.

---

git clone
https://gitlab.archlinux.org/archlinux/packaging/packages/kfilemetadata.git &&
cd ./kfilemetadata;
makepkg -so --skippgpcheck;
perl -i -pe 's/(const QStringList supportedMimeTypes = \{)(?!\n   
QStringLiteral\("video\/matroska"\))/$1\n   
QStringLiteral("video\/matroska"),/mi'
./src/kfilemetadata-6.28.0/src/extractors/ffmpegextractor.cpp;
perl -i -pe 's/(    "MimeTypes" : \{)(?!\n        "video\/matroska")/$1\n      
 "video\/matroska"   : { "Version" : "0.0" },/mi'
./src/kfilemetadata-6.28.0/src/extractors/ffmpegextractor.json;
makepkg -ei --skippgpcheck

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to