@tee fixed.
Makes sense, but it'd be nice if maintainers were given even the most modest of warnings that a breaking change was being rolled out.
| Git Clone URL: | https://aur.archlinux.org/losslesscut-bin.git (read-only, click to copy) |
|---|---|
| Package Base: | losslesscut-bin |
| Description: | Crossplatform GUI tool for lossless trimming/cutting of video/audio files |
| Upstream URL: | https://github.com/mifi/lossless-cut |
| Licenses: | MIT |
| Conflicts: | losslesscut |
| Provides: | losslesscut |
| Submitter: | dmp1ce |
| Maintainer: | dmp1ce (Lulzagna) |
| Last Packager: | Lulzagna |
| Votes: | 75 |
| Popularity: | 5.60 |
| First Submitted: | 2020-11-10 13:10 (UTC) |
| Last Updated: | 2025-12-04 19:12 (UTC) |
@tee fixed.
Makes sense, but it'd be nice if maintainers were given even the most modest of warnings that a breaking change was being rolled out.
==> Validating source_x86_64 files with sha256sums...
LosslessCut-linux-x64.tar.bz2 ... FAILED
losslesscut.desktop ... Passed
LICENSE ... Passed
icon.svg ... Passed
==> ERROR: One or more files did not pass the validity check!
-> error making: losslesscut-bin-exit status 1
Please read https://wiki.archlinux.org/title/PKGBUILD#:~:text=corresponding%20source%20file.-,Warning,-The%20downloaded%20source.
@dontdieych thank-you for the patch - applied and the build worked locally.
@danielwerg thank-you - icon should be working now.
Add aarch64 support. All my email accounts need to register 2-factor auth for git send-email (don't like it :D). So ... paste here output of git format-patch.
$ cat 0001-add-support-for-aarch64.patch
From fdc5e2dfda3da5a74a51cd61de2a8c97054a7a00 Mon Sep 17 00:00:00 2001
From:
Date: Mon, 22 Sep 2025 05:49:25 +0900
Subject: [PATCH] add support for aarch64
---
PKGBUILD | 21 ++++++++++++++++++---
1 file changed, 18 insertions(+), 3 deletions(-)
diff --git a/PKGBUILD b/PKGBUILD
index 273862f..3fff10e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,13 +7,17 @@ pkgname=losslesscut-bin
pkgver=3.65.0
pkgrel=2
pkgdesc="Crossplatform GUI tool for lossless trimming/cutting of video/audio files"
-arch=('x86_64')
+arch=('x86_64' 'aarch64')
url="https://github.com/mifi/lossless-cut"
license=('MIT')
conflicts=("${_pkgname}")
provides=("${_pkgname}")
depends=('nss' 'ffmpeg' 'gtk3' 'libxss')
-source_x86_64=("$pkgname-$pkgver.tar.bz2::https://github.com/mifi/lossless-cut/releases/download/v$pkgver/LosslessCut-linux-x64.tar.bz2"
+source_aarch64=("https://github.com/mifi/lossless-cut/releases/download/v$pkgver/LosslessCut-linux-arm64.tar.bz2"
+ "losslesscut.desktop"
+ "LICENSE"
+ "https://raw.githubusercontent.com/mifi/lossless-cut/refs/heads/master/src/renderer/src/icon.svg")
+source_x86_64=("https://github.com/mifi/lossless-cut/releases/download/v$pkgver/LosslessCut-linux-x64.tar.bz2"
"losslesscut.desktop"
"LICENSE"
"https://raw.githubusercontent.com/mifi/lossless-cut/refs/heads/master/src/renderer/src/icon.svg")
@@ -21,11 +25,22 @@ sha256sums_x86_64=('0d9d8de9a79f0ba53687bb6fba2d647606ae578363321fcc33391d8009d6
'0ac7bd2115eae92ff47a62b0af4075054d463ff0c30654897e0d9f02f35113e5'
'48affed7162fc2e76f1cd47b50355181b869b4025ff04c2a53b03854e329dca0'
'd3d3da3f403ce1b9f846ae2a38a8fe9938fc458024352a9741b59a920eefacf9')
+sha256sums_aarch64=('2ae4bf055c6797bc34e63aff0b2169a4b49ec7f9464e5664ca65bed92159dbeb'
+ '0ac7bd2115eae92ff47a62b0af4075054d463ff0c30654897e0d9f02f35113e5'
+ '48affed7162fc2e76f1cd47b50355181b869b4025ff04c2a53b03854e329dca0'
+ 'd3d3da3f403ce1b9f846ae2a38a8fe9938fc458024352a9741b59a920eefacf9')
package() {
+ case "$CARCH" in
+ aarch64) _pkgarch="arm64"
+ ;;
+ x86_64) _pkgarch="x64"
+ ;;
+ esac
+
cd "${srcdir:?}"
mkdir -p "${pkgdir:?}"/usr/{share/losslesscut,bin}
- cd LosslessCut-linux-x64
+ cd LosslessCut-linux-$_pkgarch
tar -cf - . | tar -C "$pkgdir/usr/share/losslesscut" -xvf -
ln -s /usr/share/losslesscut/losslesscut "$pkgdir"/usr/bin/losslesscut
install -Dm644 ../losslesscut.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
--
2.51.0
Package (2) New Version Net Change
losslesscut-bin 3.65.0-2 454.48 MiB
losslesscut-bin-debug 3.65.0-2 11.05 MiB
Total Installed Size: 465.52 MiB
:: Proceed with installation? [Y/n]
(2/2) checking keys in keyring [--------------------------------------------------------------------] 100%
(2/2) checking package integrity [--------------------------------------------------------------------] 100%
(2/2) loading package files [--------------------------------------------------------------------] 100%
(2/2) checking for file conflicts [--------------------------------------------------------------------] 100%
error: failed to commit transaction (conflicting files)
losslesscut-bin-debug: /usr/lib/debug/.build-id/2e/a67fb4a9945e869eb463e0ad868599be33d813 exists in filesystem (owned by vscodium-bin-debug)
losslesscut-bin-debug: /usr/lib/debug/.build-id/2e/a67fb4a9945e869eb463e0ad868599be33d813.debug exists in filesystem (owned by vscodium-bin-debug)
Errors occurred, no packages were upgraded.
I don't think you have to put icon file extension for Icon field in .desktop, some applications launcher won't render it as well.
- Icon=losslesscut.svg
+ Icon=losslesscut
@Lulzagna thanks for addressing my issue so quickly
@eniac should be fixed now.
Sorry about that - I slapped the repo's .desktop file in without giving it a good look. I merged the old and new so the MimeType is set as well.
The .desktop doesn't appear in gnome on my pc, maybe because it references /app/bin/run.sh which doesn't exist
seems like not following ~/.config/electron-flags.conf ?
Pinned Comments
kata55 commented on 2023-07-06 20:07 (UTC) (edited on 2023-07-06 20:09 (UTC) by kata55)
If anyone, like me, uses this on GNOME on Wayland with Fractional Scaling (due to a 14" 2560x1440 screen in their laptop), you may find this Electron trick useful to make the app work in native Wayland mode instead of
xwayland(so that it does not appear blurry) - run the app with this command:To make the change persist, change the
Exec=...line in/usr/share/applications/losslesscut-bin.desktopto:It would be probably great if the
.desktopfile in this AUR would have this automatically included if Wayland is detected as the display server, but I'm not sure how do you go about this; Also this seems to be a recurring theme with all Electron apps, so I'm thinking about some system-wide solution to be brought up on Arch upstream - no point in having every single Electron app packager waste the effort repeating this.dmp1ce commented on 2021-10-29 17:03 (UTC)
I'm following the releases on this page: https://github.com/mifi/lossless-cut/releases
I'm not following all the tagged versions.