Package Details: songrec 0.1.8-2

Git Clone URL: https://aur.archlinux.org/songrec.git (read-only, click to copy)
Package Base: songrec
Description: An open-source, unofficial Shazam client for Linux, written in Rust.
Upstream URL: https://github.com/marin-m/SongRec
Licenses: GPL3
Conflicts: songrec-git
Provides: songrec
Submitter: marin-m
Maintainer: marin-m
Last Packager: marin-m
Votes: 2
Popularity: 0.99
First Submitted: 2020-11-04 10:24
Last Updated: 2021-06-02 21:38

Latest Comments

marin-m commented on 2021-04-11 16:15

@promotionbagpipe It should be fixed (by the pull request at https://github.com/marin-m/SongRec/pull/39), thank you for reporting.

promotionbagpipe commented on 2021-04-10 15:59

For those who have set the CARGO_TARGET_DIR environmental variable then this package will fail to install: the compiler will place all of its output in CARGO_TARGET_DIR directory instead of target, therefore the install command on line 24 will not work. One possible fix, change line 24 to:

if [ -n "${CARGO_TARGET_DIR}" ]; then
  install -Dm755 "${CARGO_TARGET_DIR}/release/songrec" "$pkgdir/usr/bin/songrec"
else
  install -Dm755 "target/release/songrec" "$pkgdir/usr/bin/songrec"
fi

(I have no idea how common it is to set the CARGO_TARGET_DIR, but people do it so that cargo will not have to rebuild packages that are common between rust projects, saving time and disk space.)

sandsmark commented on 2021-03-22 12:00

It doesn't build when sandboxed. Seems like it tries to fetch a bunch of stuff in build(), bypassing all dependency handling and source checksumming:

==> Starting build()...
    Updating crates.io index
warning: spurious network error (2 tries remaining): failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)
[...]

It's a bit bad, opens it to a bunch of attacks.

marin-m commented on 2021-02-24 14:31

Fixed, thanks

Typology commented on 2021-02-23 19:07

==> Making package: songrec 0.1.4-1 (Tue 23 Feb 2021 10:07:16 PM +03)
==> Retrieving sources...
  -> Found songrec-0.1.4.tar.gz
==> Validating source files with sha256sums...
    songrec-0.1.4.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
:: Packages failed to build: songrec-0.1.4-3

marin-m commented on 2021-02-11 03:23

Just for the record, the issue mentioned below was fixed when it was reported (thanks to whom reported).

yochananmarqos commented on 2020-11-04 19:35

PKGBUILD corrections:

   1   │ --- PKGBUILD_orig   2020-11-04 12:31:36.359966000 -0700
   2   │ +++ PKGBUILD    2020-11-04 12:33:51.947458166 -0700
   3   │ @@ -12,16 +12,16 @@
   4   │  
   5   │  build() {
   6   │ -  cd "$pkgname-$pkgver"
   7   │ +  cd SongRec-0.1.2
   8   │    cargo build --release
   9   │  }
  10   │  
  11   │  package() {
  12   │ -  cd "$pkgname-$pkgver"
  13   │ +  cd SongRec-0.1.2
  14   │    install -Dm755 "target/release/songrec" "$pkgdir/usr/bin/songrec"
  15   │ -  install -Dm755 "packaging/rootfs/usr/share/applications/com.github.marinm.songrec.desktop" "$pkgdir/usr/share/applications/com.github.marinm.songrec.desktop"
  16   │ -  install -Dm755 "packaging/rootfs/usr/share/icons/hicolor/scalable/apps/com.github.marinm.songrec.svg" \
  17   │ +  install -Dm644 "packaging/rootfs/usr/share/applications/com.github.marinm.songrec.desktop" "$pkgdir/usr/share/applications/com.github.marinm.songrec.desktop"
  18   │ +  install -Dm644 "packaging/rootfs/usr/share/icons/hicolor/scalable/apps/com.github.marinm.songrec.svg" \
  19   │                      "$pkgdir/usr/share/applications/icons/hicolor/scalable/apps/com.github.marinm.songrec.svg"
  20   │ -  install -Dm755 "packaging/rootfs/usr/share/metainfo/com.github.marinm.songrec.metainfo.xml" \
  21   │ -                    "$pkgdir/usr/share/applications/metainfo/com.github.marinm.songrec.meteainfo.xml"
  22   │ +  install -Dm644 "packaging/rootfs/usr/share/metainfo/com.github.marinm.songrec.metainfo.xml" \
  23   │ +                    "$pkgdir/usr/share/metainfo/com.github.marinm.songrec.meteainfo.xml"
  24   │    install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  25   │  }

agarbathi commented on 2020-11-04 16:49

/home/userxxxx/.cache/yay/songrec/PKGBUILD: Zeile 14: cd: songrec-0.1.2: Datei oder Verzeichnis nicht gefunden ==> FEHLER: Ein Fehler geschah in build(). Breche ab... error making: songrec