Also, why there's pkgver section if this is not a -git package?
@begin-theadventu because it download a git commit so the version is effective, it is common in Arch packages too
Git Clone URL: | https://aur.archlinux.org/shortwave.git (read-only, click to copy) |
---|---|
Package Base: | shortwave |
Description: | Find and listen to internet radio stations |
Upstream URL: | https://gitlab.gnome.org/World/Shortwave |
Licenses: | GPL3 |
Submitter: | None |
Maintainer: | igor-dyatlov |
Last Packager: | igor-dyatlov |
Votes: | 58 |
Popularity: | 0.30 |
First Submitted: | 2019-03-16 10:34 (UTC) |
Last Updated: | 2023-02-08 16:20 (UTC) |
Also, why there's pkgver section if this is not a -git package?
@begin-theadventu because it download a git commit so the version is effective, it is common in Arch packages too
prepare+isolate cargo from home
prepare() {
cd $pkgname
export CARGO_HOME="$srcdir/CARGO_HOME"
export RUSTUP_TOOLCHAIN=stable
cargo fetch --target "$CARCH-unknown-linux-gnu"
}
build() {
export CARGO_HOME="$srcdir/CARGO_HOME"
Also, why there's pkgver
section if this is not a -git
package?
btw I forgot to comment before but my previous build issues was due to the
lto
option which is enabled by default in devtools and I had enabled it too for makepkg, this has been solved for all with the last pkgbuild update
@FabioLolix: done
I'm positively surprised: for me it worked. I used the ~/.cache/yay/shortwave/ folder (I use yay as package installer), and the makepkg -sfi went through smoothly. Now shortwave works again. Thanks @FabioLolix.
@DrMartinus for rebuild go where the there is the pkgbuild and run makepkg -sfi, but for me didn't build today
@igor-dyatlov git is needed as makedepends to build in chroot
Shortwave-3.1.0/meson.build:34:0: ERROR: Program or command 'git' not found or not executable
and for me fails to build both in chroot and with makepkg, same error
Compiling shortwave v0.0.0 (/home/fabio/Dev/pkg_make/TOBUILD/shortwave/src/Shortwave-3.1.0)
error: linking with `cc` failed: exit status: 1
@FabioLolix and how do I do that? I reinstalled it, which didn't change anything. Shortwave worked well until the last system upgrade.
@DrMartinus you need to rebuild the package which has been likely build against openssl 1.1
After the last update yesterday I get this error message:
shortwave: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
openssl 3.0.7-2 as well as lib32-openssl 3.0.7-1 is installed on my machine. Both offer libssl.so
Could you add git
to the make dependencies? Thanks!
Pinned Comments
<deleted-account> commented on 2019-11-13 21:25 (UTC)
Attention:
Because until now shortwave was nothing more than the moved version from github to gitlab from gradio, the numbering of its versions has been restarted. Therefore it is necessary to force the installation of this latest version or it will not be detected as an update.