diff options
author | Josip Ponjavic | 2018-04-21 23:01:49 +0200 |
---|---|---|
committer | Josip Ponjavic | 2018-04-21 23:01:49 +0200 |
commit | 15e341e84353091ac564f7ca4dba236a17e4744a (patch) | |
tree | 54676a178c5db30c94de3d629349c3f700291a6f | |
parent | 69ec2e6f7faed16f159a29ce8181be18457861b5 (diff) | |
download | aur-15e341e84353091ac564f7ca4dba236a17e4744a.tar.gz |
use better download source url
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 11 | ||||
-rw-r--r-- | imagewriter.patch | 6 |
3 files changed, 12 insertions, 11 deletions
@@ -12,10 +12,10 @@ pkgbase = ffmpegthumbs-mattepaint depends = libavformat.so depends = libavutil.so depends = libswscale.so - source = ffmpegthumbs-mattepaint-0.7.tar.gz::https://dl.opendesktop.org/api/files/downloadfile/id/1467623621/s/b05dc6ee78a6106471cd994e86695c6f/t/1522867138/u/40596/153902-Upload2016060900.tar.gz + source = https://download.opensuse.org/repositories/home:/Gribs:/Tools/openSUSE_Leap_42.1/src/ffmpegthumbs-mattepaint-0.7-5.3.src.rpm source = imagewriter.patch - sha256sums = 2e4c9fe5e85d9c14b1c468e0dcaecfd71b378ca38f051c0beea6a5f04b5c6cd4 - sha256sums = fe67a5f0599bfd53dfe8629d09e7ee39bd41e3877cfb2b0bb77a4c9467cc42b1 + sha256sums = 6acf0b3b7a002499ebda1b034457443200ef4322a52e33045d1b970906455c9a + sha256sums = 055eb84f93914b5adc39a703bf3a399bdfd68b126839fb4ffe90ef80c203158c pkgname = ffmpegthumbs-mattepaint @@ -10,20 +10,21 @@ url="http://kde-look.org/content/show.php/FFMpegThumbs-MattePaint?content=153902 license=('GPL') depends=('kio' 'libavcodec.so' 'libavfilter.so' 'libavformat.so' 'libavutil.so' 'libswscale.so') makedepends=('extra-cmake-modules') -source=("${pkgname}-${pkgver}.tar.gz::https://dl.opendesktop.org/api/files/downloadfile/id/1467623621/s/b05dc6ee78a6106471cd994e86695c6f/t/1522867138/u/40596/153902-Upload2016060900.tar.gz" +source=("https://download.opensuse.org/repositories/home:/Gribs:/Tools/openSUSE_Leap_42.1/src/$pkgname-$pkgver-5.3.src.rpm" 'imagewriter.patch') -sha256sums=('2e4c9fe5e85d9c14b1c468e0dcaecfd71b378ca38f051c0beea6a5f04b5c6cd4' - 'fe67a5f0599bfd53dfe8629d09e7ee39bd41e3877cfb2b0bb77a4c9467cc42b1') +sha256sums=('6acf0b3b7a002499ebda1b034457443200ef4322a52e33045d1b970906455c9a' + '055eb84f93914b5adc39a703bf3a399bdfd68b126839fb4ffe90ef80c203158c') prepare() { mkdir -p build - cd 'Upload2016060900' + bsdtar -zxvf $pkgname-$pkgver.tar.gz + cd "$pkgname-$pkgver" patch -p1 -i ../imagewriter.patch } build() { cd build - cmake ../Upload2016060900/KF5/"0.7 using ffmpeg-3.0"/${pkgname} \ + cmake ../"$pkgname-$pkgver" \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib diff --git a/imagewriter.patch b/imagewriter.patch index 5d249293cba1..316bc33324bb 100644 --- a/imagewriter.patch +++ b/imagewriter.patch @@ -1,6 +1,6 @@ -diff -ruN "a/KF5/0.7 using ffmpeg-3.0/ffmpegthumbs-mattepaint/ffmpegthumbnailer/imagewriter.cpp" "b/KF5/0.7 using ffmpeg-3.0/ffmpegthumbs-mattepaint/ffmpegthumbnailer/imagewriter.cpp" ---- "a/KF5/0.7 using ffmpeg-3.0/ffmpegthumbs-mattepaint/ffmpegthumbnailer/imagewriter.cpp" 2016-05-29 20:37:24.000000000 +0200 -+++ "b/KF5/0.7 using ffmpeg-3.0/ffmpegthumbs-mattepaint/ffmpegthumbnailer/imagewriter.cpp" 2018-04-04 20:10:22.937314418 +0200 +diff -ruN a/ffmpegthumbnailer/imagewriter.cpp b/ffmpegthumbnailer/imagewriter.cpp +--- a/ffmpegthumbnailer/imagewriter.cpp 2016-05-29 20:37:24.000000000 +0200 ++++ b/ffmpegthumbnailer/imagewriter.cpp 2018-04-21 22:57:55.608039514 +0200 @@ -62,7 +62,7 @@ if (q1.exists()){ QImage matteImage(QStandardPaths::writableLocation(QStandardPaths::ConfigLocation) + "/ffmpegthumbs-mattepaint/quadrant1"); |