diff options
-rw-r--r-- | .SRCINFO | 27 | ||||
-rw-r--r-- | 4kvideotomp3.desktop | 2 | ||||
-rw-r--r-- | 4kvideotomp3.png | bin | 6991 -> 0 bytes | |||
-rw-r--r-- | 4kvideotomp3.svg | 1 | ||||
-rw-r--r-- | PKGBUILD | 43 | ||||
-rw-r--r-- | fix_symlink_path.patch | 12 |
6 files changed, 51 insertions, 34 deletions
@@ -1,22 +1,19 @@ -# Generated by mksrcinfo v8 -# Sun Aug 26 17:16:07 UTC 2018 pkgbase = 4kvideotomp3 - pkgdesc = Extract audio in high-quality MP3 from any video. - pkgver = 2.4.1.873 + pkgdesc = Extract audio in high-quality MP3 from any video + pkgver = 3.0.1.936 pkgrel = 1 - url = http://www.4kdownload.com/products/product-videotomp3 + url = https://www.4kdownload.com/products/product-videotomp3 arch = x86_64 license = custom:eula - depends = qt5-script - depends = qt5-quickcontrols - depends = portaudio - depends = ffmpeg2.8 - source = 4kvideotomp3_2.4.1.873_amd64.tar.bz2::https://dl.4kdownload.com/app/4kvideotomp3_2.4.1_amd64.tar.bz2 + makedepends = chrpath + depends = openssl + source = 4kvideotomp3_3.0.1.936_amd64.tar.bz2::https://dl.4kdownload.com/app/4kvideotomp3_3.0.1_amd64.tar.bz2 source = 4kvideotomp3.desktop - source = 4kvideotomp3.png - sha256sums = caad1749456f2bbdb980d106ab4c202b9c0e88b9ae4b1e98e9f5b07ad32053d4 - sha256sums = a53e776426f30fd1d35b5d78df95f3608f25a8637a7c5f0c731ff538226c2185 - sha256sums = 3aa5efcf8111c63fde7397f491d2b85ff47d50fd531f7792842d94016b814a4c + source = 4kvideotomp3.svg + source = fix_symlink_path.patch + sha256sums = 5a43e5c7aac09ecfbdedbf04799ebe0a3284c9be7814eb32a3a0b8935d6a2b06 + sha256sums = 790d1bce55bb1d2b4b0a76dab8cee6d467a90ef5b316b7f1936bac6f589ad995 + sha256sums = 91d37103fb5bfb264c2842cbc546ebb59010ebd495a85c691e88096752173b3a + sha256sums = f7892f717298a4cb00d2069fc928141f16b7bb0348db9f3d004c828ff20e9db8 pkgname = 4kvideotomp3 - diff --git a/4kvideotomp3.desktop b/4kvideotomp3.desktop index 49499618c78e..415ed73ae87f 100644 --- a/4kvideotomp3.desktop +++ b/4kvideotomp3.desktop @@ -6,6 +6,6 @@ Comment=Download online video Exec=4kvideotomp3 Terminal=false Type=Application -Icon=4kvideotomp3.png +Icon=4kvideotomp3 Categories=AudioVideo;Qt; diff --git a/4kvideotomp3.png b/4kvideotomp3.png Binary files differdeleted file mode 100644 index 99e2cf7d8ef5..000000000000 --- a/4kvideotomp3.png +++ /dev/null diff --git a/4kvideotomp3.svg b/4kvideotomp3.svg new file mode 100644 index 000000000000..8db8e12680d6 --- /dev/null +++ b/4kvideotomp3.svg @@ -0,0 +1 @@ +<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><title>62CFD1E1-F021-4ECD-B2BD-4CC0AD455492</title><g fill="none" fill-rule="evenodd"><path d="M50 100C22.43 100 0 77.57 0 50S22.43 0 50 0s50 22.43 50 50-22.43 50-50 50" fill="#9C71DA"/><path d="M83.807 49.622l-4.966-2.099v-2.072C78.84 30.314 66.35 18 51 18S23.16 30.314 23.16 45.451v2.073l-4.967 2.098c-1.211.512-2.193 1.98-2.193 3.28V63.49c0 1.3.982 2.768 2.193 3.28l6.75 2.852c1.211.512 2.193-.127 2.193-1.426V45.451c0-12.974 10.706-23.53 23.864-23.53 13.158 0 23.864 10.556 23.864 23.53v22.744c0 1.3.982 1.939 2.193 1.426l6.75-2.852C85.018 66.258 86 64.79 86 63.49V52.902c0-1.299-.982-2.767-2.193-3.28M60.545 62.315c-2.196 0-3.977-1.756-3.977-3.922 0-2.166 1.78-3.921 3.977-3.921s3.978 1.755 3.978 3.921-1.78 3.922-3.978 3.922M51 52.902c-2.197 0-3.977-1.756-3.977-3.921 0-2.166 1.78-3.922 3.977-3.922s3.977 1.756 3.977 3.922c0 2.165-1.78 3.921-3.977 3.921m-1.59 5.49A1.58 1.58 0 0 1 51 56.824c.878 0 1.59.702 1.59 1.568A1.58 1.58 0 0 1 51 59.961a1.58 1.58 0 0 1-1.59-1.569M51 71.725c-2.197 0-3.977-1.755-3.977-3.921s1.78-3.922 3.977-3.922 3.977 1.756 3.977 3.922c0 2.166-1.78 3.921-3.977 3.921m-9.545-9.411c-2.197 0-3.978-1.756-3.978-3.922 0-2.166 1.781-3.921 3.978-3.921 2.196 0 3.977 1.755 3.977 3.921s-1.78 3.922-3.977 3.922M51 38.784c-10.983 0-19.886 8.779-19.886 19.608C31.114 69.222 40.017 78 51 78c10.983 0 19.886-8.779 19.886-19.608S61.983 38.784 51 38.784" fill="#8F64CA"/><path d="M83.807 49.622l-4.966-2.099v-2.072C78.84 30.314 66.35 18 51 18S23.16 30.314 23.16 45.451v2.073l-4.967 2.098c-1.211.512-2.193 1.98-2.193 3.28V63.49c0 1.3.982 2.768 2.193 3.28l6.75 2.852c1.211.512 2.193-.127 2.193-1.426V45.451c0-12.974 10.706-23.53 23.864-23.53 13.158 0 23.864 10.556 23.864 23.53v22.744c0 1.3.982 1.939 2.193 1.426l6.75-2.852C85.018 66.258 86 64.79 86 63.49V52.902c0-1.299-.982-2.767-2.193-3.28M60.545 62.315c-2.196 0-3.977-1.756-3.977-3.922 0-2.166 1.78-3.921 3.977-3.921s3.978 1.755 3.978 3.921-1.78 3.922-3.978 3.922M51 52.902c-2.197 0-3.977-1.756-3.977-3.921 0-2.166 1.78-3.922 3.977-3.922s3.977 1.756 3.977 3.922c0 2.165-1.78 3.921-3.977 3.921m-1.59 5.49A1.58 1.58 0 0 1 51 56.824c.878 0 1.59.702 1.59 1.568A1.58 1.58 0 0 1 51 59.961a1.58 1.58 0 0 1-1.59-1.569M51 71.725c-2.197 0-3.977-1.755-3.977-3.921s1.78-3.922 3.977-3.922 3.977 1.756 3.977 3.922c0 2.166-1.78 3.921-3.977 3.921m-9.545-9.411c-2.197 0-3.978-1.756-3.978-3.922 0-2.166 1.781-3.921 3.978-3.921 2.196 0 3.977 1.755 3.977 3.921s-1.78 3.922-3.977 3.922M51 38.784c-10.983 0-19.886 8.779-19.886 19.608C31.114 69.222 40.017 78 51 78c10.983 0 19.886-8.779 19.886-19.608S61.983 38.784 51 38.784" fill="#FFF"/><path d="M51 71.823c-2.167 0-3.925-1.712-3.973-3.84 0 .03-.004.058-.004.088 0 2.17 1.78 3.929 3.977 3.929s3.977-1.759 3.977-3.929c0-.03-.004-.058-.004-.088-.048 2.128-1.806 3.84-3.973 3.84M83.807 49.68l-4.966-2.102v.177l4.966 2.102C85.018 50.369 86 51.84 86 53.142v-.177c0-1.302-.982-2.773-2.193-3.286M51 52.966c-2.167 0-3.925-1.712-3.973-3.84 0 .029-.004.058-.004.088 0 2.17 1.78 3.928 3.977 3.928s3.977-1.758 3.977-3.928c0-.03-.004-.059-.004-.089-.048 2.129-1.806 3.84-3.973 3.84m0-14.143c-10.983 0-19.886 8.795-19.886 19.644v.088c.05-10.808 8.934-19.555 19.886-19.555s19.837 8.747 19.885 19.555l.001-.088c0-10.85-8.903-19.644-19.886-19.644m0-20.645c15.351 0 27.84 12.337 27.84 27.5v-.176C78.84 30.337 66.352 18 51 18c-15.351 0-27.84 12.337-27.84 27.5v.178c0-15.164 12.489-27.501 27.84-27.501M16 52.965v.177c0-1.302.982-2.773 2.193-3.285l4.966-2.103v-.176l-4.966 2.102C16.982 50.193 16 51.664 16 52.965m25.455 9.43c-2.167 0-3.925-1.712-3.973-3.841 0 .03-.005.059-.005.088 0 2.17 1.781 3.93 3.978 3.93 2.196 0 3.977-1.76 3.977-3.93 0-.03-.004-.058-.005-.088-.048 2.129-1.806 3.84-3.972 3.84m11.136-3.752c0-.03-.003-.059-.005-.088A1.582 1.582 0 0 1 51 60.037a1.58 1.58 0 0 1-1.586-1.483c-.002.03-.005.059-.005.088 0 .868.712 1.572 1.591 1.572s1.59-.704 1.59-1.572m7.955 3.752c-2.166 0-3.924-1.711-3.972-3.84 0 .03-.005.059-.005.088 0 2.17 1.78 3.93 3.977 3.93s3.978-1.76 3.978-3.93c0-.03-.004-.058-.005-.088-.048 2.129-1.806 3.84-3.973 3.84" fill="#FFF"/></g></svg>
\ No newline at end of file @@ -1,19 +1,30 @@ # Maintainer: Muflone http://www.muflone.com/contacts/english/ pkgname=4kvideotomp3 -pkgver=2.4.1.873 +pkgver=3.0.1.936 pkgrel=1 -pkgdesc="Extract audio in high-quality MP3 from any video." +pkgdesc="Extract audio in high-quality MP3 from any video" arch=('x86_64') -url="http://www.4kdownload.com/products/product-videotomp3" +url="https://www.4kdownload.com/products/product-videotomp3" license=('custom:eula') -depends=('qt5-script' 'qt5-quickcontrols' 'portaudio' 'ffmpeg2.8') +depends=('openssl') +makedepends=('chrpath') source=("${pkgname}_${pkgver}_amd64.tar.bz2"::"https://dl.4kdownload.com/app/${pkgname}_${pkgver%.*}_amd64.tar.bz2" "${pkgname}.desktop" - "${pkgname}.png") -sha256sums=('caad1749456f2bbdb980d106ab4c202b9c0e88b9ae4b1e98e9f5b07ad32053d4' - 'a53e776426f30fd1d35b5d78df95f3608f25a8637a7c5f0c731ff538226c2185' - '3aa5efcf8111c63fde7397f491d2b85ff47d50fd531f7792842d94016b814a4c') + "${pkgname}.svg" + "fix_symlink_path.patch") +sha256sums=('5a43e5c7aac09ecfbdedbf04799ebe0a3284c9be7814eb32a3a0b8935d6a2b06' + '790d1bce55bb1d2b4b0a76dab8cee6d467a90ef5b316b7f1936bac6f589ad995' + '91d37103fb5bfb264c2842cbc546ebb59010ebd495a85c691e88096752173b3a' + 'f7892f717298a4cb00d2069fc928141f16b7bb0348db9f3d004c828ff20e9db8') + +prepare() { + cd "${pkgname}" + # Remove insecure RPATH + chrpath --delete "${pkgname}-bin" + # Fix symlink path + patch -p1 -i "${srcdir}/fix_symlink_path.patch" +} package() { # Install desktop file @@ -21,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..247cd938a917 --- /dev/null +++ b/fix_symlink_path.patch @@ -0,0 +1,12 @@ +diff -Naur 4kvideotomp3.orig/4kvideotomp3.sh 4kvideotomp3/4kvideotomp3.sh +--- 4kvideotomp3.orig/4kvideotomp3.sh 2020-09-29 17:31:32.000000000 +0200 ++++ 4kvideotomp3/4kvideotomp3.sh 2021-09-25 18:54:55.910973848 +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 |