Package Details: losslesscut 2.3.0-1

Git Clone URL: https://aur.archlinux.org/losslesscut.git (read-only)
Package Base: losslesscut
Description: Crossplatform GUI tool for lossless trimming/cutting of video/audio files
Upstream URL: https://github.com/mifi/lossless-cut
Licenses: MIT
Submitter: jose1711
Maintainer: jose1711
Last Packager: jose1711
Votes: 8
Popularity: 0.645862
First Submitted: 2018-01-12 09:10
Last Updated: 2019-06-19 16:25

Latest Comments

1 2 Next › Last »

filthyAUR commented on 2019-05-10 15:45

Version 2.2.0 removed ia32 support. Here's what an updated PKGBUILD might look like:

pkgname=losslesscut
pkgver=2.2.0
pkgrel=1
pkgdesc="Crossplatform GUI tool for lossless trimming/cutting of video/audio files"
arch=('x86_64')
url="https://github.com/mifi/lossless-cut"
license=('MIT')
depends=('ffmpeg' 'gtk2' 'nss' 'gconf')
makedepends=('asar')
source_x86_64=(losslesscut_${pkgver}.zip::"https://github.com/mifi/lossless-cut/releases/download/v${pkgver}/LosslessCut-linux-x64.zip" "losslesscut.desktop")

package()
{
  cd "$srcdir"
  mkdir -p $pkgdir/usr/{share/losslesscut,bin}
  cd LosslessCut-linux-x64
  asar ef resources/app.asar icon.svg 
  tar -cf - --exclude app.asar.unpacked --exclude icon.svg . | tar -C "$pkgdir/usr/share/losslesscut" -xvf -
  ln -s /usr/share/losslesscut/LosslessCut $pkgdir/usr/bin/losslesscut
  install -Dm644 ../$pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
  install -Dm644 icon.svg "$pkgdir"/usr/share/pixmaps/$pkgname.svg
  }

md5sums_x86_64=('d2da40d2f7e1cb55611f7585db7acc89' '460a126a50892d91bdc53de7fa3bc182')

jose1711 commented on 2019-01-31 15:11

something like this?

source_i686=(losslesscut_${pkgver}.zip::"https://github.com/mifi/lossless-cut/releases/download/v${pkgver}/LosslessCut-linux-ia32.zip" "losslesscut.desktop")
source_x86_64=(losslesscut_${pkgver}.zip::"https://github.com/mifi/lossless-cut/releases/download/v${pkgver}/LosslessCut-linux-x64.zip" "losslesscut.desktop")

fightcookie commented on 2019-01-31 14:59

Could you please integrate the version number when saving the downloaded package, so the checksum check doesn't fail on a version upgrade when the old file is also present? You can see here how to do that: https://wiki.archlinux.org/index.php/PKGBUILD#source Thanks :)

anti4r commented on 2018-10-04 02:33

md5 hash for the new update does not match, update 1.14.0-1 is broken

Validating source_x86_64 files with md5sums... >LosslessCut-linux-x64.zip ... FAILED >losslesscut.desktop ... Passed `==> ERROR: One or more files did not pass the validity check!``

jose1711 commented on 2018-08-23 21:07

same here - but rebuilding was not really needed. i suspect recent ffmpeg update:

[2018-07-19 21:25] [ALPM] upgraded ffmpeg (1:4.0.1-3 -> 1:4.0.2-1)
[2018-08-17 00:17] [ALPM] upgraded ffmpeg (1:4.0.2-1 -> 1:4.0.2-2)

hcjl commented on 2018-08-21 07:17

Today I reinstalled version 1.12.0-3 and now it works. I have no clue why? ;-)

hcjl commented on 2018-08-12 09:44

@jose1711 Thank you very much!

jose1711 commented on 2018-08-11 21:53

@hcjl https://github.com/mifi/lossless-cut/issues/84

hcjl commented on 2018-08-11 21:13

Building works fine, but it segfaults now with latest Arch updates. Here is the output of strace -> https://paste.pound-python.org/show/sgtGcKzMFjNNuOsvIDV1/

Maybe it is an upstream bug.

eniac commented on 2018-08-11 07:31

@jose1711 same here. Sorry I hadn't checked the md5sum myself and assumed the PKGBUILD had not been updated. I see "LosslessCut-linux-x64.zip ... FAILED" because md5sum's result for x64 is 0d356116d65613bafc153ea49e7049f5 as you said.

Edit: thanks for fixing the pkgbuild, it works now.