Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package Request: Sayonara-Player #27881

Open
Boebbele opened this issue Jan 13, 2021 · 8 comments
Open

Package Request: Sayonara-Player #27881

Boebbele opened this issue Jan 13, 2021 · 8 comments
Labels
request Package request

Comments

@Boebbele
Copy link

Boebbele commented Jan 13, 2021

Sayonara is a small, clear and fast audio player for Linux written in C++, supported by the Qt framework. It uses Gstreamer as audio backend.
Arch-AUR-PKGbuilt:

pkgname=sayonara-player
pkgver=1.6.0
pkgrel=1
pkgdesc="Sayonara is a small, clear and fast audio player for Linux written in C++, supported by the Qt framework. It uses Gstreamer as audio backend."
#in case of trouble use arch=('i686') or arch=('x86_64')
arch=('any')
url="http://sayonara-player.com"
license=('GPL3')
depends=('qt5-base' 'gst-plugins-base' 'gst-plugins-good' 'gst-plugins-bad' 'zlib')
optdepends=('lame: mp3 converter, broadcasting' 'gst-plugins-ugly: mp3 converter, broadcasting')
makedepends=('cmake')
source=(ftp://sayonara-player.com/sayonara-player-1.6.0-beta7.tar.gz)
md5sums=('202776e69ec657cf151bf53243862a3f')

build()  #{
cd "$srcdir/$pkgname"
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE="Release"
make
}

package() {
cd "$srcdir/$pkgname/build"
make DESTDIR="$pkgdir/" install
}

Theo Downloadlink is false. This is the new Link incl. cheksum:

distfiles="https://sayonara-player.com/files/archive/1.6.0-beta7/sayonara-player-1.6.0-beta7.tar.gz"
checksum=aa045dfc833843f6220e0fea19c6221d937884b7b883cde6f159d3a3b828e7fe
@ericonr ericonr added the request Package request label Jan 13, 2021
@HadetTheUndying
Copy link
Contributor

I can work on this but it looks like you've done a bit of the work yourself already. One thing i would do is switch from their FTP source to their gitlab archive source as below.

https://gitlab.com/luciocarreras/sayonara-player/-/archive/1.6.0-beta7/sayonara-player-1.6.0-beta7.tar.gz

@Boebbele
Copy link
Author

I tried. but i am totally new to void linux. It would be great if you could do it!

@Boebbele
Copy link
Author

Boebbele commented Jan 26, 2021

I have play around with my Sayonara-Player template-file

pkgname=sayonara-player
version=1.6.0-beta7
revision=1
short_desc="Sayonara is a small, clear and fast audio player for Linux written in C++, supported by the Qt framework. It uses Gstreamer as audio backend."
build_style=gnu-configure
homepage="http://sayonara-player.com"
license="GPL3"
depends="qt5 qt5-core qt5-gui gst-plugins-base1 gst-plugins-good1 gst-plugins-bad1 gst-plugins-ugly1 zlib lame"
makedepends="cmake"
distfiles="https://gitlab.com/luciocarreras/sayonara-player/-/archive/1.6.0-beta7/sayonara-player-1.6.0-beta7.tar.gz"
checksum=aa045dfc833843f6220e0fea19c6221d937884b7b883cde6f159d3a3b828e7fe

It end with this Errors:
=> ERROR: gcc-9.3.0_9: do_build: 'make ${makejobs}' exited with 2
=> ERROR: in do_build() at srcpkgs/gcc/template:316

Can anyone help me?

@Johnnynator
Copy link
Member

Update your local checkout of void-packages.

@Boebbele
Copy link
Author

Boebbele commented Jan 26, 2021

okay. Now I have new Problems:
=> ERROR: version contains invalid character: -

Template-File:

#Template file for 'sayonara-player'
pkgname=sayonara-player
version=1.6.0-beta7
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config intltool"
makedepends="cmake gtk+3-devel"
depends="qt5 qt5-core qt5-gui gst-plugins-base1 gst-plugins-good1 gst-plugins-bad1 gst-plugins-ugly1 zlib lame"
short_desc="Sayonara is a small, clear and fast audio player for Linux written in C++, supported by the Qt framework. It uses Gstreamer as audio backend."
license="GPL-3.0-or-later"
homepage="http://sayonara-player.com"
distfiles="https://gitlab.com/luciocarreras/sayonara-player/-/archive/1.6.0-beta7/sayonara-player-1.6.0-beta7.tar.gz"
checksum=aa045dfc833843f6220e0fea19c6221d937884b7b883cde6f159d3a3b828e7fe

If I edit "Version:1.6.0-beta7" to "1.6.0" then come Error:
ERROR: sayonara-player-1.6.0_1: cannot access wrksrc directory [/builddir/sayonara-player-1.6.0]
If I edit version to 1.6.0_1 --> => ERROR: version contains invalid character: _

@Boebbele
Copy link
Author

I set "wrksrc="sayonara-player-1.6.0-beta7" and "version=1.6.0beta7" but Error:

/void-packages/common/build-style/gnu-configure.sh: line 7: ./configure: No such file or directory
=> ERROR: sayonara-player-1.6.0beta7_1: do_configure: '${configure_script} ${configure_args}' exited with 127
=> ERROR:   in do_configure() at common/build-style/gnu-configure.sh:7

@cinerea0
Copy link
Contributor

@Boebbele I've managed to create a template that builds sayonara correctly, but I'm getting some runtime errors when I try to actually execute it. How does sayonara work, exactly? Is the main binary supposed to be run as a service while other binaries are supposed to interact with it?

@Boebbele
Copy link
Author

Hello! thanks for working on it. I do not know how it works. to be honest, I don't even understand your question ... I just installed it under Arch from the AUR it needs Jack or libjack as a package ????

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request Package request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants