blob: 99a4fec8d2c103857e6f3dbd9c37929b87df0858 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Contributor: Fixed Torres <aur_linuxero@outlook.com>
pkgname=sayonara-player-git
pkgver=1.8.0.beta1.r38.g3d444b4a
pkgrel=1
pkgdesc="Small, clear and fast audio player for Linux written in C++, supported by the Qt framework. It uses Gstreamer as audio backend."
arch=(x86_64 i686 aarch64)
url="https://sayonara-player.com/"
license=(GPL3)
depends=(qt5-base qt5-svg gst-plugins-base taglib python)
makedepends=(cmake git qt5-tools)
optdepends=('gst-libav: additional codecs'
'gst-plugins-good: additional codecs'
'gst-plugins-bad: additional codecs'
'gst-plugins-ugly: additional codecs')
provides=(sayonara-player)
conflicts=(sayonara-player)
source=("git+https://gitlab.com/luciocarreras/sayonara-player.git")
sha512sums=('SKIP')
pkgver() {
cd "${srcdir}/sayonara-player"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "${srcdir}/sayonara-player"
[[ -d build ]] || mkdir build
}
build() {
cd "${srcdir}/sayonara-player/build"
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Debug \
-DWITH_TESTS=1
make
}
check() {
cd "${srcdir}/sayonara-player/build"
make test || true
}
package() {
cd "${srcdir}/sayonara-player/build"
make DESTDIR="$pkgdir/" install
}
|