summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMuflone2021-09-25 19:06:55 +0200
committerMuflone2021-09-25 19:06:55 +0200
commit55b880913fbdee9bb6be3296482bb52ea78fcf4d (patch)
tree0a3b0aecfb2576d6c9760079a98f95d367a43b3f
parentc626159f06f75aafa65cd397c040e6353ec67af2 (diff)
downloadaur-55b880913fbdee9bb6be3296482bb52ea78fcf4d.tar.gz
Updated package 4kslideshowmaker 1.8.2.1041-2
-rw-r--r--.SRCINFO21
-rw-r--r--4kslideshowmaker.pngbin6982 -> 0 bytes
-rw-r--r--4kslideshowmaker.svg26
-rw-r--r--PKGBUILD33
-rw-r--r--fix_symlink_path.patch12
5 files changed, 62 insertions, 30 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d727dfba1b2f..558b9fb66869 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,24 +1,19 @@
pkgbase = 4kslideshowmaker
- pkgdesc = A straightforward and easy-to-use app to create slideshows from music and photos, with Instagram support.
+ pkgdesc = A straightforward and easy-to-use app to create slideshows from music and photos, with Instagram support
pkgver = 1.8.2.1041
- pkgrel = 1
- url = http://www.4kdownload.com/products/product-slideshowmaker
+ pkgrel = 2
+ url = https://www.4kdownload.com/products/product-slideshowmaker
arch = x86_64
license = custom:eula
makedepends = chrpath
- depends = qt5-script
- depends = qt5-quickcontrols
- depends = libexif
- depends = portaudio
- depends = ffmpeg2.8
- depends = libjpeg9
- depends = openssl-1.0
+ depends = openssl
source = 4kslideshowmaker_1.8.2.1041_amd64.tar.bz2::https://dl.4kdownload.com/app/4kslideshowmaker_1.8.2_amd64.tar.bz2
source = 4kslideshowmaker.desktop
- source = 4kslideshowmaker.png
+ source = 4kslideshowmaker.svg
+ source = fix_symlink_path.patch
sha256sums = 2c87658444df5451f04ca8d4daaa534c93e4684689721389ae8382065e40d361
sha256sums = e77851c895f713a7f615010c0b62d0749254dac5178f9853ae45a915ac1f84f0
- sha256sums = 8e14e4f39f5b794b56dfe7246723e62b59ab9d664330065847cc90654aee3468
+ sha256sums = b09e126dd039485424b235a39d0bd4e288d648955e45a927664adc33e6c12d63
+ sha256sums = 296e875b47b6a5e69688d12f145ada3bf4683a05f3a0153adee1577e6dbb179c
pkgname = 4kslideshowmaker
-
diff --git a/4kslideshowmaker.png b/4kslideshowmaker.png
deleted file mode 100644
index 437205543c06..000000000000
--- a/4kslideshowmaker.png
+++ /dev/null
Binary files differ
diff --git a/4kslideshowmaker.svg b/4kslideshowmaker.svg
new file mode 100644
index 000000000000..9835ff73093e
--- /dev/null
+++ b/4kslideshowmaker.svg
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="100px" height="100px" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <!-- Generator: Sketch 47.1 (45422) - http://www.bohemiancoding.com/sketch -->
+ <title>Slideshow_maker</title>
+ <desc>Created with Sketch.</desc>
+ <defs></defs>
+ <g id="2-main" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+ <g id="2_main_1920" transform="translate(-1419.000000, -3925.000000)">
+ <g id="Get-started" transform="translate(0.000000, 3557.000000)">
+ <g id="5" transform="translate(1350.000000, 328.000000)">
+ <g id="Group-26" transform="translate(6.000000, 40.000000)">
+ <g id="4k/slideshow_maker" transform="translate(63.000000, 0.000000)">
+ <g id="slideshow_maker" transform="translate(-0.000000, 0.000000)">
+ <path d="M50,100 C22.4301,100 1.13686838e-13,77.5699 1.13686838e-13,50 C1.13686838e-13,22.4299 22.4301,0 50,0 C77.5699,0 100,22.4299 100,50 C100,77.5699 77.5699,100 50,100" id="Fill-1" fill="#E7262F"></path>
+ <path d="M50,0.6 C77.3932,0.6 99.6904,22.8318 99.7987,50.2 C99.799,50.1333 99.8,50.0668 99.8,50 C99.8,22.5401 77.46,0.2 50,0.2 C22.5401,0.2 0.2,22.5401 0.2,50 C0.2,50.0668 0.201,50.1333 0.2013,50.2 C0.3096,22.8318 22.6069,0.6 50,0.6" id="Fill-3"></path>
+ <path d="M65.6,45.79844 L61.8539,42.05234 L51.5418,52.36404 L47.7398,48.56214 L39.093,57.20864 L35.3609,53.47694 L28.0379,60.80004 L65.6,60.80004 L65.6,45.79844 Z M34.4,44.00004 C36.6094,44.00004 38.4,42.20934 38.4,40.00004 C38.4,37.79064 36.6094,36.00004 34.4,36.00004 C32.1906,36.00004 30.4,37.79064 30.4,40.00004 C30.4,42.20934 32.1906,44.00004 34.4,44.00004 L34.4,44.00004 Z M77.6,32.80004 L74.4,32.80004 L74.4,69.60004 L27.2,69.60004 L27.2,72.80004 C27.2,73.24184 27.5582,73.60004 28,73.60004 L77.6,73.60004 C78.0418,73.60004 78.4,73.24184 78.4,72.80004 L78.4,33.60004 C78.4,33.15824 78.0418,32.80004 77.6,32.80004 L77.6,32.80004 Z M24.8,63.20004 L68,63.20004 L68,30.40004 L24.8,30.40004 L24.8,63.20004 Z M72,66.40004 L72,27.20004 C72,26.75824 71.6418,26.40004 71.2,26.40004 L21.6,26.40004 C21.1582,26.40004 20.8,26.75824 20.8,27.20004 L20.8,66.40004 C20.8,66.84184 21.1582,67.20004 21.6,67.20004 L71.2,67.20004 C71.6418,67.20004 72,66.84184 72,66.40004 L72,66.40004 Z" id="Fill-7" fill="#E7262F"></path>
+ <path d="M65.6,45.39844 L61.8539,41.65234 L51.5418,51.96404 L47.7398,48.16214 L39.093,56.80864 L35.3609,53.07694 L28.0379,60.40004 L65.6,60.40004 L65.6,45.39844 Z M34.4,43.60004 C36.6094,43.60004 38.4,41.80934 38.4,39.60004 C38.4,37.39064 36.6094,35.60004 34.4,35.60004 C32.1906,35.60004 30.4,37.39064 30.4,39.60004 C30.4,41.80934 32.1906,43.60004 34.4,43.60004 L34.4,43.60004 Z M77.6,32.40004 L74.4,32.40004 L74.4,69.20004 L27.2,69.20004 L27.2,72.40004 C27.2,72.84184 27.5582,73.20004 28,73.20004 L77.6,73.20004 C78.0418,73.20004 78.4,72.84184 78.4,72.40004 L78.4,33.20004 C78.4,32.75824 78.0418,32.40004 77.6,32.40004 L77.6,32.40004 Z M24.8,62.80004 L68,62.80004 L68,30.00004 L24.8,30.00004 L24.8,62.80004 Z M72,66.00004 L72,26.80004 C72,26.35824 71.6418,26.00004 71.2,26.00004 L21.6,26.00004 C21.1582,26.00004 20.8,26.35824 20.8,26.80004 L20.8,66.00004 C20.8,66.44184 21.1582,66.80004 21.6,66.80004 L71.2,66.80004 C71.6418,66.80004 72,66.44184 72,66.00004 L72,66.00004 Z" id="Fill-9" fill="#FFFFFF"></path>
+ <path d="M34.4,35.8 C36.569,35.8 38.333,37.526 38.397,39.6794 C38.3985,39.6531 38.4,39.6268 38.4,39.6 C38.4,37.3906 36.6094,35.6 34.4,35.6 C32.1906,35.6 30.4,37.3906 30.4,39.6 C30.4,39.6268 30.4015,39.6531 30.403,39.6794 C30.467,37.526 32.231,35.8 34.4,35.8 L34.4,35.8 Z M27.2,69.4 L74.4,69.4 L74.4,69.2 L27.2,69.2 L27.2,69.4 Z M77.6,32.4 L74.4,32.4 L74.4,32.6 L77.6,32.6 C78.0418,32.6 78.4,32.9582 78.4,33.4 L78.4,33.2 C78.4,32.7582 78.0418,32.4 77.6,32.4 L77.6,32.4 Z M72,27 L72,26.8 C72,26.3582 71.6418,26 71.2,26 L21.6,26 C21.1582,26 20.8,26.3582 20.8,26.8 L20.8,27 C20.8,26.5582 21.1582,26.2 21.6,26.2 L71.2,26.2 C71.6418,26.2 72,26.5582 72,27 L72,27 Z M28.2379,60.4 L35.3609,53.277 L39.093,57.0086 L47.7398,48.3621 L51.5418,52.1641 L61.8539,41.8523 L65.6,45.5984 L65.6,45.3984 L61.8539,41.6523 L51.5418,51.9641 L47.7398,48.1621 L39.093,56.8086 L35.3609,53.077 L28.0379,60.4 L28.2379,60.4 Z M24.8,63 L68,63 L68,62.8 L24.8,62.8 L24.8,63 Z" id="Fill-11" fill="#FFFFFF"></path>
+ </g>
+ </g>
+ </g>
+ </g>
+ </g>
+ </g>
+ </g>
+</svg> \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
index f091bde9c972..423157b20f94 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,25 +2,28 @@
pkgname=4kslideshowmaker
pkgver=1.8.2.1041
-pkgrel=1
-pkgdesc="A straightforward and easy-to-use app to create slideshows from music and photos, with Instagram support."
+pkgrel=2
+pkgdesc="A straightforward and easy-to-use app to create slideshows from music and photos, with Instagram support"
arch=('x86_64')
-url="http://www.4kdownload.com/products/product-slideshowmaker"
+url="https://www.4kdownload.com/products/product-slideshowmaker"
license=('custom:eula')
-depends=('qt5-script' 'qt5-quickcontrols' 'libexif' 'portaudio' 'ffmpeg2.8'
- 'libjpeg9' 'openssl-1.0')
+depends=('openssl')
makedepends=('chrpath')
source=("${pkgname}_${pkgver}_amd64.tar.bz2"::"https://dl.4kdownload.com/app/${pkgname}_${pkgver%.*}_amd64.tar.bz2"
"${pkgname}.desktop"
- "${pkgname}.png")
+ "${pkgname}.svg"
+ "fix_symlink_path.patch")
sha256sums=('2c87658444df5451f04ca8d4daaa534c93e4684689721389ae8382065e40d361'
'e77851c895f713a7f615010c0b62d0749254dac5178f9853ae45a915ac1f84f0'
- '8e14e4f39f5b794b56dfe7246723e62b59ab9d664330065847cc90654aee3468')
+ 'b09e126dd039485424b235a39d0bd4e288d648955e45a927664adc33e6c12d63'
+ '296e875b47b6a5e69688d12f145ada3bf4683a05f3a0153adee1577e6dbb179c')
prepare() {
cd "${pkgname}"
# Remove insecure RPATH
chrpath --delete "${pkgname}-bin"
+ # Fix symlink path
+ patch -p1 -i "${srcdir}/fix_symlink_path.patch"
}
package() {
@@ -29,19 +32,15 @@ package() {
install -m 755 -t "${pkgdir}/usr/share/applications" "${pkgname}.desktop"
# Install icon file
install -m 755 -d "${pkgdir}/usr/share/pixmaps"
- install -m 644 -t "${pkgdir}/usr/share/pixmaps" "${pkgname}.png"
+ install -m 644 -t "${pkgdir}/usr/share/pixmaps" "${pkgname}.svg"
# Install files
- cd "${pkgname}"
- install -m 755 -d "${pkgdir}/usr/lib/${pkgname}"
- install -m 755 -t "${pkgdir}/usr/lib/${pkgname}" "${pkgname}-bin"
- install -m 755 -d "${pkgdir}/usr/lib/${pkgname}/audio"
- install -m 755 -t "${pkgdir}/usr/lib/${pkgname}/audio" audio/*
- install -m 755 -d "${pkgdir}/usr/lib/${pkgname}/translation"
- install -m 755 -t "${pkgdir}/usr/lib/${pkgname}/translation" translation/*
+ install -m 755 -d "${pkgdir}/usr/lib"
+ cp -r "${pkgname}" "${pkgdir}/usr/lib"
+ chown root.root "${pkgdir}/usr/lib/${pkgname}"
# Install launcher file
install -m 755 -d "${pkgdir}/usr/bin"
- ln -s "/usr/lib/${pkgname}/${pkgname}-bin" "${pkgdir}/usr/bin/${pkgname}"
+ ln -s "/usr/lib/${pkgname}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
# Install license file
install -m 755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m 644 -t "${pkgdir}/usr/share/licenses/${pkgname}" "doc/eula"
+ install -m 644 -t "${pkgdir}/usr/share/licenses/${pkgname}" "${pkgname}/doc/eula"
}
diff --git a/fix_symlink_path.patch b/fix_symlink_path.patch
new file mode 100644
index 000000000000..357154050777
--- /dev/null
+++ b/fix_symlink_path.patch
@@ -0,0 +1,12 @@
+diff -Naur 4kslideshowmaker.orig/4kslideshowmaker.sh 4kslideshowmaker/4kslideshowmaker.sh
+--- 4kslideshowmaker.orig/4kslideshowmaker.sh 2020-04-01 15:13:19.000000000 +0200
++++ 4kslideshowmaker/4kslideshowmaker.sh 2021-09-25 19:02:06.878171417 +0200
+@@ -1,7 +1,6 @@
+ #!/bin/sh
+
+-SCRIPT_DIR=$(dirname "$0")
+-SCRIPT_DIR=`cd "$SCRIPT_DIR"; pwd` #make path absolute
++SCRIPT_DIR=$(dirname $(readlink -f "$0"))
+
+ LD_LIBRARY_PATH=$SCRIPT_DIR
+ export LD_LIBRARY_PATH